joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e740
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x433181
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.00404330
xor eax, eax
lea ecx, [esp + 0x10]
push eax
push eax
mov dword [esp + 0x13c], eax
mov dword [esp + 0x18], 0x4352ac
mov dword [esp + 0x24], eax
call fcn.00403c40
push 0
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x13c], 1
mov dword [esp + 0x18], 0x4352fc
call fcn.00403c40
mov dword [esp + 0x10], 0x4352bc
mov eax, dword [esp + 0x1c]
lea ecx, [esi + 1]
cmp ecx, eax
mov dword [esp + 0x134], 2
jle 0x40e874
cmp eax, 8
jge 0x40e846
mov eax, 8
mov dword [esp + 0x1c], eax
cmp ecx, eax
jle 0x40e862
add eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
jle 0x40e862
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.00415fc7
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.004181c0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.0040edc0
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], 0x4352ac
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
pop ebx
je 0x40e8f0
push eax
call fcn.00415ab8
add esp, 4
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x40ed00
Capabilities:
Get file size

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 5
mov esi, 0x43eaec
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.004085e0
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.0040fdd0
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], 0x4352ac
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
pop ebx
je 0x40edb3
push eax
call fcn.00415ab8
add esp, 4
add esp, 0x12c
ret
Function at 0x40fc30
Capabilities:
Access peb ldr_data
Get file size
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4333bb
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.0040fdd0
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], 0x4352ac
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
je 0x40fc92
push eax
call fcn.00415ab8
add esp, 4
lea eax, [esp + 0x9c]
push 0x104
push eax
push ebx
mov dword [esp + 0x1c], 0x4352a8
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.00422340
push esi
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x1b0], 0
call fcn.00422440
mov edx, dword [esp + 0x1b0]
add esi, ebx
push edx
lea ecx, [esp + 0x44]
lea eax, [esi + 0x10]
push eax
call fcn.00422440
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x44]
call fcn.004223d0
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 0x40fdd0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4333e6
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.00404330
push ebx
push ebx
mov ecx, ebp
mov dword [esp + 0x144], ebx
mov dword [ebp], 0x4352ac
mov dword [ebp + 0xc], ebx
call fcn.00403c40
push ebx
push ebx
mov ecx, ebp
mov dword [esp + 0x144], 1
mov dword [ebp], 0x4352fc
call fcn.00403c40
mov edi, 0x43ebb0
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp], 0x43532c
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 0x40feeb
mov edx, 0xc800
mov eax, esi
sub eax, edx
sub eax, 0x16
jns 0x40fef6
xor eax, eax
sub esi, eax
add ecx, eax
mov dword [esp + 0x28], ecx
lea edi, [esi - 0x16]
cmp edi, ebx
jl 0x40ff8e
lea eax, [ecx + edi]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
cmp edx, dword [ecx]
je 0x40ff1e
dec edi
dec eax
cmp edi, ebx
jge 0x40ff0c
jmp 0x40ff8e
mov ecx, dword [ebp + 0xc]
sub esi, edi
sub esi, 0x16
lea eax, [esi + 1]
cmp eax, ecx
jle 0x40ff6a
cmp ecx, 8
jge 0x40ff39
mov dword [ebp + 0xc], 8
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
jle 0x40ff45
add ecx, ecx
mov dword [ebp + 0xc], ecx
cmp eax, dword [ebp + 0xc]
jle 0x40ff57
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.00415fc7
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 0x4126b0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push esi
push edi
push 0x18
call fcn.00416b6a
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
je 0x4126f7
push edi
push edi
lea eax, [esp + 0x10]
push 1
push eax
mov dword [esi], 0x4353cc
mov dword [esi + 8], edi
mov dword [esi + 0x14], 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 + 4], eax
jmp 0x4126f9
xor esi, esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push esi
push edi
push 0x4122c0
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
call fcn.004185ff
mov eax, dword [esi + 4]
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 0x412830
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 0x412867
cmp dword [esp + 0x10], 2
jne 0x412867
cmp dword [esp + 4], 6
jb 0x412867
mov eax, 1
add esp, 0x94
ret
xor eax, eax
add esp, 0x94
ret

Function at 0x412ed0
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.00412e80
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 0x412efb
ret
Function at 0x4137b0
Capabilities:
Write file on windows

Disassembly:
mov al, byte [0x442d58]
sub esp, 8
test al, 1
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
jne 0x4137d9
or al, 1
push edi
mov byte [0x442d58], al
mov eax, dword [esi]
push esi
call dword [eax + 0x7c]
mov dword [0x442d54], eax
mov cl, byte [0x442d58]
mov al, 2
test al, cl
jne 0x41380c
mov edx, dword [0x442d54]
or cl, al
push 0x43e75c
mov byte [0x442d58], cl
mov ecx, dword [esi]
push 0x43ec7c
push edx
push esi
call dword [ecx + 0x178]
mov dword [0x442d50], eax
mov ecx, dword [0x442d50]
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 0x413ec0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push ecx
push 0x413df0
push 0
push 0
call fcn.00417c82
add esp, 0x18
ret
Function at 0x4239e0
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.00423b70
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.00423b70
mov dword [esi + 0x1b0], eax
pop esi
ret 4

Function at 0x423fd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x433d6f
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.00424140
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 1
push ecx
mov ecx, esi
call fcn.00423e40
mov eax, dword [esp + 0x30]
mov byte [esp + 0x40], 2
cmp eax, ebp
je 0x4240a2
mov edx, dword [esp + 0x20]
push ebx
mov bl, byte [0x4362ac]
push 1
push edx
lea ecx, [esp + 0x24]
call fcn.00404670
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.00404330
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0x435304
cmp eax, 0xffffffff
pop ebx
jne 0x42408a
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x14], eax
je 0x42408a
cmp byte [ecx], 0
je 0x42408a
inc eax
mov dword [esp + 0x14], eax
cmp byte [ecx + eax], 0
jne 0x42407f
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 3
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403be0
mov byte [esp + 0x40], 2
mov esi, dword [esp + 0x48]
push ebp
push ebp
mov ecx, esi
call fcn.00403a90
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], 0x4352fc
call fcn.00403c40
mov dword [esi], 0x4352bc
mov dword [esp + 8], 1
mov dword [esp + 0x28], 0x4352ac
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 5
call fcn.00403ca0
cmp eax, ebp
je 0x4240fc
push eax
call fcn.00415ab8
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 0x4352a8
cmp eax, ebp
mov dword [esp + 0x18], 0x4352ac
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
je 0x424129
push eax
call fcn.00415ab8
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 0x4250e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x433fa0
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.00424770
lea edx, [esp + 0x38]
push 0
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 1
mov dword [esp + 0x68], edx
call fcn.00403a90
push 0
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 2
mov dword [esp + 0x40], 0x4352fc
call fcn.00403c40
mov dword [esp + 0x38], 0x4352bc
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 3
mov dword [esp + 0x38], 0x4361d0
call dword [0x4352c0]
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.00404670
mov ecx, ebp
mov edi, eax
mov edx, ecx
push 0x43bbb8
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.00430226
pop edi
pop esi
pop ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x4262a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4340a8
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.004282a0
mov dword [edi + 0x5c], eax
mov al, byte [edi + 0x44]
mov ebx, dword [edi + 0x3c]
add esp, 8
test al, al
jne 0x426415
xor ebp, ebp
test ebx, ebx
jle 0x42642f
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.004246b0
lea ecx, [esi + 0x40]
mov dword [esp + 0x78], 0
push ecx
lea ecx, [esp + 0x54]
call fcn.004246b0
add esi, 0x50
lea ecx, [esp + 0x60]
push esi
mov byte [esp + 0x7c], 1
call fcn.004246b0
mov dword [esp + 0x10], 0x436270
mov cl, byte [edi + 0x44]
mov dword [esp + 0x78], 2
test cl, cl
lea eax, [esp + 0x10]
jne 0x4263ec
lea edx, [esp + 0x10]
test edx, edx
jne 0x4263dd
mov eax, dword [edi + 0x28]
mov cl, byte [edi + 0x45]
push ecx
push 1
push eax
call fcn.00428c20
add esp, 0xc
lea edx, [esp + 0x10]
push ebp
push edx
mov ecx, edi
call fcn.00426450
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
call fcn.0042ab40
inc ebp
cmp ebp, ebx
jl 0x4262f9
jmp 0x42642f
xor esi, esi
test ebx, ebx
jle 0x42642f
mov eax, dword [edi + 0x38]
push esi
mov ecx, dword [eax + esi*4]
push ecx
mov ecx, edi
call fcn.00426450
inc esi
cmp esi, ebx
jl 0x42641b
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 0x426640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x434129
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.0042d4e0
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], 0x4352ac
mov dword [ebx + 0xc], eax
call fcn.00404670
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], 0x4352fc
call fcn.00404670
xor ecx, ecx
mov edi, eax
mov dword [ebx], 0x4352bc
lea ecx, [ebp + 0x40]
mov byte [esp + 0x2c], 3
call fcn.004244b0
mov dword [ebp], 0x4362a8
mov cx, word [0x44232c]
mov dl, byte [0x44232e]
mov word [0x442325], cx
mov byte [0x442327], 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, 0x442328
mov dword [esp + 0x1c], 0x442328
test ecx, ecx
mov dword [esp + 0x18], 0x435304
mov dword [esp + 0x20], esi
je 0x426743
mov al, byte [0x442328]
test al, al
je 0x426743
mov al, byte [esi + 0x442329]
inc esi
test al, al
jne 0x426734
mov dword [esp + 0x20], esi
mov edx, dword [ebx + 8]
push esi
push edx
mov ecx, ebx
mov byte [esp + 0x34], 5
call fcn.00404670
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, 0x442328
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 0x426c80
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x434208
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], 0x4352ac
mov dword [ebp + 0xc], ebx
call fcn.00403c40
mov ecx, dword [ebp + 8]
mov dword [ebp], 0x4352fc
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.00404670
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], 0x4352bc
call fcn.004278e0
mov ebp, dword [esp + 0x38]
push ebx
push ebx
mov ecx, ebp
call fcn.00404330
push ebx
push ebx
mov ecx, ebp
mov byte [esp + 0x38], 3
mov dword [ebp], 0x4352ac
mov dword [ebp + 0xc], ebx
call fcn.00403c40
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], 0x4352fc
call fcn.00404670
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], 0x4352bc
cmp eax, ebx
mov dword [esp + 0x18], 0x4352ac
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x426dbf
push eax
call fcn.00415ab8
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