joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b37
Capabilities:
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
lea edx, [esp + 0x10]
xorps xmm0, xmm0
xor eax, eax
lea ecx, [esp + 0x28]
mov dword [ecx + 8], eax
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x3c], eax
mov dword [ecx], 0x44
movaps xmmword [edx], xmm0
push edx
push ecx
push eax
push eax
push 0x8000000
push eax
push eax
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401bd9
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], 0
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x401bf7
mov edi, 0x6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401c1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp edi, 3
je 0x401c1e
cmp edi, 2
jne 0x401c30
mov ecx, dword [ebp + 0x14]
jmp 0x401c21
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x401bcc
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0xc]
xor eax, eax
mov dword [esi], edi
jmp 0x401c23
mov ecx, dword [ebp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], edi
jmp 0x401c26
Function at 0x40233d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x210
mov eax, dword [ebp + 8]
xor ebx, ebx
lea esi, [ebp - 0x218]
mov dword [ebp - 0xc], 0
mov word [esi + 0x208], bx
mov word [esi], bx
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
je 0x402393
lea eax, [ebp - 0xc]
push ebx
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x402393
mov bl, byte [ebp - 0xc]
and bl, 8
shr bl, 3
mov eax, ebx
add esp, 0x210
pop esi
pop ebx
pop ebp
ret

Function at 0x4024f9
Capabilities:
Create directory
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 0x6c
push esi
push 0x104
push edi
call fcn.00402c48
add esp, 0xc
test al, al
je 0x402633
push 0x404542
push 0x104
push edi
call fcn.00402c82
add esp, 0xc
test al, al
je 0x402633
mov eax, edi
mov edi, 0x104
push edi
push eax
call fcn.00402c24
add esp, 8
sub edi, eax
mov ecx, eax
xor eax, eax
cmp edi, 0xb
jb 0x402635
lea edx, [ebp - 0x24]
mov dword [ebp - 0x10], ecx
mov dword [edx + 4], eax
mov dword [edx], eax
mov dword [edx - 4], 0xc
push edx
push esi
call fcn.00402439
add esp, 8
test al, al
je 0x402621
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
mov esi, 0xfffffff6
mov dword [eax + 4], 0
mov dword [eax], 0x6d
mov eax, dword [ebp - 0x10]
lea ecx, [ecx + eax*2]
add eax, 5
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov ebx, 4
push ebx
lea edi, [ebp - 0x2c]
push edi
call sub.ADVAPI32.dll_SystemFunction036
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push ebx
push edi
call fcn.00402bc8
add esp, 0x10
cmp dword [ebp - 0x18], 0x103
ja 0x4025ed
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov word [ecx + eax*2 + 0xa], 0
push str..tmp
push 0x104
mov eax, dword [ebp + 0xc]
mov ebx, eax
push eax
call fcn.00402c82
add esp, 0xc
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
test eax, eax
cmovne eax, ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40263d
inc esi
jne 0x4025b8
jmp 0x40265c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov dword [ecx], 0x75
xor eax, eax
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x404464
push 0x104
push dword [ebp + 0xc]
call fcn.00402c82
add esp, 0xc
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40266a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
sete al
jmp 0x402635
Function at 0x402675
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 0x218]
xor eax, eax
mov word [esi + 0x208], ax
mov word [esi], ax
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x4026bd
mov bl, 1
push dword [ebp + 0x10]
push edi
push esi
call fcn.004024f9
add esp, 0xc
test al, al
jne 0x402705
push 0x104
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x402703
push eax
push esi
call fcn.00402e23
add esp, 8
xor ebx, ebx
cmp eax, esi
je 0x402705
mov word [eax], 0
mov eax, dword [ebp + 0x10]
mov dword [eax + 4], ebx
mov dword [eax], ebx
push eax
push edi
push esi
call fcn.004024f9
add esp, 0xc
mov ebx, eax
jmp 0x402705
xor ebx, ebx
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402712
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x254
mov ebx, dword [ebp + 8]
mov esi, 0x104
push esi
push ebx
call fcn.00402c24
add esp, 8
mov edi, eax
push 0x404468
push esi
push ebx
call fcn.00402c82
add esp, 0xc
test al, al
je 0x40282e
mov dword [ebp - 0x10], edi
lea esi, [ebp - 0x260]
push 0x250
push 0
push esi
call fcn.00401020
add esp, 0xc
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x402817
mov ecx, dword [ebp - 0x10]
mov edi, eax
lea esi, [ecx + 1]
cmp word [ebp - 0x2c], 0
mov ecx, 0x234
mov eax, 0x2c
lea edx, [ebp - 0x234]
cmove ecx, eax
lea eax, [ebp - 0x2c]
cmove eax, edx
cmp word [ebp + ecx - 0x260], 0x2e
jne 0x4027ba
movzx ecx, word [eax + 2]
test cx, cx
je 0x4027fa
cmp cx, 0x2e
jne 0x4027ba
cmp word [eax + 4], 0
je 0x4027fa
cmp esi, 0x103
ja 0x4027cc
mov ecx, dword [ebp - 0x10]
mov word [ebx + ecx*2 + 2], 0
push eax
push 0x104
push ebx
call fcn.00402c82
add esp, 0xc
test al, al
je 0x4027fa
test byte [ebp - 0x260], 0x10
jne 0x4027f1
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4027fa
push ebx
call fcn.00402712
add esp, 4
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40277b
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x10]
cmp eax, 0x103
ja 0x402827
mov word [ebx + eax*2], 0
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esp, 0x254
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402839
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x668
lea esi, [ebp - 0x674]
xor eax, eax
mov word [esi + 0x208], ax
mov word [esi], ax
push dword [ebp + 8]
push 0x104
push esi
call fcn.00402c48
add esp, 0xc
test al, al
je 0x402993
push dword [ebp + 0xc]
push 0x104
push esi
call fcn.00402c82
add esp, 0xc
test al, al
je 0x402993
push 0x404472
push 0x104
push esi
call fcn.00402c82
add esp, 0xc
test al, al
je 0x402993
xor edi, edi
lea ebx, [ebp - 0x25c]
push 0x250
push edi
push ebx
call fcn.00401020
add esp, 0xc
push edi
push edi
push 1
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
cmp eax, 0xffffffff
je 0x402993
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
xor eax, eax
lea ecx, [ebp - 0x468]
mov word [ecx + 0x208], ax
mov word [ecx], ax
test byte [ebp - 0x25c], 0x10
je 0x40297a
cmp word [ebp - 0x28], 0
mov eax, 0x234
mov ecx, 0x2c
lea ebx, [ebp - 0x28]
lea edx, [ebp - 0x230]
cmove eax, ecx
cmove ebx, edx
cmp word [ebp + eax - 0x25c], 0x2e
jne 0x402937
movzx eax, word [ebx + 2]
test ax, ax
je 0x40297a
cmp ax, 0x2e
jne 0x402937
cmp word [ebx + 4], 0
je 0x40297a
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x468]
push eax
call fcn.00402c48
add esp, 0xc
test al, al
je 0x40297a
push ebx
push 0x104
lea eax, [ebp - 0x468]
push eax
call fcn.00402c82
add esp, 0xc
test al, al
je 0x40297a
lea eax, [ebp - 0x468]
push eax
call fcn.00402712
add esp, 4
lea eax, [ebp - 0x25c]
push eax
push esi
call edi
test eax, eax
jne 0x4028eb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
add esp, 0x668
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40299e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x20c
lea esi, [ebp - 0x214]
xor eax, eax
mov word [esi + 0x208], ax
mov word [esi], ax
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x4029e8
mov edi, 0xfffffff8
push dword [edi + 0x404484]
push esi
call fcn.00402839
add esp, 8
add edi, 4
jne 0x4029d4
add esp, 0x20c
pop esi
pop edi
pop ebp
ret
Function at 0x4029f2
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x660
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
call fcn.0040299e
lea edi, [esp + 0x1c]
xor eax, eax
mov ecx, edi
mov dword [esp], eax
mov dword [esp + 4], eax
call fcn.00401040
mov ecx, edi
push ebx
call fcn.00401092
test al, al
je 0x402a45
cmp byte [esp + 0x32], 0
je 0x402a59
mov dword [esi], 0x76
mov dword [esi + 4], 0
jmp 0x402bb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], 0x65
mov dword [esi + 4], eax
jmp 0x402bb3
cmp dword [esp + 0x2c], 1
jne 0x402a71
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov dword [esi + 4], eax
jmp 0x402ba6
xor eax, eax
lea ecx, [esp + 0x450]
mov word [ecx + 0x208], ax
mov word [ecx], ax
mov eax, esp
push eax
push ecx
push ebx
call fcn.00402675
add esp, 0xc
test al, al
je 0x402baa
push edi
call fcn.00401914
add esp, 4
lea edx, [esp + 0x38]
xor eax, eax
lea ecx, [esp + 0x244]
mov word [ecx + 0x208], ax
mov word [edx + 0x208], ax
mov word [ecx], ax
mov word [edx], ax
push edx
push ecx
lea eax, [esp + 0x458]
push eax
push ebx
push edi
lea ebx, [esp + 0x1c]
push ebx
call fcn.00401db4
add esp, 0x18
mov eax, ebx
mov ebx, dword [ebx]
mov eax, dword [eax + 4]
mov dword [esp], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
dec ecx
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
test ebx, ebx
jne 0x402b32
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x248]
push eax
push edi
lea eax, [esp + 0x14]
push eax
call fcn.00402139
add esp, 0x10
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 8], 0
push 2
lea eax, [esp + 0xc]
push eax
push 0x404568
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push 0x80000001
call fcn.004030ba
add esp, 0x14
test al, al
je 0x402b68
cmp word [esp + 8], 0x30
je 0x402b8d
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x244]
push eax
call ebx
lea eax, [esp + 0x38]
push eax
call ebx
lea eax, [esp + 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, dword [esp + 0x14]
push ebx
push dword [esp + 0x1c]
push edi
call fcn.00401884
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esi + 4], ebx
mov dword [esi], eax
jmp 0x402bb3
movsd xmm0, qword [esp]
movsd qword [esi], xmm0
lea ecx, [esp + 0x1c]
call fcn.0040105e
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402eb6
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, ecx
push dword [ecx]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402f37
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ebx, ebx
test eax, eax
je 0x402f39
mov esi, eax
push dword [edi]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x402f39
mov edi, eax
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
push eax
push ecx
push dword [ebp - 0x10]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne byte [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne bl
and bl, byte [ebp - 0x10]
jmp 0x402f39
xor ebx, ebx
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x402fa2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ebx, [ebp - 0x10]
xor eax, eax
add edx, edx
mov dword [ebx], edx
lea edx, [ebp - 0x14]
mov dword [edx], eax
push ebx
push edi
push edx
push eax
push esi
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40300b
cmp dword [ebp - 0x14], 1
mov eax, 0x32
jne 0x40300b
mov ecx, dword [ebp - 0x10]
cmp ecx, 1
ja 0x402fed
mov word [edi], 0
jmp 0x403009
shr ecx, 1
xor eax, eax
cmp word [edi + ecx*2 - 2], 0
je 0x40300b
cmp ecx, dword [ebp + 0x10]
mov eax, 0xea
jae 0x40300b
mov word [edi + ecx*2], 0
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x403016
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea edi, [ebp - 0x10]
xor edx, edx
lea esi, [ebp - 0x14]
mov dword [esi], edx
mov dword [edi], 4
push edi
push ebx
push esi
push edx
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40305f
cmp dword [ebp - 0x14], 4
mov eax, 0x32
jne 0x40305f
xor ecx, ecx
cmp dword [ebp - 0x10], 4
mov eax, 0xe8
cmove eax, ecx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1000d680
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10032d68]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000d6e8
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xc]
mov dword [esp], ecx
mov dword [esp + 4], 0x10000
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp eax, 0
jne 0x1000d6d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1000d6ef
jmp 0x1000d6da
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
jmp 0x1000d68e
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x1c
pop ebp
ret

Function at 0x1000d700
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x34
mov eax, dword [0x10032d54]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, ecx
je 0x1000d72e
mov dword [ebp - 8], 0x10dd
jmp 0x1000d850
mov eax, dword [0x10032d58]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1000d7d5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
movzx edx, byte [eax + 0x36]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x10]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
jne 0x1000d7a8
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x10], 0
je 0x1000d7a3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call fcn.1000d860
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], 0
jmp 0x1000d7a8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp eax, 0
je 0x1000d7ca
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.100177e6
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x1000d736
mov dword [0x10032d58], 0
call fcn.1000d8b0
mov eax, dword [0x10032d5c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000d835
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
sub esp, 4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
cmp eax, 0
je 0x1000d82a
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call fcn.100177e6
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x1000d7ec
mov dword [0x10032d5c], 0
mov dword [0x10032d54], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add esp, 0x34
pop esi
pop ebp
ret
Function at 0x1000e540
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 8]
lea eax, [ebp - 0xc]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.1000d370
mov dword [ebp - 0x10], 0
cmp dword [0x10032d6c], 0
jne 0x1000e58d
cmp dword [0x10032d68], 0
je 0x1000e58d
mov eax, dword [0x10032d68]
mov dword [0x10032d6c], eax
cmp dword [0x10032d6c], 0
je 0x1000e633
mov eax, dword [0x10032d6c]
cmp dword [eax + 8], 0
je 0x1000e633
mov eax, dword [0x10032d6c]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 8]
jb 0x1000e633
mov eax, dword [0x10032d6c]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1000e633
jmp 0x1000e5d0
mov eax, dword [0x10032d6c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jb 0x1000e5f3
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jbe 0x1000e5ff
mov dword [ebp - 4], 0
jmp 0x1000e779
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x40]
mov eax, dword [0x10032d6c]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0xcc
mov dword [esp + 8], 0x48
call fcn.1001ab10
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1000e779
mov eax, dword [0x10032d68]
mov dword [0x10032d6c], eax
cmp dword [0x10032d6c], 0
je 0x1000e6a4
cmp dword [0x10032d6c], 0
je 0x1000e68d
mov eax, dword [0x10032d6c]
cmp dword [eax + 8], 0
je 0x1000e68d
mov eax, dword [0x10032d6c]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 8]
jb 0x1000e68d
mov eax, dword [0x10032d6c]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1000e68d
jmp 0x1000e5d0
jmp 0x1000e692
mov eax, dword [0x10032d6c]
mov eax, dword [eax + 4]
mov dword [0x10032d6c], eax
jmp 0x1000e63d
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and edx, 0xffff
xor ecx, ecx
sub ecx, edx
add eax, ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.1000d410
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000e772
mov eax, dword [ebp - 0x14]
mov dword [0x10032d6c], eax
mov eax, dword [0x10032d6c]
mov dword [eax], 0x52727464
mov eax, dword [0x10032d6c]
mov dword [eax + 8], 0
mov ecx, dword [0x10032d68]
mov eax, dword [0x10032d6c]
mov dword [eax + 4], ecx
mov eax, dword [0x10032d6c]
mov dword [0x10032d68], eax
mov dword [ebp - 0x18], 0
mov eax, dword [0x10032d6c]
add eax, 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0x38c
cmp dword [ebp - 0x1c], 1
jle 0x1000e762
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
imul edx, dword [ebp - 0x1c], 0x48
add eax, edx
mov dword [eax + 0x40], ecx
mov eax, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x1c], 0x48
add eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
add eax, 0xffffffff
mov dword [ebp - 0x1c], eax
jmp 0x1000e72f
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x10032d6c]
mov dword [eax + 8], ecx
jmp 0x1000e5d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x28
pop ebp
ret
Function at 0x1000ee70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add eax, 0xffff0000
mov dword [esp], eax
call fcn.1000f0e0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jbe 0x1000ef93
mov eax, dword [ebp - 8]
cmp eax, dword [0x10032100]
jb 0x1000eec9
mov eax, dword [ebp - 8]
cmp eax, dword [0x10032104]
ja 0x1000eec9
mov eax, dword [ebp - 8]
add eax, 0xf8000000
mov dword [ebp - 8], eax
jmp 0x1000ee8f
lea eax, [ebp - 0x24]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1c
call fcn.1001ab10
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
cmp eax, 0
jne 0x1000ef12
jmp 0x1000ef93
cmp dword [ebp - 0x14], 0x10000
jne 0x1000ef7b
cmp dword [ebp - 0x18], 0x10000
jb 0x1000ef7b
mov eax, dword [ebp - 8]
mov dword [esp], eax
mov dword [esp + 4], 0x10000
mov dword [esp + 8], 0x3000
mov dword [esp + 0xc], 0x40
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
sub esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1000ef6b
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
jmp 0x1000ef9a
mov eax, dword [ebp - 8]
add eax, 0xffff0000
mov dword [ebp - 8], eax
jmp 0x1000ef8e
mov eax, dword [ebp - 0x20]
add eax, 0xffff0000
mov dword [esp], eax
call fcn.1000f0e0
mov dword [ebp - 8], eax
jmp 0x1000ee8f
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x38
pop ebp
ret