joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4101e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x438e7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push ebp
push esi
lea eax, [esp + 0x44]
push edi
push eax
mov esi, ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [esi + 0x34]
add esi, 0x34
xor ebp, ebp
mov ecx, esi
push ebp
call dword [edx + 4]
lea eax, [esp + 0x48]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x18]
call fcn.004050a0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x15c], ebp
call fcn.004019a0
lea eax, [esp + 0x28]
push 1
push eax
mov ecx, esi
mov dword [esp + 0x15c], 0xffffffff
call fcn.00405900
mov edi, eax
push 0xffffffffffffffff
push 0x445c14
lea ecx, [esp + 0x18]
mov dword [esp + 0x15c], 1
call fcn.004050a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 2
push ecx
mov ecx, edi
call fcn.0040c130
cmp eax, ebp
mov byte [esp + 0x154], 1
je 0x410314
lea edx, [esp + 0x38]
push 1
push edx
mov ecx, esi
call fcn.00405900
mov edi, eax
push 0xffffffffffffffff
push 0x445c10
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 3
call fcn.004050a0
lea eax, [esp + 0x10]
mov ecx, edi
push eax
mov byte [esp + 0x158], 4
call fcn.0040c130
cmp eax, ebp
mov dword [esp + 0x38], 0x43b2e8
setne bl
lea ecx, [esp + 0x38]
mov byte [esp + 0x154], 5
call fcn.00401ec0
cmp eax, ebp
je 0x410304
push eax
call fcn.0041b6a9
add esp, 4
test bl, bl
mov dword [esp + 0x38], 0x43b2dc
je 0x410314
mov bl, 1
jmp 0x410316
xor bl, bl
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x154], 0xffffffff
cmp eax, ebp
mov dword [esp + 0x28], 0x43b2e8
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
je 0x410346
push eax
call fcn.0041b6a9
add esp, 4
test bl, bl
je 0x41039d
push 0xffffffffffffffff
push 0x445c10
lea ecx, [esp + 0x24]
call fcn.00401d90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], 0x43b348
jne 0x410389
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x24], eax
je 0x410389
cmp byte [ecx], 0
je 0x410389
inc eax
mov dword [esp + 0x24], eax
cmp byte [ecx + eax], 0
jne 0x41037e
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x15c], 6
call fcn.004019a0
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret
Function at 0x413750
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4396b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx + 0x54]
lea eax, [esp + 0x28]
push 0x104
push eax
push 0
mov dword [esp + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0x80
push 3
push 0
push 3
lea ecx, [esp + 0x3c]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push 2
push 0
push ebp
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push esi
push 0
push 0
push 4
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
add edi, 0xfffffffc
push 0
push 0
mov esi, dword [edi + ebx]
lea ecx, [esp + 0x18]
call fcn.00401d90
xor eax, eax
lea ecx, [esp + 0x10]
push eax
push eax
mov dword [esp + 0x13c], eax
mov dword [esp + 0x18], 0x43b2e8
mov dword [esp + 0x24], eax
call fcn.004019a0
push 0
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x13c], 1
mov dword [esp + 0x18], 0x43b31c
call fcn.004019a0
mov dword [esp + 0x10], 0x43b30c
mov eax, dword [esp + 0x1c]
lea ecx, [esi + 1]
cmp ecx, eax
mov dword [esp + 0x134], 2
jle 0x413884
cmp eax, 8
jge 0x413856
mov eax, 8
mov dword [esp + 0x1c], eax
cmp ecx, eax
jle 0x413872
add eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
jle 0x413872
lea eax, [ecx + 0xb]
mov edx, eax
and edx, 7
sub eax, edx
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.0041b7ba
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
push esi
mov byte [ecx + esi], 0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], esi
call dword [edx + 4]
mov eax, dword [esp + 0x14]
sub edi, esi
add edi, ebx
push esi
push edi
push eax
call fcn.0041e120
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00413e70
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push ebp
call esi
mov eax, dword [esp + 0x14]
xor ecx, ecx
pop edi
pop esi
pop ebp
cmp eax, ecx
mov dword [esp + 4], 0x43b2e8
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
pop ebx
je 0x413900
push eax
call fcn.0041b6a9
add esp, 4
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x413db0
Capabilities:
Get file size

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 5
mov esi, 0x445dc8
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x20]
push 0x16
push eax
movsw word es:[edi], word [esi]
call fcn.00409c00
mov ebp, dword [eax]
add esp, 8
lea ecx, [esp + 0x38]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0x80
push 3
push 0
push 3
lea edx, [esp + 0x4c]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
call fcn.00416000
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x14]
sub esi, ecx
xor ecx, ecx
sub esi, ebp
pop edi
sub esi, 0x10
cmp eax, ecx
mov dword [ebx + 0x54], esi
pop esi
pop ebp
mov dword [esp + 4], 0x43b2e8
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
pop ebx
je 0x413e63
push eax
call fcn.0041b6a9
add esp, 4
add esp, 0x12c
ret
Function at 0x414de0
Capabilities:
Access peb ldr_data
Get file size
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x43990b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00416000
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x1b0]
add edx, eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x1b0], edx
cmp eax, ebx
mov dword [esp + 0x10], 0x43b2e8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
je 0x414e42
push eax
call fcn.0041b6a9
add esp, 4
lea eax, [esp + 0x9c]
push 0x104
push eax
push ebx
mov dword [esp + 0x1c], 0x43b2dc
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push 0x80
push 3
push ebx
push 3
lea ecx, [esp + 0xb0]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push ebx
push ebx
push 2
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push esi
push ebx
mov ebp, eax
push ebx
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [esp + 0x1b0]
mov ebx, eax
sub esi, ecx
lea ecx, [esp + 0x40]
sub esi, 0x10
call fcn.00428120
push esi
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x1b0], 0
call fcn.00428220
mov edx, dword [esp + 0x1b0]
add esi, ebx
push edx
lea ecx, [esp + 0x44]
lea eax, [esi + 0x10]
push eax
call fcn.00428220
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x44]
call fcn.004281b0
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0xc]
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
mov ecx, 4
lea edi, [esp + 0x30]
lea esi, [esp + 0x20]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
pop edi
pop esi
sete al
pop ebp
mov ecx, dword [esp + 0x194]
pop ebx
mov dword fs:[0], ecx
add esp, 0x19c
ret
Function at 0x416000
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x439956
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
push ebx
push ebx
mov dword [esp + 0x20], ebp
call fcn.00401d90
push ebx
push ebx
mov ecx, ebp
mov dword [esp + 0x144], ebx
mov dword [ebp], 0x43b2e8
mov dword [ebp + 0xc], ebx
call fcn.004019a0
push ebx
push ebx
mov ecx, ebp
mov dword [esp + 0x144], 1
mov dword [ebp], 0x43b31c
call fcn.004019a0
mov edi, 0x445eec
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp], 0x43b4c8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x11]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x10], 0x50
shr ecx, 2
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
mov byte [esp + 0x14], bl
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x104
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push 0x80
push 3
push ebx
push 3
lea edx, [esp + 0x44]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push ebx
push ebx
push 2
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push esi
push ebx
push ebx
push 4
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
mov eax, 0x51eb851f
mov dword [esp + 0x20], ecx
mul esi
shr edx, 5
cmp edx, 0xc800
jae 0x41611b
mov edx, 0xc800
mov eax, esi
sub eax, edx
sub eax, 0x16
jns 0x416126
xor eax, eax
sub esi, eax
add ecx, eax
mov dword [esp + 0x28], ecx
lea edi, [esi - 0x16]
cmp edi, ebx
jl 0x4161be
lea eax, [ecx + edi]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
cmp edx, dword [ecx]
je 0x41614e
dec edi
dec eax
cmp edi, ebx
jge 0x41613c
jmp 0x4161be
mov ecx, dword [ebp + 0xc]
sub esi, edi
sub esi, 0x16
lea eax, [esi + 1]
cmp eax, ecx
jle 0x41619a
cmp ecx, 8
jge 0x416169
mov dword [ebp + 0xc], 8
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
jle 0x416175
add ecx, ecx
mov dword [ebp + 0xc], ecx
cmp eax, dword [ebp + 0xc]
jle 0x416187
add eax, 0xb
mov edx, eax
and edx, 7
sub eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 4]
push eax
push ecx
call fcn.0041b7ba
add esp, 8
mov dword [ebp + 4], eax
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x28]
mov ecx, esi
mov byte [esi + edx], bl
mov dword [ebp + 8], esi
mov edx, ecx
lea esi, [eax + edi + 0x16]
mov edi, dword [ebp + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov ecx, dword [esp + 0x134]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x130
ret
Function at 0x418480
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4184b7
cmp dword [esp + 0x10], 2
jne 0x4184b7
cmp dword [esp + 4], 6
jb 0x4184b7
mov eax, 1
add esp, 0x94
ret
xor eax, eax
add esp, 0x94
ret

Function at 0x418b20
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
mov eax, dword [esp + 0x10]
and eax, 0xff
push ecx
mov edx, eax
shl edx, 5
sub edx, eax
push edx
call fcn.00418ad0
mov dword [esp + 0x14], eax
add esp, 0xc
xor al, al
xor ecx, ecx
mov dl, byte [esp + ecx + 8]
xor al, dl
inc ecx
cmp ecx, 4
jb 0x418b4b
ret
Function at 0x419400
Capabilities:
Write file on windows

Disassembly:
mov al, byte [0x44a0d0]
sub esp, 8
test al, 1
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
jne 0x419429
or al, 1
push edi
mov byte [0x44a0d0], al
mov eax, dword [esi]
push esi
call dword [eax + 0x7c]
mov dword [0x44a0cc], eax
mov cl, byte [0x44a0d0]
mov al, 2
test al, cl
jne 0x41945c
mov edx, dword [0x44a0cc]
or cl, al
push 0x4457d4
mov byte [0x44a0d0], cl
mov ecx, dword [esi]
push 0x445070
push edx
push esi
call dword [ecx + 0x178]
mov dword [0x44a0c8], eax
mov ecx, dword [0x44a0c8]
mov eax, dword [esi]
push ecx
push edi
push esi
call dword [eax + 0x194]
lea ecx, [esp + 0x14]
push 0
mov dword [esp + 0x10], edx
mov dl, byte [esp + 0x20]
mov byte [esp + 0x1c], dl
push ecx
lea edx, [esp + 0x20]
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
add esp, 8
ret 0xc

Function at 0x419ab0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push ecx
push 0x4199e0
push 0
push 0
call fcn.0041d922
add esp, 0x18
ret
Function at 0x4286b0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push esi
push edi
push 0x14
call fcn.0041c812
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
je 0x4286fa
push edi
push edi
lea eax, [esp + 0x10]
push 1
push eax
mov dword [esi], 0x43c3b0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xc], eax
jmp 0x4286fc
xor esi, esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push esi
push edi
mov dword [0x44a480], esi
push 0x428600
mov dword [esi + 8], ecx
mov dword [esi + 4], edx
call fcn.0041dbd3
mov eax, dword [esi + 0xc]
add esp, 0xc
push 0x7530
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, esi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x429df0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push eax
mov ecx, dword [esi + 0x1a8]
push ecx
mov ecx, esi
call fcn.00429f80
mov edx, dword [esi + 0x1ac]
mov dword [esi + 0x1a8], eax
and eax, 0xff
mov ecx, esi
add eax, edx
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x1ac], eax
shr eax, 0x18
mov byte [esp + 8], al
mov eax, dword [esi + 0x1b0]
mov edx, dword [esp + 8]
push edx
push eax
call fcn.00429f80
mov dword [esi + 0x1b0], eax
pop esi
ret 4

Function at 0x42a3e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43a2ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
lea eax, [esp + 0x14]
push esi
xor ebp, ebp
mov esi, ecx
push eax
mov dword [esp + 0xc], ebp
call fcn.0042a550
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 1
push ecx
mov ecx, esi
call fcn.0042a250
mov eax, dword [esp + 0x30]
mov byte [esp + 0x40], 2
cmp eax, ebp
je 0x42a4b2
mov edx, dword [esp + 0x20]
push ebx
mov bl, byte [0x43c490]
push 1
push edx
lea ecx, [esp + 0x24]
call fcn.00401e70
mov byte [eax], bl
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x30]
call dword [edx + 4]
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x18]
call fcn.00401d90
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0x43b348
cmp eax, 0xffffffff
pop ebx
jne 0x42a49a
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x14], eax
je 0x42a49a
cmp byte [ecx], 0
je 0x42a49a
inc eax
mov dword [esp + 0x14], eax
cmp byte [ecx + eax], 0
jne 0x42a48f
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 3
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404f80
mov byte [esp + 0x40], 2
mov esi, dword [esp + 0x48]
push ebp
push ebp
mov ecx, esi
call fcn.00404ec0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x48], 4
mov dword [esi], 0x43b31c
call fcn.004019a0
mov dword [esi], 0x43b30c
mov dword [esp + 8], 1
mov dword [esp + 0x28], 0x43b2e8
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 5
call fcn.00401ec0
cmp eax, ebp
je 0x42a50c
push eax
call fcn.0041b6a9
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 0x43b2dc
cmp eax, ebp
mov dword [esp + 0x18], 0x43b2e8
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
je 0x42a539
push eax
call fcn.0041b6a9
add esp, 4
mov ecx, dword [esp + 0x38]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x42b4c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43a520
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [ecx + 0x2c]
push ebp
push esi
push edi
mov ecx, dword [eax + 0x14]
lea eax, [esp + 0xc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
mov esi, eax
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
mov dword [esp + 0x5c], 0
call dword [edx + 4]
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x60]
push esi
push ecx
lea ecx, [esp + 0x24]
call fcn.0042ab80
lea edx, [esp + 0x38]
push 0
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 1
mov dword [esp + 0x68], edx
call fcn.00404ec0
push 0
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 2
mov dword [esp + 0x40], 0x43b31c
call fcn.004019a0
mov dword [esp + 0x38], 0x43b30c
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 3
mov dword [esp + 0x38], 0x43c3b4
call dword [0x43b310]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ebp, eax
push eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x3c]
push eax
call fcn.00401e70
mov ecx, ebp
mov edi, eax
mov edx, ecx
push 0x441ff0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov byte [esp + 0x5c], 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x50], eax
call fcn.0041db99
pop edi
pop esi
pop ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x42c680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43a628
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0
mov eax, dword [edi + 0x48]
lea ecx, [edi + 0x48]
call dword [eax + 4]
mov eax, dword [esp + 0x80]
push 1
push eax
mov byte [edi + 0x60], al
call fcn.0042e6b0
mov dword [edi + 0x5c], eax
mov al, byte [edi + 0x44]
mov ebx, dword [edi + 0x3c]
add esp, 8
test al, al
jne 0x42c7f5
xor ebp, ebp
test ebx, ebx
jle 0x42c80f
mov ecx, dword [edi + 0x38]
mov esi, dword [ecx + ebp*4]
mov edx, dword [esi + 4]
mov dword [esp + 0x14], edx
mov ax, word [esi + 8]
mov word [esp + 0x18], ax
mov cx, word [esi + 0xa]
mov word [esp + 0x1a], cx
mov dx, word [esi + 0xc]
mov word [esp + 0x1c], dx
mov ax, word [esi + 0xe]
mov word [esp + 0x1e], ax
mov cx, word [esi + 0x10]
mov word [esp + 0x20], cx
mov dx, word [esi + 0x12]
mov word [esp + 0x22], dx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x2c], edx
mov ax, word [esi + 0x20]
mov word [esp + 0x30], ax
mov cx, word [esi + 0x22]
mov word [esp + 0x32], cx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x34], edx
mov ax, word [esi + 0x28]
mov word [esp + 0x38], ax
mov cx, word [esi + 0x2a]
mov word [esp + 0x3a], cx
mov edx, dword [esi + 0x2c]
lea eax, [esi + 0x30]
lea ecx, [esp + 0x40]
push eax
mov dword [esp + 0x40], edx
call fcn.0042aac0
lea ecx, [esi + 0x40]
mov dword [esp + 0x78], 0
push ecx
lea ecx, [esp + 0x54]
call fcn.0042aac0
add esi, 0x50
lea ecx, [esp + 0x60]
push esi
mov byte [esp + 0x7c], 1
call fcn.0042aac0
mov dword [esp + 0x10], 0x43c454
mov cl, byte [edi + 0x44]
mov dword [esp + 0x78], 2
test cl, cl
lea eax, [esp + 0x10]
jne 0x42c7cc
lea edx, [esp + 0x10]
test edx, edx
jne 0x42c7bd
mov eax, dword [edi + 0x28]
mov cl, byte [edi + 0x45]
push ecx
push 1
push eax
call fcn.0042f030
add esp, 0xc
lea edx, [esp + 0x10]
push ebp
push edx
mov ecx, edi
call fcn.0042c830
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
call fcn.00430f50
inc ebp
cmp ebp, ebx
jl 0x42c6d9
jmp 0x42c80f
xor esi, esi
test ebx, ebx
jle 0x42c80f
mov eax, dword [edi + 0x38]
push esi
mov ecx, dword [eax + esi*4]
push ecx
mov ecx, edi
call fcn.0042c830
inc esi
cmp esi, ebx
jl 0x42c7fb
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
Function at 0x42ca50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43a6a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
lea ecx, [ebp + 8]
call fcn.004338f0
lea ebx, [ebp + 0x24]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ebx
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push eax
push eax
mov ecx, ebx
mov byte [esp + 0x34], 1
mov dword [ebx], 0x43b2e8
mov dword [ebx + 0xc], eax
call fcn.00401e70
xor ecx, ecx
xor esi, esi
mov edi, eax
mov eax, dword [ebx + 8]
push esi
push eax
mov ecx, ebx
mov byte [esp + 0x34], 2
mov dword [ebx], 0x43b31c
call fcn.00401e70
xor ecx, ecx
mov edi, eax
mov dword [ebx], 0x43b30c
lea ecx, [ebp + 0x40]
mov byte [esp + 0x2c], 3
call fcn.0042a8c0
mov dword [ebp], 0x43c48c
mov cx, word [0x4496a4]
mov dl, byte [0x4496a6]
mov word [0x44969d], cx
mov byte [0x44969f], dl
mov byte [ebp + 0x5e], 0
mov dword [ebp + 0x1c], esi
mov dword [ebp + 4], 0x10000
mov dword [ebp + 0x58], 0xffffffff
mov dword [ebp + 0x14], esi
mov eax, dword [ebx]
push esi
mov ecx, ebx
mov byte [esp + 0x30], 4
call dword [eax + 4]
mov ecx, 0x4496a0
mov dword [esp + 0x1c], 0x4496a0
test ecx, ecx
mov dword [esp + 0x18], 0x43b348
mov dword [esp + 0x20], esi
je 0x42cb53
mov al, byte [0x4496a0]
test al, al
je 0x42cb53
mov al, byte [esi + 0x4496a1]
inc esi
test al, al
jne 0x42cb44
mov dword [esp + 0x20], esi
mov edx, dword [ebx + 8]
push esi
push edx
mov ecx, ebx
mov byte [esp + 0x34], 5
call fcn.00401e70
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, 0x4496a0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x42d090
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x43a788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
lea edx, [esp + 0x14]
push edi
mov ecx, dword [esi + 0x14]
xor ebx, ebx
push edx
mov dword [esp + 0x14], esi
mov eax, dword [ecx]
mov dword [esp + 0x18], ebx
call dword [eax + 0x24]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x30], ebx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x24], esp
mov dword [esp + 0x24], ebp
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
push ebx
push ebx
mov ecx, ebp
mov byte [esp + 0x48], 1
mov dword [ebp], 0x43b2e8
mov dword [ebp + 0xc], ebx
call fcn.004019a0
mov ecx, dword [ebp + 8]
mov dword [ebp], 0x43b31c
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x48], 2
mov esi, eax
call fcn.00401e70
mov ecx, esi
mov esi, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0xffffffffffffffff
and ecx, 3
mov byte [esp + 0x44], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [ebp], 0x43b30c
call fcn.0042dcf0
mov ebp, dword [esp + 0x38]
push ebx
push ebx
mov ecx, ebp
call fcn.00401d90
push ebx
push ebx
mov ecx, ebp
mov byte [esp + 0x38], 3
mov dword [ebp], 0x43b2e8
mov dword [ebp + 0xc], ebx
call fcn.004019a0
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov esi, eax
push eax
mov eax, dword [ebp + 8]
mov ecx, ebp
push eax
mov byte [esp + 0x38], 4
mov dword [ebp], 0x43b31c
call fcn.00401e70
mov ecx, esi
mov esi, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [ebp], 0x43b30c
cmp eax, ebx
mov dword [esp + 0x18], 0x43b2e8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x42d1cf
push eax
call fcn.0041b6a9
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4