joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a1a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, eax
xor edx, edx
push ebp
push 0x44a2a6
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x44a268
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov esi, 1
mov ebx, 0x478c90
cmp dword [ebx], 0
jne 0x44a20a
mov edx, dword [0x441c64]
mov eax, 0xc
call fcn.0040657c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebx], eax
mov dword [ebp - 0xc], esi
jmp 0x44a213
inc esi
add ebx, 4
cmp esi, 0xb
jne 0x44a1e8
cmp dword [ebp - 0xc], 0
jne 0x44a22b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404f34
jmp 0x44a2ad
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x478c8c]
mov dword [eax], edi
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0xc]
push eax
push 0x44a0a4
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x478c8c]
mov eax, dword [eax + 4]
test eax, eax
je 0x44a25e
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44a272
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a2ad
cmp dword [ebp - 8], 0
je 0x44a293
mov edx, dword [0x441c64]
mov eax, dword [ebp - 8]
call fcn.00406590
cmp dword [ebp - 0xc], 0
je 0x44a2a5
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax*4 + 0x478c8c], edx
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a2b8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, eax
xor edx, edx
push ebp
push 0x44a3c2
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x44a384
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov esi, 1
mov ebx, 0x478c90
cmp dword [ebx], 0
jne 0x44a31a
mov edx, dword [0x441c64]
mov eax, 0xc
call fcn.0040657c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebx], eax
mov dword [ebp - 0xc], esi
jmp 0x44a323
inc esi
add ebx, 4
cmp esi, 0xb
jne 0x44a2f8
cmp dword [ebp - 0xc], 0
jne 0x44a33b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404f34
jmp 0x44a3c9
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x478c8c]
mov dword [eax], edi
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0xc]
push eax
push 0x44a12c
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x478c8c]
mov eax, dword [eax + 4]
test eax, eax
je 0x44a370
mov dword [ebp - 4], eax
jmp 0x44a37a
mov eax, edi
call fcn.0044a1a8
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44a38e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a3c9
cmp dword [ebp - 8], 0
je 0x44a3af
mov edx, dword [0x441c64]
mov eax, dword [ebp - 8]
call fcn.00406590
cmp dword [ebp - 0xc], 0
je 0x44a3c1
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax*4 + 0x478c8c], edx
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a500
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44a5b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
push eax
push 0
push 0x401
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x44a576
xor edx, edx
push ebp
push 0x44a56f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_TerminateProcess
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a59c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov byte [ebp - 1], 0
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00409090
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x44a5d0
call fcn.00405848
mov eax, dword [ebp - 0xc]
call fcn.0043fdf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a5be
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405538
ret
Function at 0x44c958
Capabilities:
Impersonate user

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059b0
mov eax, dword [ebp - 8]
call fcn.004059b0
mov eax, dword [ebp - 0xc]
call fcn.004059b0
xor eax, eax
push ebp
push 0x44ca3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
push 0
push 2
mov eax, dword [ebp - 0xc]
call fcn.004059c0
push eax
mov eax, dword [ebp - 8]
call fcn.004059c0
push eax
mov eax, dword [ebp - 4]
call fcn.004059c0
push eax
call sub.advapi32.dll_LogonUserA
test eax, eax
jne 0x44ca00
xor ebx, ebx
push 0x44ca58
push dword [ebp - 4]
push 0x44ca74
push 0x44ca88
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x14]
call fcn.0040ce4c
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.004058c4
mov eax, dword [ebp - 0x10]
call fcn.0043f95c
jmp 0x44ca24
mov bl, 1
push 0x44ca58
push dword [ebp - 4]
push 0x44ca94
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004058c4
mov eax, dword [ebp - 0x18]
call fcn.0043f95c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ca46
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00405538
ret
Function at 0x44eeb4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe74
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x188], edx
mov dword [ebp - 0x184], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059b0
lea eax, [ebp - 0x170]
mov edx, dword [0x407de8]
call fcn.00406034
xor eax, eax
push ebp
push 0x44f138
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x44f158
call fcn.0043fdf4
mov byte [ebp - 0x171], 0
xor eax, eax
mov dword [ebp - 0x180], eax
xor eax, eax
push ebp
push 0x44f0f2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x184]
call fcn.0041cfe0
mov edx, dword [ebp - 0x184]
lea eax, [ebp - 0x10]
mov ecx, 0x44f178
call fcn.00405848
mov eax, dword [ebp - 0x10]
call fcn.0040968c
test al, al
je 0x44ef66
mov eax, dword [ebp - 0x10]
call fcn.004059c0
push eax
call sub.kernel32.dll_DeleteFileA_1
lea eax, [ebp - 8]
mov edx, 0x44f188
call fcn.004055ac
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 4]
call fcn.00409924
mov edx, dword [ebp - 0x188]
lea eax, [ebp - 4]
call fcn.004055ac
push 0x44f198
push dword [ebp - 0x10]
push 0x44f1ac
push dword [ebp - 4]
push 0x44f1cc
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.004058c4
push 1
push 0
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x180]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0044d414
mov ebx, eax
cmp dword [ebp - 0x17c], 0xffffffff
je 0x44efee
mov eax, dword [ebp - 0x17c]
push eax
call sub.kernel32.dll_CloseHandle_1
test bl, bl
jne 0x44f023
lea eax, [ebp - 0x18c]
mov ecx, dword [ebp - 4]
mov edx, 0x44f1ec
call fcn.00405848
mov eax, dword [ebp - 0x18c]
call fcn.0043fdf4
mov eax, dword [ebp - 4]
call fcn.0044a5f8
mov byte [ebp - 0x171], al
jmp 0x44f0e8
xor ebx, ebx
jmp 0x44f03f
inc ebx
mov edx, 0x44f214
mov eax, 1
call fcn.0044caa0
cmp ebx, 0x5dc
jg 0x44f04b
mov eax, dword [ebp - 0x10]
call fcn.0040968c
test al, al
je 0x44f027
mov eax, dword [ebp - 0x10]
call fcn.0040968c
test al, al
je 0x44f0ce
xor eax, eax
push ebp
push 0x44f0c7
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x170]
mov edx, 0x3f
mov eax, dword [ebp - 0x10]
call fcn.00409758
test eax, eax
jne 0x44f0ae
cmp dword [ebp - 0x164], 0
jne 0x44f090
cmp dword [ebp - 0x168], 0xc
jbe 0x44f099
jmp 0x44f092
jle 0x44f099
mov byte [ebp - 0x171], 1
cmp byte [ebp - 0x171], 0
je 0x44f0ae
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0044e518
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f0ce
lea eax, [ebp - 0x170]
call fcn.004097cc
ret
mov eax, dword [ebp - 0x10]
call fcn.0040968c
test al, al
je 0x44f0e8
mov eax, dword [ebp - 0x10]
call fcn.004059c0
push eax
call sub.kernel32.dll_DeleteFileA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f0fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f13f
lea eax, [ebp - 0x18c]
mov edx, 3
call fcn.00405538
lea eax, [ebp - 0x170]
mov edx, dword [0x407de8]
call fcn.00406104
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405538
ret
Function at 0x10011890
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1017d8e0
push fcn.100ecb10
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101900e0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
push 0x1c
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x34]
cmp word [ecx], ax
jne 0x10011933
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x10011933
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x10011933
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x10011933
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1001193c
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret
Function at 0x10012010
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101900e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
lea ecx, [esi - 0x10000]
movzx eax, cx
mov edi, ecx
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
jbe 0x100120dc
cmp edi, dword [0x10190b60]
jb 0x10012059
cmp edi, dword [0x10190b64]
ja 0x10012059
sub edi, 0x8000000
jmp 0x100120d4
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100120dc
cmp dword [ebp - 0x10], 0x10000
jne 0x100120bf
cmp dword [ebp - 0x14], 0x10000
jb 0x100120bf
push 0x40
push 0x3000
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10012197
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x100120dc
sub edi, 0x10000
jmp 0x100120d4
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffff0000
mov edi, ecx
movzx eax, di
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
ja 0x10012041
movzx eax, si
test eax, eax
je 0x100120eb
sub esi, eax
add esi, 0x10000
mov edi, dword [ebp + 8]
cmp esi, edi
jae 0x10012195
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [eax]
cmp esi, dword [0x10190b60]
jb 0x10012118
cmp esi, dword [0x10190b64]
ja 0x10012118
add esi, 0x8000000
jmp 0x1001218d
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call ebx
test eax, eax
je 0x10012195
cmp dword [ebp - 0x10], 0x10000
mov ecx, dword [ebp - 0x14]
jne 0x10012178
cmp ecx, 0x10000
jb 0x10012178
push 0x40
push 0x3000
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10012197
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x10012195
add esi, 0x10000
jmp 0x1001218d
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x1001218d
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x10012100
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret
Function at 0x100124c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101900e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10197518], 0
jne 0x10012549
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edx, 0x10197518
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x10012549
push esi
mov esi, dword [0x10197524]
mov dword [0x10197534], eax
mov dword [0x1019752c], eax
mov dword [0x10197520], eax
push edi
test esi, esi
je 0x1001252a
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
push esi
call edi
test eax, eax
je 0x10012541
mov esi, dword [esi + 4]
test esi, esi
jne 0x10012511
xor eax, eax
pop edi
mov dword [0x10197514], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1001252c
mov ecx, dword [ebp - 4]
mov eax, 0x10dd
xor ecx, ebp
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret

Function at 0x10012560
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101900e0]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10197518], eax
je 0x10012591
mov eax, 0x10dd
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
mov edi, dword [0x10197534]
test edi, edi
je 0x10012603
lea eax, [ebp - 8]
push eax
mov eax, dword [edi + 0x10]
push dword [edi + 0x14]
movzx eax, byte [eax + 0x36]
push eax
push dword [edi + 0xc]
call ebx
cmp dword [edi + 4], 0
jne 0x100125f0
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x100125ea
push 0x48
push 0
mov esi, ebx
push ebx
and esi, 0xffff0000
call fcn.100e93c0
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [ebx + 0x40], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [edi]
push 0x18
push edi
call fcn.100e6822
add esp, 8
mov edi, esi
test esi, esi
jne 0x100125a4
mov dword [0x10197534], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [0x10197524]
mov dword [ebp - 8], eax
test esi, esi
je 0x10012646
mov edi, dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0xc]
push eax
push 0x20
push 0x10000
push esi
call ebx
push 0x10000
push esi
push dword [ebp - 8]
call edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x10012626
mov edi, dword [0x1019752c]
test edi, edi
je 0x1001266e
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [edi + 4]
call ebx
mov esi, dword [edi]
push 8
push edi
call fcn.100e6822
add esp, 8
mov edi, esi
test esi, esi
jne 0x10012656
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
mov dword [0x1019752c], 0
mov dword [0x10197518], 0
pop ebx
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret
Function at 0x10012b80
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10197514]
test eax, eax
jne 0x10012bf9
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, dword [ebp + 8]
cmp esi, eax
jne 0x10012ba1
xor eax, eax
pop esi
pop ebp
ret 4
push edi
push 8
call fcn.100e67ed
add esp, 4
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10012be5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 8
push edi
call fcn.100e6822
add esp, 8
mov dword [0x10197514], esi
mov eax, esi
mov dword [0x10197520], 0
pop edi
pop esi
pop ebp
ret 4
mov eax, dword [0x1019752c]
mov dword [edi + 4], esi
mov dword [edi], eax
xor eax, eax
mov dword [0x1019752c], edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x100130e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101900e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10197518], eax
je 0x1001311d
pop edi
mov eax, 0x10dd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x10197514]
test eax, eax
jne 0x10013236
test ebx, ebx
jne 0x10013143
pop edi
lea eax, [ebx + 0x57]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret 8
test edi, edi
je 0x1001315c
cmp dword [edi], 0
jne 0x10013173
mov dword [0x10197514], 6
mov dword [0x10197520], edi
pop edi
mov eax, 6
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret 8
push esi
push 0x18
call fcn.100e67ed
mov ecx, dword [edi]
add esp, 4
mov esi, eax
call fcn.10012410
mov ecx, ebx
mov dword [ebp - 0xc], eax
call fcn.10012410
mov ebx, dword [ebp - 0xc]
mov edx, eax
movzx ecx, byte [ebx + 0x36]
mov eax, dword [ebx + 0x40]
sub eax, ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x1001320e
cmp ecx, 0x1e
ja 0x1001320e
cmp dword [ebx + 0x44], edx
jne 0x1001320e
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
push 0x40
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100131d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1001321c
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], ebx
mov dword [esi + 4], 1
mov eax, dword [ebp - 8]
mov dword [esi + 0x14], eax
mov eax, dword [0x10197534]
mov dword [esi], eax
xor eax, eax
mov dword [0x10197534], esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret 8
cmp dword [0x10197530], 0
mov ebx, 9
jne 0x10013222
mov dword [0x10197514], ebx
push 0x18
push esi
call fcn.100e6822
add esp, 8
mov dword [0x10197520], edi
mov eax, ebx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret 8

Function at 0x10013300
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101900e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x24], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov dword [ebp - 8], 0
push 0x1c
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push esi
push edi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
jne 0x1001335d
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 0x24]
test byte [ebp - 0xc], 0xf0
mov ecx, 0x40
mov eax, 4
cmovne eax, ecx
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret 8
Function at 0x10014630
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1017d900
push fcn.100ecb10
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101900e0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
lea esi, [ecx + 0x10000]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov edi, 0x5a4d
push 0x1c
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100146b1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x28], 0x1000
jne 0x1001472f
cmp byte [ebp - 0x24], 1
je 0x1001472f
test dword [ebp - 0x24], 0x100
jne 0x1001472f
mov dword [ebp - 4], 0
cmp word [esi], di
jne 0x100146eb
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebp - 0x2c]
ja 0x100146eb
cmp eax, 0x40
jb 0x100146eb
cmp dword [eax + esi], 0x4550
je 0x100146fa
mov dword [ebp - 4], 0xfffffffe
mov esi, dword [ebp - 0x2c]
add esi, dword [ebp - 0x38]
jmp 0x10014684
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x10014695
mov esi, dword [ebp - 0x2c]
add esi, dword [ebp - 0x38]
jmp 0x10014684
Function at 0x10014c80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1017d9a0
push fcn.100ecb10
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x101900e0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov dword [ebp - 0x1c], edi
mov edx, ecx
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x10014ccd
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [edx], ax
je 0x10014ce8
push 0xc1
jmp 0x10014e58
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx], 0x4550
je 0x10014cfe
push 0xbf
jmp 0x10014e58
cmp word [eax + edx + 0x14], 0
je 0x10014e53
mov eax, dword [eax + edx + 0x80]
test eax, eax
je 0x10014d1a
lea ebx, [eax + edx]
jmp 0x10014d1c
xor ebx, ebx
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x10014e53
nop word [eax + eax]
mov ecx, dword [ebx]
test ecx, ecx
je 0x10014e07
mov esi, dword [ebx + 0xc]
lea eax, [edx + esi]
neg esi
sbb esi, esi
and esi, eax
je 0x10014e53
lea eax, [edx + ecx]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebx + 0x10]
lea eax, [edx + ecx]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ecx]
call fcn.10014990
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10014d7c
push esi
push eax
push edi
call ecx
test eax, eax
je 0x10014e07
xor esi, esi
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10014df9
add edi, 4
nop dword [eax + eax]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x10014de7
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
xor edx, edx
test eax, eax
jns 0x10014daa
movzx ecx, ax
mov dword [ebp - 0x2c], ecx
jmp 0x10014db8
add eax, 2
je 0x10014db6
mov edx, dword [ebp - 0x20]
add edx, eax
jmp 0x10014db8
xor edx, edx
mov eax, dword [ebp - 0x30]
lea eax, [eax + esi*4]
test eax, eax
je 0x10014dc6
mov eax, dword [eax]
jmp 0x10014dc8
xor eax, eax
mov edi, dword [ebp - 0x1c]
add edi, 4
push eax
push edx
push ecx
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov eax, dword [edi]
call eax
test eax, eax
je 0x10014de7
inc esi
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x24]
jmp 0x10014d90
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov eax, dword [edi]
call eax
mov edi, dword [ebp - 0x1c]
add ebx, 0x14
mov dword [ebp - 0x28], ebx
mov edx, dword [ebp - 0x20]
jmp 0x10014d30
mov eax, dword [ebp + 8]
test eax, eax
je 0x10014e15
push 0
push 0
push edi
call eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8