joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ce00
Capabilities:
Get graphical window text

Disassembly:
jmp 0x44ce00
sub esp, 0x404
mov eax, dword [0x5c1d10]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x410]
push ebx
mov ebx, dword [esp + 0x410]
push ebp
mov ebp, dword [esp + 0x410]
push esi
mov esi, dword [esp + 0x420]
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x100
lea ecx, [esp + 0x114]
push ecx
push eax
call edi
push 0x100
lea edx, [esp + 0x14]
push edx
push esi
call edi
lea eax, [esp + 0x10]
push 0x20
push eax
call fcn.004f88c0
add esp, 8
test eax, eax
jne 0x44cee2
lea esi, [esp + 0x110]
push 0x5c
push esi
call fcn.004f88c0
add eax, 1
mov esi, eax
push 0x5c
push esi
call fcn.004f88c0
add esp, 0x10
test eax, eax
jne 0x44ce71
push 0xff
push esi
call fcn.004f8b2d
lea ecx, [esp + 0x18]
push ecx
push esi
lea edx, [esp + 0x220]
push str._s__s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [esp + 0x210]
push eax
push 0xffffffffffffffff
push 0x1a2
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x44cee9
push 0x10
push str.PEImport_Function_Adder
push str.Function_already_imported
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x44ceeb
xor eax, eax
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f409d
add esp, 0x404
ret 0x10

Function at 0x451d10
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x451d10
push 0xffffffffffffffff
push 0x552129
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x24]
call fcn.00402bc6
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], 0
jle 0x451d66
push 0x5c
push eax
call fcn.004f4d22
add esp, 8
test eax, eax
jne 0x451d6b
or eax, 0xffffffff
jmp 0x451d6f
sub eax, dword [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
call fcn.00402ce3
mov byte [esp + 0x18], 2
push eax
lea ecx, [esp + 0x28]
call fcn.00402432
mov byte [esp + 0x18], 1
lea ecx, [esp + 8]
call fcn.00402798
lea ecx, [esp + 0x24]
call fcn.00402bc6
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004015fa
mov dword [esp + 0xc], 1
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x24]
call fcn.00402798
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 8
Function at 0x4577d0
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4577d0
push 0xffffffffffffffff
push 0x553070
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x17c]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00404133
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x30], 0xffffffff
mov ecx, 0x5c4c78
call fcn.00401be0
mov dword [esp + 0x28], 1
push ecx
lea edx, [esi + 0x7c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00404133
mov byte [esp + 0x2c], 2
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x30], 1
mov ecx, 0x5c4c78
call fcn.00401be0
mov byte [esp + 0x28], 3
mov ecx, dword [esp + 8]
cmp dword [ecx - 0xc], 0
lea edx, [esp + 0xc]
push edx
push str.StudPE_Comparing_:__
jne 0x4578bf
lea eax, [esp + 0x1c]
push eax
call fcn.00403a76
mov byte [esp + 0x34], 4
push str._with...
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00404502
add esp, 0x18
mov byte [esp + 0x28], 5
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004bf794
mov byte [esp + 0x28], 4
lea ecx, [esp + 0x10]
call fcn.00402798
mov byte [esp + 0x28], 3
lea ecx, [esp + 0x14]
jmp 0x45794d
lea eax, [esp + 0x24]
push eax
call fcn.00403a76
mov byte [esp + 0x34], 6
push str.__with__
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00404502
mov byte [esp + 0x40], 7
lea edx, [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00401bc7
mov byte [esp + 0x4c], 8
push 0x564d98
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00404502
add esp, 0x30
mov byte [esp + 0x28], 9
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004bf794
mov byte [esp + 0x28], 8
lea ecx, [esp + 0x14]
call fcn.00402798
mov byte [esp + 0x28], 7
lea ecx, [esp + 0x10]
call fcn.00402798
mov byte [esp + 0x28], 6
lea ecx, [esp + 0x18]
call fcn.00402798
mov byte [esp + 0x28], 3
lea ecx, [esp + 0x1c]
call fcn.00402798
mov byte [esp + 0x28], 1
lea ecx, [esp + 8]
call fcn.00402798
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402798
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret
Function at 0x459740
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x459740
push 0xffffffffffffffff
push 0x553538
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x20], ebx
lea ecx, [esi + 0x84]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x20], ebx
call fcn.00401a05
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov dword [esi + 0x9c], ecx
lea ecx, [esp + 0x14]
mov dword [esi + 0x90], ebp
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], eax
mov dword [esi + 0xa4], ebx
call fcn.00404bc4
mov byte [esp + 0x20], 1
mov edx, dword [esp + 0x34]
push edx
lea eax, [esp + 0x18]
push str.In_Memory_:_0x_08X
push eax
call fcn.004012df
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esi + 0x264]
push edx
call fcn.00402432
push edi
lea eax, [esp + 0x18]
push str.Block_Size_:_0x_X
push eax
call fcn.004012df
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esi + 0x268]
push edx
call fcn.00402432
push ebx
push 0x49a
mov ecx, esi
call fcn.004bf5a3
mov ecx, eax
call fcn.004bf88d
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push str.Stud_PE_Editing_:
push ecx
call fcn.00403a76
add esp, 0xc
mov byte [esp + 0x20], 2
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004bf794
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x34]
call fcn.00402798
push ebx
mov ecx, esi
call fcn.004bac80
mov edx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push str.Pid_:_0x_X
push eax
call fcn.004012df
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
push 0x4c1
mov ecx, esi
call fcn.004bf694
push str.Patch_Mem
push 0x41f
mov ecx, esi
call fcn.004bf694
push 1
push edi
add esi, 0xa8
push ebp
mov ecx, esi
call fcn.00402a13
push 1
push ebx
push ebx
mov ecx, esi
call fcn.0040376f
mov byte [esp + 0x20], bl
lea ecx, [esp + 0x14]
call fcn.00402798
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.00402798
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x460e10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x460e10
push 0xffffffffffffffff
push 0x5547ec
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.CIniEx.0
call fcn.00404bc4
xor edi, edi
mov dword [esp + 0x18], edi
lea ecx, [esi + 0x14]
call fcn.004b1569
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x38]
call fcn.00404bc4
mov byte [esp + 0x18], 2
lea ecx, [esi + 0x3c]
call fcn.00404bc4
mov byte [esp + 0x18], 3
mov eax, dword [esp + 0x20]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 1
mov dword [esi + 0x44], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esp + 0x18], 0xffffffff
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 0x461d70
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x461d70
push 0xffffffffffffffff
push 0x554b46
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x5c1d10]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
lea eax, [ecx + 0x3c]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004015fa
xor edi, edi
mov dword [esp + 0x16c], edi
lea ecx, [esp + 0x1c]
call fcn.00404bc4
mov byte [esp + 0x16c], 1
mov eax, dword [esp + 0x14]
push 0x2e
push eax
call fcn.004f8d1c
mov edx, dword [esp + 0x1c]
add esp, 8
cmp eax, edi
jne 0x461df2
or ecx, 0xffffffff
jmp 0x461df6
sub eax, edx
mov ecx, eax
mov eax, dword [edx - 0xc]
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401bea
push 3
push 0x585df8
lea ecx, [esp + 0x1c]
call fcn.00404c0a
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ebp, eax
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x461e40
sub eax, edx
lea esi, [esp + eax + 0x49]
push esi
call fcn.004f814c
add esp, 4
cmp eax, edi
jle 0x461e67
push esi
call fcn.004f814c
add esp, 4
mov edi, eax
test ebp, ebp
jne 0x461e28
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x18]
add eax, 0x3c
add edi, 1
push edi
push ecx
add edx, 0x38
push str._s._.3d
push edx
call fcn.004012df
add esp, 0x10
mov byte [esp + 0x16c], 0
lea ecx, [esp + 0x1c]
call fcn.00402798
mov dword [esp + 0x16c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402798
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.004f409d
add esp, 0x15c
ret
Function at 0x462eb0
Capabilities:
Terminate process

Disassembly:
jmp 0x462eb0
sub esp, 0x328
mov eax, dword [0x5c1d10]
xor eax, esp
mov dword [esp + 0x324], eax
push esi
mov dword [esp + 0x10c], eax
mov dword [esp + 0x108], ecx
mov dword [esp + 0x104], edx
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], edi
mov word [esp + 0x124], ss
mov word [esp + 0x118], cs
mov word [esp + 0xf4], ds
mov word [esp + 0xf0], es
mov word [esp + 0xec], fs
mov word [esp + 0xe8], gs
pushfd
pop dword [esp + 0x11c]
mov esi, dword [esp + 0x32c]
lea eax, [esp + 0x32c]
mov dword [esp + 0x120], eax
mov ecx, eax
push 0x50
lea eax, [esp + 0x10]
mov dword [esp + 0x60], 0x10001
mov dword [esp + 0x118], esi
mov edx, dword [ecx - 4]
push 0
push eax
mov dword [esp + 0x11c], edx
call fcn.004f4420
add esp, 0xc
lea ecx, [esp + 0xc]
lea edx, [esp + 0x5c]
push 0
mov dword [esp + 0x10], 0xc000000d
mov dword [esp + 0x1c], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x462fa5
push 2
call fcn.004f916d
add esp, 4
push 0xc000000d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x328]
pop esi
xor ecx, esp
call fcn.004f409d
add esp, 0x328
ret

Function at 0x463100
Capabilities:
Parse pe header

Disassembly:
jmp 0x463100
push 0xffffffffffffffff
push 0x554e58
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
push eax
call fcn.004011ef
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
mov dword [esi + 0x118], 1
mov dword [esi + 0x11c], 0xffffffff
mov dword [esi + 0x120], eax
jne 0x4631e5
mov edx, dword [esi + 0xc]
cmp edx, 0x40
mov dword [esi + 0x118], 2
jb 0x4631e5
mov ecx, dword [esi]
cmp word [ecx], 0x5a4d
jne 0x4631e5
mov dword [esi + 0x118], eax
cmp word [ecx + 0x18], 0x40
jae 0x46318d
mov dword [esi + 0x120], 1
mov eax, dword [ecx + 0x3c]
cmp eax, edx
jg 0x4631e5
mov dword [esi + 0x11c], eax
movzx edx, word [eax + ecx]
sub edx, 0x454c
je 0x4631c8
sub edx, 2
je 0x4631bc
sub edx, 0xa
jne 0x4631d2
mov dword [esi + 0x120], 4
jmp 0x4631d2
mov dword [esi + 0x120], 2
jmp 0x4631d2
mov dword [esi + 0x120], 3
cmp dword [eax + ecx], 0x4550
jne 0x4631e5
mov dword [esi + 0x120], 5
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x464400
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x464400
push 0xffffffffffffffff
push 0x5550c0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x28], ebx
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004015fa
mov byte [esp + 0x2c], 1
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x30], bl
mov ecx, 0x5c4c78
call fcn.004022cf
mov byte [esp + 0x28], 2
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004015fa
mov byte [esp + 0x2c], 3
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x30], 2
mov ecx, 0x5c4c78
call fcn.00401be0
mov byte [esp + 0x28], 4
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], ebx
jl 0x464567
push 0x563ac0
push eax
call fcn.004f52ae
add esp, 8
cmp eax, ebx
je 0x464567
mov ecx, dword [esp + 0xc]
sub eax, ecx
cmp eax, ebx
jle 0x464567
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jge 0x4644c7
or eax, 0xffffffff
jmp 0x4644e2
push 0x563ac0
push ecx
call fcn.004f52ae
add esp, 8
cmp eax, ebx
jne 0x4644de
or eax, 0xffffffff
jmp 0x4644e2
sub eax, dword [esp + 0xc]
push eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402ce3
mov byte [esp + 0x28], 5
push 4
push str..map
lea ecx, [esp + 0x1c]
call fcn.00404c0a
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00401bc7
mov byte [esp + 0x34], 6
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004015fa
mov byte [esp + 0x2c], 7
mov byte [esp + 0x2c], 6
mov ecx, 0x5c4c78
call fcn.00401e74
cmp eax, ebx
jne 0x4645a9
mov byte [esp + 0x28], 5
lea ecx, [esp + 0x10]
call fcn.00402798
mov byte [esp + 0x28], 4
lea ecx, [esp + 0x14]
call fcn.00402798
mov byte [esp + 0x28], 2
lea ecx, [esp + 0xc]
call fcn.00402798
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x18]
call fcn.00402798
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00402798
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret 4
lea eax, [esp + 0x30]
lea ecx, [esi + 4]
push eax
call fcn.00402432
lea edx, [esp + 0x10]
lea ecx, [esi + 8]
push edx
call fcn.00402432
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0xc]
call fcn.004d0fd1
mov ecx, esi
call fcn.00403c7e
test eax, eax
je 0x46454b
mov byte [esp + 0x28], 5
lea ecx, [esp + 0x10]
call fcn.00402798
mov byte [esp + 0x28], 4
lea ecx, [esp + 0x14]
call fcn.00402798
mov byte [esp + 0x28], 2
lea ecx, [esp + 0xc]
call fcn.00402798
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x18]
call fcn.00402798
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00402798
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret 4
Function at 0x46eae0
Capabilities:
Parse pe header

Disassembly:
jmp 0x46eae0
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x555a48
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5c1d10]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov edx, dword [eax + 0x110]
test edx, edx
jne 0x46eb5e
push str.Open_a_file_before_n
call fcn.004fa567
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.004f409d
add ebp, 0x404
mov esp, ebp
pop ebp
ret 4
movzx ecx, word [edx]
cmp cx, 0x5a4d
je 0x46eb6f
push str.Not_a_windows_executable_n
jmp 0x46eb2d
mov ecx, dword [edx + 0x3c]
cmp dword [edx + ecx], 0x4550
je 0x46eb82
push str.Not_a_PE_format_executable_n
jmp 0x46eb2d
add ecx, 4
mov dword [eax + 0x120], ecx
lea esi, [edx + ecx]
mov dword [eax + 0x124], esi
add ecx, 0x14
lea esi, [edx + ecx]
mov dword [eax + 0x12c], esi
add esi, 0x60
mov dword [eax + 0x134], esi
mov esi, dword [eax + 0x124]
movzx esi, word [esi + 0x10]
add ecx, esi
add edx, ecx
mov dword [eax + 0x138], edx
mov dword [ebp - 4], 0
cmp byte [ebp + 0x40c], 0
je 0x46ec0a
xor edx, edx
mov dword [ebp - 0x14], edx
mov ecx, dword [eax + 0x124]
movzx ecx, word [ecx + 2]
cmp edx, ecx
jae 0x46ec0a
lea ecx, [edx + edx*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov esi, dword [eax + 0x138]
add esi, ecx
mov edi, dword [esi + 0xc]
mov dword [esi + 0x14], edi
mov esi, dword [eax + 0x138]
add ecx, esi
mov esi, dword [ecx + 8]
mov dword [ecx + 0x10], esi
add edx, 1
jmp 0x46ebcf
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x46eb37
Function at 0x4713a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5acab0
push 0x4f5b00
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5c1d10]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x471402
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xfffffffb
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ecx + 0x3c]
add edx, ecx
mov dword [ebp - 0x28], edx
cmp dword [edx], 0x4550
jne 0x4713e2
movzx ecx, word [edx + 0x14]
lea ecx, [ecx + edx + 0x18]
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
movzx ecx, word [edx + 6]
cmp edi, ecx
jae 0x47145b
mov ecx, dword [esi + 0x14]
test ecx, ecx
jbe 0x471453
test eax, eax
jne 0x47143c
mov eax, ecx
mov dword [ebp - 0x1c], eax
test ecx, ecx
jbe 0x471453
cmp ecx, eax
jae 0x471449
mov eax, ecx
mov dword [ebp - 0x1c], eax
test ecx, ecx
jbe 0x471453
mov ecx, dword [edx + 0x3c]
add dword [esi + 0x14], ecx
add esi, 0x28
add edi, 1
jmp 0x47141e
mov ecx, dword [edx + 0x3c]
add dword [edx + 0x54], ecx
mov dword [ebp - 4], 0xfffffffe
mov edx, dword [edx + 0x3c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47dc40
Capabilities:
Read file on windows

Disassembly:
jmp 0x47dc40
push 0xffffffffffffffff
push 0x55655b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0x154
call fcn.004b14cf
add esp, 4
mov dword [esp + 0x18], eax
xor ebp, ebp
mov dword [esp + 0x24], ebp
cmp eax, ebp
je 0x47dc8d
mov ecx, eax
call fcn.004025a9
mov edi, eax
jmp 0x47dc8f
xor edi, edi
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
push 0x586900
push eax
push edi
call fcn.004f9b26
add esp, 0xc
test eax, eax
jne 0x47dce0
push 0x6e
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, ebp
je 0x47dcca
mov ecx, edi
call fcn.00404250
push edi
call fcn.004b14fa
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ecx, dword [edi]
push ebp
push 0x3c
push ecx
call fcn.004fa081
mov edx, dword [edi]
push edx
push 1
lea eax, [esp + 0x28]
push 4
push eax
call fcn.004fa972
mov ecx, dword [esp + 0x30]
mov edx, dword [edi]
push ebp
push ecx
push edx
call fcn.004fa081
mov eax, dword [edi]
push eax
push 1
lea ecx, [esp + 0x44]
push 4
push ecx
call fcn.004fa972
add esp, 0x38
cmp dword [esp + 0x14], 0x4550
je 0x47dd43
push 0x714
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [edi]
push edx
call fcn.004f984c
add esp, 4
jmp 0x47dcba
mov eax, dword [edi]
push eax
call fcn.004f9f8c
mov ecx, dword [edi]
push ecx
push 1
lea edx, [edi + 8]
push 0x14
push edx
mov dword [edi + 4], eax
call fcn.004fa972
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push ebp
add eax, 0x14
push eax
push ecx
call fcn.004fa081
mov edx, dword [edi]
movzx eax, word [edi + 0x18]
push edx
push 1
push eax
lea ecx, [edi + 0x1c]
push ecx
call fcn.004fa972
movzx edx, word [edi + 0x18]
mov eax, dword [edi + 4]
mov ebx, dword [edi + 0x8c]
lea ecx, [edx + eax + 0x14]
mov edx, dword [edi]
push ebp
push ecx
push edx
call fcn.004fa081
xor esi, esi
add esp, 0x3c
cmp word [edi + 0xa], si
jbe 0x47ddf0
mov eax, dword [edi]
push eax
push 1
lea eax, [edi + 0xfc]
push 0x28
push eax
call fcn.004fa972
add esp, 0x10
cmp ebx, esi
jbe 0x47ddc9
cmp ebx, dword [edi + 0x108]
jbe 0x47dddc
movzx ecx, word [edi + 0xa]
mov esi, dword [edi + 0x108]
add ebp, 1
cmp ebp, ecx
jl 0x47dda7
jmp 0x47ddf0
mov edx, dword [edi + 0x110]
mov eax, dword [edi]
push 0
push edx
push eax
call fcn.004fa081
add esp, 0xc
mov eax, dword [edi + 0x10c]
test eax, eax
jne 0x47de15
push 0x714
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [edi]
push ecx
call fcn.004f984c
add esp, 4
jmp 0x47dcba
cmp dword [esp + 0x30], 0
jne 0x47de45
push eax
call fcn.004b14ff
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edi + 0x10c]
push edx
push eax
push 1
push esi
call fcn.004fa972
push edi
call fcn.0047d310
push esi
call fcn.004b1504
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret