joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443090
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x49a93f
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4b8658]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8658]
xor eax, esp
push eax
lea eax, [esp + 0x1ac]
mov dword fs:[0], eax
mov ebp, dword [0x4a02f8]
mov esi, ecx
lea eax, [esi + 8]
mov dword [esi], 0x4a3190
push eax
mov dword [esp + 0x18], esi
mov dword [esi + 4], 0x4a2f84
call ebp
lea edi, [esi + 0x20]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1b4], ebx
call fcn.0041f420
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x2c]
mov ecx, edi
mov byte [esp + 0x1b4], 1
call fcn.0041f420
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x38]
mov ecx, edi
mov byte [esp + 0x1b4], 2
call fcn.0041f420
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x350], ebx
mov byte [esi + 0x354], bl
mov dword [esi + 0x35c], ebx
mov dword [esi + 0x360], ebx
mov dword [esi + 0x364], ebx
mov dword [esi + 0x36c], ebx
mov dword [esi + 0x370], ebx
mov dword [esi + 0x374], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], ebx
mov dword [esi + 0x384], ebx
lea ecx, [esi + 0x38c]
push ecx
mov dword [esi + 0x388], 0x4a2f84
call ebp
lea edi, [esi + 0x3a4]
mov ecx, edi
mov byte [esp + 0x1b4], 7
call fcn.0043d8d0
mov dword [edi + 4], eax
mov byte [eax + 0x21], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov eax, dword [esp + 0x1bc]
mov dword [esi + 0x3b0], eax
mov eax, dword [eax + 0x10]
add eax, 2
push eax
lea ecx, [esi + 0x3b4]
mov byte [esp + 0x1b8], 8
call fcn.0043d730
lea edi, [esi + 0x3cc]
mov byte [esi + 0x3c8], bl
mov eax, 0x442f50
mov dword [edi], 0x4a2b14
mov dword [edi + 4], ebx
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], eax
mov byte [edi + 0x18], 1
mov dword [esi + 0x3e8], ebx
lea edx, [esi + 0x400]
mov dword [esi + 0x3f0], ebx
mov dword [esi + 0x3f4], ebx
mov dword [esi + 0x3f8], ebx
push edx
mov dword [esi + 0x3fc], 0x4a2f84
call ebp
lea eax, [esp + 0x18]
push eax
push 0x101
call dword [0x4a04b8]
push ebx
mov ecx, edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x24c], ebx
call fcn.0043d810
mov eax, esi
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00463af0
add esp, 0x1a4
ret 4
Function at 0x444070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49ab78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b8658]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 3
push 0x4a31cc
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00404440
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x34], 0
call fcn.00443c90
add esp, 0xc
cmp dword [esp + 0x1c], 0x10
jb 0x4440eb
mov eax, dword [esp + 8]
push eax
call fcn.00463b29
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret

Function at 0x444100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49ab78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b8658]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 3
push 0x4a31cc
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00404440
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x34], 0
call fcn.00443ba0
add esp, 0xc
cmp dword [esp + 0x1c], 0x10
jb 0x44417b
mov eax, dword [esp + 8]
push eax
call fcn.00463b29
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret
Function at 0x4448a0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x44cd00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49b423
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b8658]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.0048205c
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x44cd51
mov eax, dword [esi + 0x1c]
push eax
call fcn.00463b29
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x44f540
Capabilities:
Resolve dns

Disassembly:
mov ax, word [esp + 8]
push ebx
push edi
mov edi, dword [esp + 0xc]
mov ebx, ecx
push 1
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [ebx], 0
mov word [ebx + 4], ax
mov byte [esp + 0x1c], 0x2e
call fcn.0044a580
cmp eax, 0xffffffff
je 0x44f5cb
cmp dword [edi + 0x18], 0x10
push esi
lea esi, [edi + 4]
jb 0x44f57f
mov eax, dword [esi]
jmp 0x44f581
mov eax, esi
push ebp
mov ebp, dword [0x4a04cc]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x44f5b5
cmp dword [edi + 0x18], 0x10
jb 0x44f598
mov esi, dword [esi]
push esi
call dword [0x4a04c8]
test eax, eax
je 0x44f5ac
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebx], ecx
pop ebp
pop esi
pop edi
mov eax, ebx
pop ebx
ret 8
cmp dword [edi + 0x18], 0x10
jb 0x44f5bd
mov esi, dword [esi]
push esi
call ebp
pop ebp
pop esi
mov dword [ebx], eax
pop edi
mov eax, ebx
pop ebx
ret 8
pop edi
mov dword [ebx], 0xffffffff
mov eax, ebx
pop ebx
ret 8

Function at 0x44f7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49b3b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b8658]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4b8658]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov ecx, dword [esi]
test ecx, ecx
mov dword [esp + 0x30], 0
je 0x44f823
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
push eax
mov ecx, 0x4b8510
call fcn.0046401b
test al, al
je 0x44f823
mov esi, dword [esi]
add esi, 4
jmp 0x44f825
xor esi, esi
cmp dword [esp + 0x20], 0x10
jb 0x44f839
mov eax, dword [esp + 0xc]
push eax
call fcn.00463b29
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00463af0
add esp, 0x2c
ret
Function at 0x4513d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49ba58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8658]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov ebp, dword [0x4a02f8]
mov dword [esi + 4], 0x4a3660
mov dword [esi + 8], 0x4a1a28
lea eax, [esi + 0x10]
mov dword [esi], 0x4a36bc
mov dword [esi + 4], 0x4a36ac
mov dword [esi + 8], 0x4a36a8
push eax
mov dword [esi + 0xc], 0x4a2f84
call ebp
xor ebx, ebx
lea ecx, [esi + 0x34]
mov dword [esp + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.004351f0
lea ecx, [esi + 0x1f4]
mov byte [esp + 0x20], 1
call fcn.00404000
lea edi, [esi + 0x384]
mov dword [esi + 0x370], ebx
mov dword [esi + 0x374], ebx
mov dword [esi + 0x378], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], 1
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0x394], ebx
mov word [esi + 0x398], bx
mov dword [esi + 0x39a], ebx
mov word [esi + 0x39e], bx
mov dword [esi + 0x3a0], ebx
mov byte [esi + 0x3a4], bl
mov dword [esi + 0x3a8], ebx
mov eax, 0xf
mov dword [esi + 0x3c4], eax
mov dword [esi + 0x3c0], ebx
mov byte [esi + 0x3b0], bl
mov dword [esi + 0x3e0], eax
mov dword [esi + 0x3dc], ebx
mov byte [esi + 0x3cc], bl
lea ecx, [esi + 0x3ec]
mov dword [esi + 0x3e4], 0x4a36a4
push ecx
mov dword [esi + 0x3e8], 0x4a2f84
call ebp
mov eax, 0xf
mov dword [esi + 0x41c], eax
mov dword [esi + 0x418], ebx
mov byte [esi + 0x408], bl
mov dword [esi + 0x420], 3
mov dword [esi + 0x43c], eax
mov dword [esi + 0x438], ebx
mov byte [esi + 0x428], bl
push 0x408
lea ebp, [esi + 0x441]
push ebx
push ebp
mov byte [esi + 0x440], bl
call fcn.00464040
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov byte [esi + 0x849], bl
mov byte [esi + 0x84a], bl
add esp, 0xc
mov dword [esi + 0x850], ebx
mov dword [esi + 0x854], ebx
mov dword [esi + 0x858], ebx
mov byte [esp + 0x20], 8
mov byte [esi + 0x85c], bl
push ebx
push 0x10
mov ecx, edi
mov dword [esi + 0x860], ebx
mov dword [esi + 0x864], ebx
mov dword [esi + 0x868], ebx
mov byte [esi + 0x86c], bl
call fcn.0040be60
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4590a0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4a0428]
xor ebx, ebx
push ebx
mov ebp, ecx
call edi
push 1
mov esi, eax
call edi
push ebx
push 0x4a1524
mov edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [0x4a0388]
cmp eax, ebx
je 0x4590e8
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [0x4a03ac]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x459103
sub eax, dword [esp + 0x18]
lea ecx, [edi - 0xe2]
lea eax, [eax + esi - 0xcd]
jmp 0x459133
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x459113
add ecx, 0xffffff1e
jmp 0x45912d
mov eax, dword [esp + 0x18]
cmp eax, edi
jge 0x459126
add eax, 5
lea ecx, [edi - 0xe2]
jmp 0x459133
mov ecx, dword [esp + 0x1c]
add ecx, 0x1f
lea eax, [esi - 0xcd]
mov edx, dword [ebp + 4]
push 0x10
push 0xdf
push 0xc8
push ecx
push eax
push ebx
push edx
call dword [0x4a0474]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x459390
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49c58e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b8658]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi], 0x4a3b54
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call fcn.00460350
mov dword [esi + 0x78], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x459ab0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [0x4a0440]
test eax, eax
jne 0x459b18
mov ecx, dword [esi + 4]
push ebx
push edi
mov edi, dword [0x4a0420]
push 5
push ecx
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
mov ebx, dword [0x4a03e4]
je 0x459af3
mov edx, dword [eax + 4]
push edx
call ebx
test eax, eax
je 0x459af3
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
mov eax, dword [esi + 0x28]
test eax, eax
je 0x459b0f
mov edx, dword [eax + 4]
push edx
call ebx
test eax, eax
je 0x459b0f
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
add dword [0x4bad2c], 1
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10
Function at 0x45a120
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4a0428]
xor ebx, ebx
push ebx
mov ebp, ecx
call edi
push 1
mov esi, eax
call edi
push ebx
push 0x4a1524
mov edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [0x4a0388]
cmp eax, ebx
je 0x45a168
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [0x4a03ac]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x45a183
sub eax, dword [esp + 0x18]
lea ecx, [edi - 0x100]
lea eax, [eax + esi - 0xcf]
jmp 0x45a1b3
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x45a193
add ecx, 0xffffff00
jmp 0x45a1ad
mov eax, dword [esp + 0x18]
cmp eax, edi
jge 0x45a1a6
add eax, 3
lea ecx, [edi - 0x100]
jmp 0x45a1b3
mov ecx, dword [esp + 0x1c]
add ecx, 1
lea eax, [esi - 0xcf]
mov edx, dword [ebp + 4]
push 0x10
push 0xff
push 0xcc
push ecx
push eax
push 0xfffffffffffffffe
push edx
call dword [0x4a0474]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x45a640
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb2c
mov eax, dword [0x4b8658]
xor eax, esp
mov dword [esp + 0xb28], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, ecx
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x45a688
mov ecx, dword [edi + 0x40]
sub ecx, eax
mov eax, 0xa57eb503
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x45a68d
call fcn.00463f97
imul esi, esi, 0x630
add esi, dword [edi + 0x3c]
mov ecx, 0x18c
lea edi, [esp + 0x2f8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2f8]
push eax
push 0
push 0x410
call dword [0x4a00d8]
mov esi, eax
test esi, esi
je 0x45a6f0
push 0x104
lea ecx, [esp + 0x92c]
push ecx
push 0
push esi
call fcn.00494adc
lea edx, [esp + 0x928]
push edx
push 0x4a3c78
call fcn.00467c09
add esp, 8
push esi
call dword [0x4a02e8]
push 0x100
push 0x2b4
lea eax, [esp + 0x48]
push eax
push 0
lea ecx, [esp + 0x938]
push ecx
call dword [0x4a0378]
test eax, eax
jl 0x45a71b
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [0x4a0478]
mov eax, dword [ebx]
mov edi, dword [esp + 0x3c]
push eax
call dword [0x4a0058]
mov edx, dword [ebx]
push edx
mov esi, eax
call dword [0x4a0050]
push esi
call dword [0x4a0050]
push edi
push esi
call dword [0x4a005c]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push 0x18
push edi
call dword [0x4a007c]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 3
push 0
push 0
push 0x10
push 0x10
push ecx
mov ecx, dword [ebx]
add edx, 0xc
push edx
add eax, 0xe
push eax
push ecx
call dword [0x4a0450]
push 0xffffffffffffffff
push esi
call dword [0x4a004c]
test esi, esi
je 0x45a7ba
push esi
call dword [0x4a0054]
test eax, eax
je 0x45a7ba
xor esi, esi
mov edx, dword [ebx]
push 0xffffffffffffffff
push edx
call dword [0x4a004c]
mov eax, dword [esp + 0x3c]
mov ebx, dword [0x4a0074]
push eax
call ebx
mov ecx, dword [esp + 0x38]
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
call dword [0x4a047c]
test esi, esi
je 0x45a7ef
push esi
call dword [0x4a0054]
test edi, edi
je 0x45a7f6
push edi
call ebx
mov ecx, dword [esp + 0xb34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00463af0
mov esp, ebp
pop ebp
ret 0x18

Function at 0x460540
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [0x4a0414]
push 0
push 0
push 0x465
push eax
call dword [0x4a03b0]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [0x4a0420]
xor eax, eax
pop esi
ret 0x10
Function at 0x461610
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00460c70
mov eax, dword [esi + 4]
push eax
call dword [0x4a0414]
push 0
push 0
push 0x465
push eax
call dword [0x4a03b0]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [0x4a0420]
xor eax, eax
pop esi
ret 0x10

Function at 0x4808e2
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x4809bf
cmp byte [edi], bl
je 0x4809bf
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x4809bf
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push edi
mov byte [esi], bl
call dword [0x4a0224]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x4809bf
push ebx
push edi
mov dword [ebp - 8], ebx
call fcn.00494ac4
mov edi, eax
cmp edi, ebx
mov byte [esi], bl
je 0x4809b1
push edi
call fcn.004640e0
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
je 0x4809b1
push eax
push edi
push ebx
push dword [ebp + 8]
call fcn.00494abe
test eax, eax
je 0x4809a8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push 0x4a6408
push dword [ebp - 4]
mov dword [ebp + 8], ebx
mov dword [ebp - 0xc], ebx
call fcn.00494ab8
test eax, eax
je 0x4809a8
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push 0x77
push esi
call fcn.0046763a
add esp, 0x1c
mov dword [ebp - 8], 1
push dword [ebp - 4]
call fcn.00463dda
pop ecx
push dword [ebp - 0x10]
call dword [0x4a02e8]
mov eax, dword [ebp - 8]
jmp 0x4809c1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4809c6
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x4b8658]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
mov esi, edx
je 0x480b6a
cmp byte [edi], bl
je 0x480b6a
cmp esi, ebx
je 0x480b6a
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push edi
mov byte [esi], bl
call dword [0x4a0224]
cmp eax, 0xffffffff
mov dword [ebp - 0x4c], eax
je 0x480b6a
push ebx
push edi
mov dword [ebp - 0x58], ebx
call fcn.00494ac4
cmp eax, ebx
mov dword [ebp - 0x48], eax
mov byte [esi], bl
je 0x480aa7
push eax
call fcn.004640e0
cmp eax, ebx
pop ecx
mov dword [ebp - 0x5c], eax
je 0x480aa7
push eax
push dword [ebp - 0x48]
push ebx
push edi
call fcn.00494abe
test eax, eax
je 0x480a9e
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x4a6408
push dword [ebp - 0x5c]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x54], ebx
call fcn.00494ab8
test eax, eax
je 0x480a9e
push esi
call fcn.00469990
mov ecx, dword [ebp - 0x48]
movzx edx, word [ecx + 0xc]
push edx
movzx edx, word [ecx + 0xe]
push edx
movzx edx, word [ecx + 8]
movzx ecx, word [ecx + 0xa]
push edx
push ecx
dec eax
push str._d._d._d._d
push eax
push esi
call fcn.0046763a
add esp, 0x20
mov dword [ebp - 0x58], 1
push dword [ebp - 0x5c]
call fcn.00463dda
pop ecx
mov edi, dword [0x4a011c]
push ebx
lea eax, [ebp - 0x50]
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x4c]
call edi
test eax, eax
je 0x480b5c
cmp dword [ebp - 0x50], 0x40
jne 0x480b5c
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x4c]
call dword [0x4a0120]
push ebx
lea eax, [ebp - 0x50]
push eax
push 0xf8
lea eax, [ebp - 0x17c]
push eax
push dword [ebp - 0x4c]
call edi
test eax, eax
je 0x480b5c
cmp dword [ebp - 0x50], 0xf8
jne 0x480b5c
push esi
call fcn.00469990
add esi, eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x5c], ebx
call fcn.00494fca
push 9
pop ecx
mov esi, eax
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x84]
mov eax, dword [ebp - 0x74]
push dword [ebp - 0x80]
inc eax
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x70]
add eax, 0x76c
push eax
push str.__04d__02d__02d__02d:_02d:_02d
push 0x77
push dword [ebp - 0x54]
call fcn.0046763a
add esp, 0x2c
push dword [ebp - 0x4c]
call dword [0x4a02e8]
mov eax, dword [ebp - 0x58]
jmp 0x480b6c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00463af0
leave
ret
Function at 0x4816ad
Capabilities:
Parse pe header

Disassembly:
push ebp
sub esp, 0x90
lea ebp, [esp - 4]
mov eax, dword [0x4b8658]
xor eax, ebp
mov dword [ebp + 0x90], eax
push 0x118
mov eax, 0x49d226
call fcn.00474a2a
mov ebx, dword [ebp + 0x9c]
mov esi, dword [ebp + 0xa0]
mov eax, dword [ebp + 0xa4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xa8]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 0xac]
mov dword [ebp - 0x24], edx
and dword [ebp - 4], 0
mov byte [ebp + 0x40], 0
xor eax, eax
lea edi, [ebp + 0x41]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
pop ecx
xor eax, eax
lea edi, [ebp + 0x48]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x18]
push eax
push 0x40
lea eax, [ebp]
push eax
push esi
push ebx
call edx
test eax, eax
je 0x481735
cmp dword [ebp - 0x18], 0x40
mov byte [ebp - 0x14], 1
je 0x481739
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00481672
cmp word [ebp], 0x5a4d
sete al
mov byte [ebp - 0x14], al
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00481672
lea eax, [ebp - 0x18]
push eax
mov edi, 0xf8
push edi
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp + 0x3c]
add eax, esi
push eax
push ebx
call dword [ebp - 0x24]
test eax, eax
je 0x481783
cmp dword [ebp - 0x18], edi
mov byte [ebp - 0x14], 1
je 0x481787
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00481672
cmp dword [ebp - 0x124], 0x4550
jne 0x4817b8
cmp word [ebp - 0x120], 0x14c
jne 0x4817b8
cmp word [ebp - 0x10c], 0x10b
mov byte [ebp - 0x14], 1
je 0x4817bc
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00481672
mov eax, dword [ebp + 0x3c]
lea eax, [esi + eax + 0xf8]
mov dword [ebp - 0x1c], eax
movzx edi, word [ebp - 0x11e]
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], edi
jae 0x481869
lea eax, [ebp - 0x18]
push eax
push 0x28
lea eax, [ebp + 0x68]
push eax
push dword [ebp - 0x1c]
push ebx
call dword [ebp - 0x24]
test eax, eax
je 0x481807
cmp dword [ebp - 0x18], 0x28
mov byte [ebp - 0x14], 1
je 0x48180b
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00481672
add dword [ebp - 0x1c], 0x28
push 0x28
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.00477d29
add esp, 0xc
test eax, eax
je 0x481869
mov ecx, dword [ebp + 0x8c]
mov eax, 0x20000020
and ecx, eax
cmp ecx, eax
jne 0x48185a
mov eax, dword [ebp + 0x74]
add eax, esi
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x78]
add eax, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x48186b
inc dword [ebp - 0x20]
jmp 0x4817df
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.00463af0
add ebp, 0x94
leave
ret