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

Disassembly:
push 0xffffffffffffffff
push 0x5cce86
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x613ad0]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x130]
test edi, edi
mov eax, dword [esp + 0x138]
mov esi, dword [esp + 0x134]
mov ebx, dword [esp + 0x12c]
mov ebp, ecx
mov dword [esp + 0x14], eax
push 2
je 0x415536
push edi
jmp 0x41553a
movzx ecx, bx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x415648
call fcn.0057e772
xor ecx, ecx
test edi, edi
je 0x4155f3
test eax, eax
setne cl
test ecx, ecx
jne 0x41556b
push 0x80004005
call fcn.00401a10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x7d02
mov dword [esp + 0x128], 0
call fcn.0057f7a1
test eax, eax
je 0x4155a7
push 0x7d02
push eax
lea ecx, [esp + 0x1c]
call fcn.00403630
mov esi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x1c]
push esi
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
lea edx, [esp + 0x20]
push edx
call fcn.00590222
lea eax, [esi - 0x10]
mov dword [esp + 0x124], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4155ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4156c1
test eax, eax
setne cl
test ecx, ecx
jne 0x415606
push 0x80004005
call fcn.00401a10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x7d03
mov dword [esp + 0x128], 1
call fcn.0057f7a1
test eax, eax
je 0x415642
push 0x7d03
push eax
lea ecx, [esp + 0x1c]
call fcn.00403630
mov esi, dword [esp + 0x14]
push ebx
jmp 0x4155a8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4155ec
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4155ec
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
movzx eax, word [esi + 0xe]
sub eax, 1
je 0x415690
sub eax, 3
je 0x415689
sub eax, 4
je 0x415682
xor eax, eax
jmp 0x415695
mov eax, 0x100
jmp 0x415695
mov eax, 0x10
jmp 0x415695
mov eax, 2
cmp dword [esi + 0x20], 0
je 0x41569f
movzx eax, word [esi + 0x20]
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esi + eax*4]
add edx, dword [esi]
mov ecx, ebp
push edx
push esi
push edi
call fcn.00413900
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 1
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005aac48
add esp, 0x114
ret 0x10
Function at 0x415c50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5ccf58
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
movzx eax, bx
push 0xa
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x415d16
cmp dword [esp + 0x2c], eax
je 0x415d12
call fcn.0057e772
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x415cb5
push 0x80004005
call fcn.00401a10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
push ebx
lea ecx, [esp + 0x30]
push 0x7d03
push ecx
mov dword [esp + 0x28], 0
call fcn.0040cbc0
mov esi, dword [esp + 0x38]
add esp, 0xc
push 0
push 0
push esi
call fcn.00590222
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415d12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x415d47
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x415d12
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x415d12
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
push eax
push 0
mov ecx, ebp
call fcn.00415920
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x41b520
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebp
push esi
push 0x5da6e8
push eax
mov ebp, ecx
mov dword [esp + 0x10], 0
call fcn.005ac643
mov esi, eax
add esp, 8
test esi, esi
je 0x41b56a
mov ecx, dword [esp + 0x18]
push 0x5da6e0
push ecx
call fcn.005ac643
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
jne 0x41b574
push esi
call fcn.005ac46d
add esp, 4
pop esi
xor eax, eax
pop ebp
add esp, 8
ret 8
push ebx
push edi
push 2
push 0
push esi
call fcn.005ad4e7
push esi
call fcn.005ad3f2
push 0
push 0
push esi
mov edi, eax
call fcn.005ad4e7
lea edx, [edi + 1]
push edx
call fcn.0057df22
push esi
push 1
mov ebx, eax
push edi
push ebx
call fcn.005ad23f
mov eax, dword [ebp]
mov eax, dword [eax + 4]
add esp, 0x30
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
push ebx
mov ecx, ebp
call eax
test eax, eax
je 0x41b5dd
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
push 1
push edx
push eax
call fcn.005acf21
add esp, 0x10
push esi
call fcn.005ac46d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005ac46d
push ebx
call fcn.0057df27
mov edx, dword [esp + 0x1c]
push edx
call fcn.0057df27
add esp, 0x10
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 8
ret 8

Function at 0x41b610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
xor ecx, ecx
test eax, eax
jle 0x41b657
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, eax
xor eax, eax
test esi, esi
jle 0x41b64d
lea esp, [esp]
add ecx, 7
and ecx, 0x800000ff
jns 0x41b643
dec ecx
or ecx, 0xffffff00
inc ecx
xor byte [edx + eax], cl
add eax, 1
cmp eax, esi
jl 0x41b630
add edx, 0x64
sub edi, 1
jne 0x41b626
pop edi
pop esi
ret 0xc
Function at 0x41b7d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
xor eax, eax
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
cmp eax, 9
mov ebx, dword [esp + 0x30]
jne 0x41b7fe
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
call fcn.0041b610
xor esi, esi
test ebx, ebx
jle 0x41b863
mov ecx, 0x615890
mov dword [esp + 0x2c], ecx
lea ecx, [ecx]
mov eax, esi
cdq
lea edi, [ebp - 1]
idiv edi
mov eax, ebp
sub eax, edx
sub eax, 1
test ebp, ebp
jle 0x41b855
mov edi, eax
sub edi, ecx
mov ebx, ebp
lea esp, [esp]
lea eax, [edi + ecx]
cdq
idiv ebp
mov eax, dword [esp + 0x24]
add ecx, 1
imul edx, edx, 0x64
add edx, esi
sub ebx, 1
mov dl, byte [edx + eax]
mov byte [ecx - 1], dl
jne 0x41b830
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add esi, 1
add ecx, 0x64
cmp esi, ebx
mov dword [esp + 0x2c], ecx
jl 0x41b810
cmp ebx, 1
jle 0x41b8b6
lea eax, [ebx - 2]
shr eax, 1
add eax, 1
mov ecx, 0x6158f4
mov dword [esp + 0x2c], eax
lea esp, [esp]
test ebp, ebp
jle 0x41b8a7
mov eax, ecx
mov edi, 0xffffff9c
mov esi, ebp
lea ecx, [ecx]
mov dl, byte [eax]
sub dl, 1
xor dl, byte [edi + eax]
add eax, 1
sub esi, 1
mov byte [eax - 1], dl
jne 0x41b890
mov eax, dword [esp + 0x2c]
add ecx, 0xc8
sub eax, 1
mov dword [esp + 0x2c], eax
jne 0x41b880
xor eax, eax
test ebp, ebp
mov dword [esp + 0x10], eax
jle 0x41b929
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
sub edx, 0x615890
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], edx
jmp 0x41b8e0
movzx edi, byte [edx + eax + 0x615890]
lea esi, [eax + 0x615890]
xor ecx, ecx
test ebx, ebx
jle 0x41b919
lea eax, [edi + ecx]
cdq
idiv ebx
mov al, byte [esi]
mov ebx, dword [esp + 0x2c]
add ecx, 1
add esi, 0x64
mov byte [edx + ebx], al
mov ebx, dword [esp + 0x30]
cmp ecx, ebx
jl 0x41b8f4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x2c], 0x64
add eax, 1
cmp eax, ebp
mov dword [esp + 0x10], eax
jl 0x41b8e0
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 0xa
mov dword [esp + 0x14], eax
jl 0x41b7e5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
Function at 0x41bb90
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x20]
push esi
mov dword [esp + 0xc], ecx
call fcn.0057df22
mov ecx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0x28]
add esp, 4
cmp esi, 6
mov dword [eax], ebx
mov dword [esp + 0x10], ebx
mov dword [ecx], 0
jae 0x41bbcb
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
push ebp
push edi
mov edi, dword [esp + 0x24]
movzx eax, word [edi]
movzx ebp, word [edi + 2]
add edi, 2
movzx edx, word [edi + 2]
add edi, 2
sub esi, 6
add edi, 2
cmp ax, 0x4441
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
je 0x41bc02
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
push 0x61a6b0
call fcn.005ab7b0
mov esi, dword [esi + 8]
add esp, 0xc
cmp si, 0x64
jge 0x41bc60
mov edx, 0x64
sub edx, esi
movzx eax, dx
movsx ecx, si
mov dword [esp + 0x2c], eax
mov eax, ecx
cdq
idiv esi
add ecx, 1
mov dl, byte [edx + 0x61a6b0]
xor dl, 0x6a
sub dword [esp + 0x2c], 1
mov byte [ecx + 0x61a6af], dl
jne 0x41bc35
jmp 0x41bc60
mov eax, 2
cmp dword [esp + 0x28], eax
jbe 0x41bd60
movzx ecx, word [edi]
mov esi, dword [esp + 0x24]
sub dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
add edi, eax
xor ecx, ecx
test si, si
jle 0x41bccd
xor eax, eax
test bp, bp
jle 0x41bcc5
mov edi, edi
cmp dword [esp + 0x28], 0
jle 0x41bd60
mov bl, byte [edi]
sub dword [esp + 0x28], 1
movsx edx, ax
imul edx, edx, 0x64
movsx esi, cx
add eax, 1
add edi, 1
cmp ax, bp
mov byte [edx + esi + 0x617fa0], bl
jl 0x41bc90
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
add ecx, 1
cmp cx, si
jl 0x41bc87
movsx ecx, si
push ecx
mov ecx, dword [esp + 0x14]
movsx eax, bp
push eax
push 0x61a6b0
push 0x617fa0
call fcn.0041b7d0
test si, si
jle 0x41bd55
movzx edx, si
mov eax, 0x617fa0
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], edx
test bp, bp
jle 0x41bd32
movzx esi, bp
jmp 0x41bd10
movsx edx, word [esp + 0x1c]
cmp ecx, edx
jge 0x41bd27
mov dl, byte [eax]
mov byte [ebx], dl
mov edx, dword [esp + 0x30]
add ebx, 1
add dword [edx], 1
add ecx, 1
add eax, 0x64
sub esi, 1
jne 0x41bd10
mov ecx, dword [esp + 0x2c]
movsx eax, bp
add ecx, eax
mov eax, dword [esp + 0x14]
add eax, 1
sub dword [esp + 0x18], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
jne 0x41bd03
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x28], 0
jg 0x41bc60
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret 0x10
Function at 0x41c9a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5cd408
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push 0x424f5743
push ecx
push edx
mov ecx, esi
call fcn.00412840
xor edi, edi
lea ecx, [esi + 0x64]
mov dword [esp + 0x18], edi
mov dword [esi], vtable.CCWObject.0
call fcn.00441460
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
or eax, 0xffffffff
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0x54], ecx
mov dword [esi + 0x4c], 1
mov dword [esi + 0x58], edx
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14

Function at 0x41ea00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cd791
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x4c]
call fcn.00442960
lea ecx, [esi + 0x60]
mov dword [esp + 0x14], 0
call fcn.00442960
lea ecx, [esi + 0x74]
mov byte [esp + 0x14], 1
call fcn.00442960
push 0x30
push 0
push esi
mov byte [esp + 0x20], 2
mov dword [esi + 0x48], 0
call fcn.005abb20
lea eax, [esi + 0x30]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x34], ecx
mov eax, dword [0x61ce8c]
add esp, 0xc
test eax, eax
jne 0x41eac6
push 0x5db4f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x61ce8c], eax
jne 0x41eac6
push 0xffffffffffffffff
push eax
push 0xf190
call fcn.0059026b
mov dword [esi + 0x48], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push str.MAPISendMail
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0x88], eax
jne 0x41eaf0
push 0xffffffffffffffff
push eax
push 0xf191
call fcn.0059026b
mov dword [esi + 0x48], 2
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x422780
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5cdd88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
push 5
push edx
push eax
mov ecx, esi
call fcn.0041c9a0
xor edi, edi
lea ecx, [esi + 0xd0]
mov dword [esp + 0x18], edi
mov dword [esi], vtable.CObjButton.0
call fcn.00402310
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, 1
mov dword [esi + 0x50], eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0x15c], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0x154], ecx
mov dword [esi + 0x158], edx
mov dword [esi + 0x160], edi
mov dword [esi + 0x164], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x18
Function at 0x431860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cf0e9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
call fcn.0057e772
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4318af
push 0x80004005
call fcn.00401a10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [esp + 0x20]
add eax, 0x10
mov dword [esi], eax
push 0
push esi
push 8
push 1
push 0x149
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 1
call fcn.0058a821
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x431e60
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [0x613ad0]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [0x61cffc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x220]
xor bl, bl
test eax, eax
push edi
jne 0x431ebd
push 0x104
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x61cffc], eax
mov bl, 1
mov edx, dword [esi + 0x18]
push 0
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x1000
push eax
push 0
call ebp
mov edx, dword [esi + 0x1c]
push 0
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
mov eax, dword [0x61cffc]
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test bl, bl
je 0x431f16
mov ecx, dword [0x61cffc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x61cffc], 0
test byte [esi + 0x20], 1
jne 0x431f20
mov eax, edi
jmp 0x431f53
mov edx, dword [esi + 0x24]
push 4
lea ebx, [esi + 0x24]
push 0x1000
push edx
push 0
call ebp
mov ebp, eax
mov eax, dword [esi + 0x1c]
push eax
push edi
push ebx
push ebp
call fcn.0057b460
add esp, 0x10
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, ebp
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005aac48
add esp, 0x210
ret
Function at 0x432ce0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov edi, dword [esp + 0x14]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x14]
push ecx
push edi
call ebx
mov eax, dword [esp + 8]
test eax, eax
je 0x432d75
add eax, 2
push esi
push eax
call fcn.0057df22
mov edx, dword [esp + 0x10]
add edx, 2
push edx
mov esi, eax
push 0
push esi
call fcn.005abb20
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push 0
lea eax, [esp + 0x14]
push eax
push ecx
push esi
push edi
call ebx
test esi, esi
jne 0x432d3f
xor eax, eax
jmp 0x432d53
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432d44
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x1c]
push eax
push esi
call fcn.00402270
push esi
call fcn.0057df27
mov eax, dword [esp + 0x10]
add esp, 4
pop esi
pop edi
add eax, 4
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x18]
call fcn.00401f60
mov eax, dword [esp + 8]
pop edi
add eax, 4
pop ebx
add esp, 8
ret
Function at 0x433210
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x613ad0]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push esi
push edi
mov edi, dword [esp + 0x3c]
push 0x5da6e8
mov dword [eax], 0
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [ecx], 0
call fcn.005ac643
mov esi, eax
add esp, 8
test esi, esi
je 0x433274
push esi
push 0x15
lea eax, [esp + 0x24]
push 1
push eax
call fcn.005ad23f
add esp, 0x10
cmp eax, 0x15
push esi
je 0x433287
call fcn.005ac46d
add esp, 4
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005aac48
add esp, 0x30
ret
call fcn.005ac46d
mov al, byte [esp + 0x20]
add esp, 4
cmp al, 0x43
je 0x43329b
cmp al, 0x46
jne 0x433274
cmp byte [esp + 0x1d], 0x57
jne 0x433274
cmp byte [esp + 0x1e], 0x53
jne 0x433274
cmp al, 0x43
push ebx
push ebp
jne 0x433351
push 0x5da6e8
push edi
call fcn.005ac643
mov edi, dword [esp + 0x30]
push 2
mov esi, eax
push 0
push esi
call fcn.005ad4e7
push esi
call fcn.005ad3f2
push 0
push 0
push esi
mov ebp, eax
call fcn.005ad4e7
push ebp
call fcn.005ac733
push esi
push 1
mov ebx, eax
push ebp
push ebx
call fcn.005ad23f
push esi
call fcn.005ac46d
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea ebp, [edx + edi]
push ebp
call fcn.005ac733
add esp, 0x40
add edi, 0xfffffff8
push edi
lea ecx, [ebx + 8]
push ecx
lea edx, [esp + 0x1c]
mov esi, eax
push edx
push esi
mov dword [esp + 0x24], ebp
call fcn.0057b460
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x44], edx
mov al, byte [esi + 0xc]
push ebx
mov byte [esp + 0x4c], al
call fcn.005ac656
push esi
call fcn.005ac656
add esp, 0x18
mov cl, byte [esp + 0x2c]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x17]
push eax
mov byte [esp + 0x1b], cl
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push 5
mov dword [esp + 0x2c], 8
mov dword [esp + 0x28], 9
call fcn.00433080
mov esi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2b]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
push esi
call fcn.004331c0
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x3f]
push edx
mov ebx, eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x58]
push ecx
push esi
call fcn.004331c0
lea edx, [esp + 0x54]
push edx
mov edi, eax
lea eax, [esp + 0x53]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x6c]
push edx
push esi
call fcn.004331c0
add esp, 0x50
mov ebp, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
push esi
call fcn.004331c0
mov ecx, eax
sub edi, ebx
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x30]
mov dword [edx], eax
sub ecx, ebp
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x34]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add esp, 0x14
add eax, edx
mov dword [ecx], eax
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x38]
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.005aac48
add esp, 0x30
ret
Function at 0x437880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5cf866
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
Function at 0x443190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d0261
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4431e4
mov esi, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00442f50
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00442a80
mov esi, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [esp + 0x2c], 1
call fcn.00442f50
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x28], 0
call fcn.00442b40
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8

Function at 0x443240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d02a1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov edx, dword [ecx + 4]
test edx, edx
jne 0x443294
mov esi, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00442f50
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jle 0x4432a3
mov ecx, eax
jmp 0x4432a9
test ecx, ecx
jge 0x4432a9
xor ecx, ecx
sub eax, ecx
push ecx
add eax, edx
push eax
lea ecx, [esp + 0x14]
call fcn.00442a80
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x2c], 1
call fcn.00442f50
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x28], 0
call fcn.00442b40
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8