joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4caa60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4caa8b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4caaaf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4caaca
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x4cb2f0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x534ce0]
jne 0x4cb301
test ecx, 0xffff0000
jne 0x4cb301
ret
jmp fcn.004cb306
Function at 0x4ce9df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004e3d21
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [0x534d78]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4cea10
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004cea23
pop edi
pop esi
pop ebx
ret 8

Function at 0x4d1b56
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d1b98
call fcn.004e3d21
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [0x534d78]
cmp eax, edi
je 0x4d1b98
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d1b8f
xor eax, eax
jmp 0x4d1ba0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d1ba6
pop edi
pop esi
pop ebx
ret 4

Function at 0x4e4a51
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.004e3d21
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [0x534d78]
test eax, eax
je 0x4e4a8e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4e4a8e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4e4a92
xor eax, eax
jmp 0x4e4b10
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.004d2c41
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x4e4aca
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x4e4ab4
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004e4c01
push ebx
mov edi, eax
call fcn.004d2c6a
test edi, edi
pop ecx
je 0x4e4b0c
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.004e49ca
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004e4b15
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x4e59cd
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4e59fb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e5a19
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e5933
jmp 0x4e5a19
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e5a19
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e5933
test edi, edi
mov eax, edi
jne 0x4e5a03
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4e5eb2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x4e5f65
mov ecx, 0x59cff0
call fcn.004e5aba
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x4e5f43
push str.COMCTL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x4e5f1e
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [0x534d78]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4e5f1e
push ebx
push edi
push eax
call fcn.004d2fcf
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [0x534e3c]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.004ce403
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc

Function at 0x4e7c41
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x4e7c69
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x4e7c7a
push 2
call edi
test ax, ax
jge 0x4e7c7a
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004cf62e
cmp dword [esi + 0x30], ebx
jne 0x4e7d54
mov edi, dword [0x534f04]
mov ebx, pe_nt_image_headers32
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004cf62e
cmp eax, dword [esp + 0x34]
jne 0x4e7d54
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x4e7cf0
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4e7d35
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4e7d54
cmp eax, 0x205
je 0x4e7d54
cmp eax, 0x201
je 0x4e7d54
cmp eax, 0x204
je 0x4e7d54
cmp eax, ebx
jne 0x4e7d1b
cmp dword [esp + 0x1c], 0x1b
je 0x4e7d54
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x59caa4]
jbe 0x4e7d4a
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x4e7cad
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
nop
push 1
nop
pop eax
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
sub ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
push esi
pop edi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
push edi
pop ecx
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x414de2
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [edx], ecx
add edx, 4
sub esi, 0xa1045f51
mov esi, 0xc7c7a4c7
cmp edx, eax
jne fcn.00414de2
ret
Function at 0x100361b7
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.10338e70
mov eax, dword [0x104cc790]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
je 0x1003631a
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [esi + 4]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 5]
shl edx, 0x18
or ebx, edx
movzx edx, byte [esi + 6]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 7]
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
add esi, 8
mov byte [edi], dl
mov byte [ebp], al
call fcn.10014340
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.100143c0
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.10012a40
push ebp
call fcn.10014340
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.100143c0
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.10012a40
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ebx
shr edx, 0x10
mov byte [eax + 2], dl
mov edx, dword [esp + 0x44]
shr ebx, 0x18
mov byte [eax + 3], bl
mov ebx, edx
add esp, 0x30
mov byte [eax + 4], dl
shr ebx, 8
mov byte [eax + 5], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax + 6], bl
mov byte [eax + 7], dl
mov eax, ebp
mov byte [eax], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 2], dl
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr edx, 8
mov byte [eax + 4], cl
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 0x18
dec dword [esp + 0x18]
mov byte [eax + 6], dl
mov byte [eax + 7], cl
jne 0x100361d3
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.1032ef46
add esp, 0xa0
ret
Function at 0x10056550
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x10056569
mov esi, edi
mov edi, eax
jmp 0x1005656b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x1005657b
mov eax, ebx
jmp 0x10056585
push eax
push ebx
call fcn.100073e0
add esp, 8
test eax, eax
jne 0x1005658d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x100565a9
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x10056594
cmp eax, dword [esi + 4]
jge 0x100565c0
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x100565b0
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x100565e1
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x100565de
dec eax
test eax, eax
jg 0x100565d0
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x1008d202
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x1008d212
mov edx, dword [eax]
jmp 0x1008d214
mov edx, eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
lea ecx, [edx + ecx*2]
jb 0x1008d222
mov eax, dword [eax]
push ebx
push esi
mov esi, ecx
xor edx, edx
sub esi, eax
push edi
xor edi, edi
inc esi
shr esi, 1
mov ebx, edi
cmp eax, ecx
cmova esi, edx
test esi, esi
je 0x1008d25c
mov edx, edi
mov ecx, edi
shr ecx, 2
shl edx, 6
add edx, ecx
movzx ecx, word [eax]
add ecx, 0x9e3779b9
lea eax, [eax + 2]
add ecx, edx
xor edi, ecx
inc ebx
cmp ebx, esi
jne 0x1008d23b
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x100933b8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1035673e
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x104cc790]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x104cc790]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x28], ebx
mov eax, dword [ebp + 0x10]
lea ecx, [ebx + 0xc]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov byte [esp + 0x24], 0
call dword [eax]
mov byte [esp + 0x24], 1
and dword [esp + 0x60], 0
add ebx, 0x28
mov esi, dword [ebx]
mov eax, dword [esi]
mov dword [esp + 0x14], eax
jmp 0x1009343b
mov ecx, dword [ebp + 8]
cmp dword [eax + 0x14], ecx
je 0x10093486
lea ecx, [esp + 0x14]
call fcn.1008716c
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x10093426
mov eax, dword [ebp + 8]
mov ecx, edi
mov edx, dword [esp + 0x18]
mov dword [edi], eax
call fcn.101dddfd
test eax, eax
jne 0x100934bd
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x103f032a
push eax
lea ecx, [esp + 0x30]
call fcn.1007f2d3
mov byte [esp + 0x60], 2
mov dword [esp + 0x2c], 0x103f1b5c
mov byte [esp + 0x60], 0
lea eax, [esp + 0x2c]
push 0x104c9438
jmp 0x100934b7
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x103f032a
push eax
lea ecx, [esp + 0x30]
call fcn.1007f2d3
mov byte [esp + 0x60], 1
mov dword [esp + 0x2c], 0x103f1b5c
mov byte [esp + 0x60], 0
lea eax, [esp + 0x2c]
push 0x104c9438
push eax
call fcn.10332deb
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.10094c99
mov esi, dword [esp + 0x14]
cmp esi, dword [ebx]
je 0x100934e1
mov eax, dword [edi]
cmp eax, dword [esi + 0x10]
jae 0x10093509
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edi
push eax
push ecx
mov ecx, ebx
call fcn.10095145
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [esp + 0x20]
push eax
call fcn.100951ab
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x18], eax
lea eax, [esp + 0x18]
mov esi, dword [esp + 0x28]
push eax
lea ecx, [esi + 0x30]
call fcn.100949a4
mov edx, dword [ebp + 0x14]
mov dword [eax], edx
or dword [esp + 0x60], 0xffffffff
lea ecx, [esi + 0xc]
mov eax, dword [ecx]
mov byte [esp + 0x24], 0
call dword [eax + 8]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1032ef46
mov esp, ebp
pop ebp
ret 0x10
Function at 0x101aeda9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1038b4e6
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x104cc790]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x104cc790]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
sub esp, 0x18
mov edi, str.AORE
mov ecx, esp
mov dword [esp + 0x28], esp
push edi
call fcn.10080c81
xor ebx, ebx
mov dword [esp + 0xc0], ebx
or dword [esp + 0xc0], 0xffffffff
call fcn.101b10a1
add esp, 0x18
test eax, eax
jne 0x101aefec
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0xa8], 1
lea eax, [esp + 0x5c]
push eax
call fcn.101af010
mov byte [esp + 0xa8], 2
lea ecx, [esp + 0x2c]
push eax
call fcn.10080e39
mov byte [esp + 0xa8], 1
lea ecx, [esp + 0x5c]
push ebx
push 1
call fcn.1008117f
lea eax, [esp + 0x44]
push eax
call fcn.101af08d
mov byte [esp + 0xa8], 3
lea eax, [esp + 0x2c]
cmp dword [esp + 0x40], 0x10
mov edx, ebx
mov dword [esp + 0x24], ebx
cmovae eax, dword [esp + 0x2c]
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + edx + 0x10]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101aeeb8
sub ecx, esi
lea eax, [ecx + 1]
mov dword [esp + edx + 0x24], eax
add edx, 4
cmp edx, 8
jb 0x101aeeb1
lea eax, [esp + 0x5c]
push eax
call fcn.101ab662
mov byte [esp + 0xa8], 4
cmp dword [eax + 0x14], 0x10
jb 0x101aeeea
mov eax, dword [eax]
push ecx
push ebx
lea ecx, [esp + 0x2c]
push ecx
push eax
push 0x150
push 2
lea edx, [esp + 0x28]
lea ecx, [esp + 0x30]
call fcn.10224b02
add esp, 0x18
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x5c]
push ebx
push 1
call fcn.1008117f
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
and eax, 0xfffffffc
cmp eax, 4
je 0x101aef6a
lea eax, [esp + 0x10]
mov dword [esp + 0x10], str._1816
push eax
lea ecx, [esp + 0x78]
call fcn.1007f2d3
mov byte [esp + 0xa8], 7
mov dword [esp + 0x74], 0x10403848
mov byte [esp + 0xa8], 6
lea eax, [esp + 0x74]
push 0x104c99b0
push eax
call fcn.10332deb
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x28], esp
push edi
call fcn.10080c81
mov byte [esp + 0xc0], 8
mov ecx, dword [esp + 0x30]
mov byte [esp + 0xc0], 6
mov ecx, dword [ecx]
call fcn.101b15ed
mov eax, dword [esp + 0x30]
add esp, 0x18
mov esi, dword [eax]
mov byte [esp + 0xa8], 3
cmp dword [esp + 0x18], 0
je 0x101aefc2
push dword [esp + 0x18]
call fcn.103170e5
pop ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0xa8], 1
lea ecx, [esp + 0x44]
push ebx
push 1
call fcn.1008117f
or dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x2c]
push ebx
push 1
call fcn.1008117f
mov eax, esi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.1032ef46
mov esp, ebp
pop ebp
ret
Function at 0x10207452
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10399480
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x104cc790]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x1c]
call fcn.10087daa
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp + 0xc]
sub esp, 0xc
mov esi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, dword [eax]
mov edx, esp
mov dword [esp + 0x30], esp
mov dword [esp + 0x34], edx
mov dword [edx], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x48], 1
or dword [esp + 0x48], 0xffffffff
mov edx, edi
mov ecx, esi
call fcn.1009e1ff
pop ecx
mov dword [esp + 0x44], 2
or dword [esp + 0x44], 0xffffffff
mov ecx, ebx
call fcn.102074f4
add esp, 0x14
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret