joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484cf2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x49dd48]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x44005c
mov dword [ebp - 0x24], 0x690072
mov dword [ebp - 0x20], 0x650076
mov dword [ebp - 0x1c], 0x5c0072
mov dword [ebp - 0x18], 0x640077
mov dword [ebp - 0x14], 0x300066
mov dword [ebp - 0x10], 0x300031
mov dword [ebp - 0xc], 0x300030
call fcn.0047a028
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489f30
mov esp, ebp
pop ebp
ret

Function at 0x4854fc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x49dd48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x790073
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x60]
push 1
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x58], 0x53005c
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 0x730079
push eax
mov dword [ebp - 0x50], 0x650074
mov dword [ebp - 0x4c], 0x52006d
mov dword [ebp - 0x48], 0x6f006f
mov dword [ebp - 0x44], 0x5c0074
mov dword [ebp - 0x3c], 0x740073
mov dword [ebp - 0x38], 0x6d0065
mov dword [ebp - 0x34], 0x320033
mov dword [ebp - 0x30], 0x64005c
mov dword [ebp - 0x2c], 0x690072
mov dword [ebp - 0x28], 0x650076
mov dword [ebp - 0x24], 0x730072
mov dword [ebp - 0x20], 0x77005c
mov dword [ebp - 0x1c], 0x660064
mov dword [ebp - 0x18], 0x310030
mov dword [ebp - 0x14], 0x300030
mov dword [ebp - 0x10], 0x2e0030
mov dword [ebp - 8], 0x73
call fcn.00439b16
test eax, eax
jne 0x4855da
push ebx
push edi
push esi
push dword [ebp - 0x60]
push dword [ebp - 0x5c]
call fcn.00405020
cmp al, 1
jne 0x4855d2
mov bl, al
push dword [ebp - 0x5c]
call fcn.00478d8c
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489f30
mov esp, ebp
pop ebp
ret 8
Function at 0x4861b6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x49dd48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x790073
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x5c]
push 1
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 0x53005c
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x50], 0x730079
push eax
mov dword [ebp - 0x4c], 0x650074
mov dword [ebp - 0x48], 0x52006d
mov dword [ebp - 0x44], 0x6f006f
mov dword [ebp - 0x40], 0x5c0074
mov dword [ebp - 0x38], 0x740073
mov dword [ebp - 0x34], 0x6d0065
mov dword [ebp - 0x30], 0x320033
mov dword [ebp - 0x2c], 0x64005c
mov dword [ebp - 0x28], 0x690072
mov dword [ebp - 0x24], 0x650076
mov dword [ebp - 0x20], 0x730072
mov dword [ebp - 0x1c], 0x77005c
mov dword [ebp - 0x18], 0x660064
mov dword [ebp - 0x14], 0x64006c
mov dword [ebp - 0x10], 0x2e0072
mov dword [ebp - 8], 0x73
call fcn.00439b16
test eax, eax
jne 0x48628d
push ebx
push edi
push esi
push dword [ebp - 0x5c]
push dword [ebp - 0x58]
call fcn.00405020
cmp al, 1
jne 0x486285
mov bl, al
push dword [ebp - 0x58]
call fcn.00478d8c
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489f30
mov esp, ebp
pop ebp
ret 8
Function at 0x486716
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x49dd48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x320033
push edi
mov edi, dword [ebp + 0xc]
mov ecx, 0x730079
mov dword [ebp - 0x28], eax
xor ebx, ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x54]
push 1
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 0x53005c
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x48], ecx
push eax
mov dword [ebp - 0x44], 0x650074
mov dword [ebp - 0x40], 0x52006d
mov dword [ebp - 0x3c], 0x6f006f
mov dword [ebp - 0x38], 0x5c0074
mov dword [ebp - 0x34], 0x790073
mov dword [ebp - 0x30], 0x740073
mov dword [ebp - 0x2c], 0x6d0065
mov dword [ebp - 0x24], 0x77005c
mov dword [ebp - 0x20], 0x6e0069
mov dword [ebp - 0x18], 0x73006b
mov dword [ebp - 0x14], 0x640067
mov dword [ebp - 0x10], 0x73002e
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ebx
call fcn.00439b16
test eax, eax
jne 0x4867d8
push ebx
push edi
push esi
push dword [ebp - 0x54]
push dword [ebp - 0x50]
call fcn.00405020
cmp al, 1
jne 0x4867d0
mov bl, al
push dword [ebp - 0x50]
call fcn.00478d8c
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489f30
mov esp, ebp
pop ebp
ret 8

Function at 0x4868ba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x49dd48]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x20], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x8f6
call fcn.004355f2
mov esi, eax
test esi, esi
je 0x4869a2
push 0x8fb
call fcn.004355f2
test eax, eax
jne 0x4869a2
and dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x7355744e
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x18], 0x75427265
push ebx
mov dword [ebp - 0x14], 0x48646c69
mov dword [ebp - 0x10], 0x4c646e77
mov dword [ebp - 0xc], 0x747369
call fcn.00404e08
cmp al, 1
jne 0x48694d
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x48694d
cmp eax, dword [ebp + 0xc]
jae 0x48694d
add eax, esi
push eax
push 0x1f2
call fcn.004356b2
and dword [ebp - 8], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x7355744e
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x18], 0x75517265
push ebx
mov dword [ebp - 0x14], 0x57797265
mov dword [ebp - 0x10], 0x6f646e69
mov dword [ebp - 0xc], 0x77
call fcn.00404e08
cmp al, 1
jne 0x4869a2
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4869a2
cmp eax, dword [ebp + 0xc]
jae 0x4869a2
add eax, esi
push eax
push 0x1f7
call fcn.004356b2
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00489f30
mov esp, ebp
pop ebp
ret 8
Function at 0x4ba000
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.004ba010
pop ebp
jmp fcn.00480784
Function at 0x413cc0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x413e46
mov al, 1
jmp 0x41486a
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x38], 0
jne 0x41401c
push eax
push ebx
lea ebx, [0x40b420]
call ebx
lea ebx, [0x40b430]
jmp ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push eax
push ebx
lea ebx, [0x40b420]
call ebx
lea ebx, [0x40b430]
jmp ebx
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x494253
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4a92b0]
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.00441578
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x41f3f1
mov eax, dword [esi + 0x1c]
push eax
call fcn.00477b11
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 0x42e780
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x4a92b0]
xor eax, esp
mov dword [esp + 0x194], eax
xor eax, eax
push 0x18e
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.0047d530
add esp, 0xc
lea edx, [esp]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x194]
xor ecx, esp
mov eax, 0x4abb56
call fcn.00477b1c
mov esp, ebp
pop ebp
ret
Function at 0x439ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x494838
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a92b0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x8c]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 4]
mov esi, dword [edi + 0x14]
sub eax, 2
mov ebx, 1
cmp esi, eax
ja 0x439b4a
cmp dword [edi + 0x18], eax
je 0x439b4a
push ebx
push eax
call fcn.00408b40
test al, al
je 0x439b4a
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], esi
jb 0x439b43
mov eax, dword [edi + 4]
jmp 0x439b46
lea eax, [edi + 4]
mov byte [eax + esi], 0
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
sub ecx, ebx
add esi, ebx
mov dword [esp + 0x18], ecx
cmp esi, ecx
je 0x439d2b
jmp 0x439b66
mov ecx, dword [esp + 0x18]
mov al, byte [esi]
add esi, ebx
mov byte [esp + 0x20], al
cmp al, 0x22
je 0x439d2b
cmp al, 0x5c
jne 0x439c67
cmp esi, ecx
je 0x439c83
mov al, byte [esi]
movsx eax, al
add esi, ebx
add eax, 0xffffffde
mov dword [esp + 0x8c], esi
cmp eax, 0x53
ja case.0x439ba7.35
movzx eax, byte [eax + 0x439d6c]
jmp dword [eax*4 + 0x439d44]
push 0x22
jmp 0x439c6c
push 0x2f
jmp 0x439c6c
push 0x5c
jmp 0x439c6c
push 8
jmp 0x439c6c
push 0xc
jmp 0x439c6c
push 0xa
jmp 0x439c6c
push 0xd
jmp 0x439c6c
push 9
jmp 0x439c6c
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
lea ecx, [esp + 0x98]
mov edx, ebp
call fcn.00439dc0
test al, al
je 0x439ccf
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x5c]
call fcn.00438130
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov dword [esp + 0x8c], ebx
call fcn.0040cf80
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x74], 0x10
jb 0x439c49
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00477b11
add esp, 4
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jmp 0x439c74
mov edx, dword [esp + 0x20]
push edx
push ebx
mov ecx, edi
call fcn.0040aa10
cmp esi, dword [esp + 0x18]
jne 0x439b62
jmp 0x439d2b
push 0x1f
xor edi, edi
push str.Empty_escape_sequence_in_string
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
call fcn.00408c00
mov edx, dword [esp + 0x88]
push esi
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x88], edi
call fcn.0043a070
cmp dword [esp + 0x3c], 0x10
mov bl, al
jb 0x439d2b
mov eax, dword [esp + 0x28]
push eax
jmp 0x439d23
xor al, al
jmp 0x439d2d
push 0x1d
push str.Bad_escape_sequence_in_string
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
call fcn.00408c00
mov edx, dword [esp + 0x88]
push esi
push ebp
lea ecx, [esp + 0x48]
mov dword [esp + 0x88], 2
call fcn.0043a070
cmp dword [esp + 0x58], 0x10
mov bl, al
jb 0x439d2b
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00477b11
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
Function at 0x43e210
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x4a92b0]
xor eax, esp
mov dword [esp + 0x298], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
xor ebx, ebx
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x43e301
mov eax, dword [esp + 0x10]
push eax
call fcn.004412d6
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x43e2f8
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x43e2f8
mov esi, edi
mov edi, edi
mov eax, dword [esi + 0x190]
cmp eax, 0x400
jae 0x43e2d6
cmp eax, ebx
ja 0x43e2b9
mov esi, dword [esi]
cmp esi, ebx
jne 0x43e280
push edi
call fcn.00477b11
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.00477b1c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x14]
mov edx, eax
push edx
lea eax, [esi + 0x194]
push eax
push ecx
call fcn.0047d090
mov ebx, dword [esi + 0x190]
add esp, 0xc
push edi
call fcn.00477b11
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.00477b1c
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.00477b11
add esp, 4
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00477b1c
mov esp, ebp
pop ebp
ret 4
Function at 0x43fdc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, dword [esp + 8]
cmp ebp, 0x1a
jle 0x43ff37
movzx eax, byte [ebx]
mov byte [esi], al
movzx ecx, byte [ebx + 1]
mov byte [esi + 1], cl
movzx ax, byte [ebx + 3]
shl ax, 8
mov word [esi + 2], ax
movzx edx, byte [ebx + 2]
add dx, ax
mov word [esi + 2], dx
movzx ax, byte [ebx + 5]
shl ax, 8
mov word [esi + 4], ax
movzx ecx, byte [ebx + 4]
add cx, ax
mov word [esi + 4], cx
movzx ax, byte [ebx + 7]
shl ax, 8
mov word [esi + 6], ax
movzx edx, byte [ebx + 6]
add dx, ax
mov word [esi + 6], dx
movzx ax, byte [ebx + 9]
shl ax, 8
mov word [esi + 8], ax
movzx ecx, byte [ebx + 8]
add cx, ax
mov word [esi + 8], cx
movzx ax, byte [ebx + 0xb]
shl ax, 8
mov word [esi + 0xa], ax
movzx edx, byte [ebx + 0xa]
add dx, ax
mov word [esi + 0xa], dx
movzx ax, byte [ebx + 0xd]
shl ax, 8
mov word [esi + 0xc], ax
movzx ecx, byte [ebx + 0xc]
add cx, ax
mov word [esi + 0xc], cx
movzx edx, byte [ebx + 0xe]
mov byte [esi + 0xe], dl
movzx eax, byte [ebx + 0xf]
mov byte [esi + 0xf], al
movzx ecx, byte [ebx + 0x10]
mov byte [esi + 0x10], cl
movzx edx, byte [ebx + 0x11]
mov byte [esi + 0x11], dl
movzx eax, byte [ebx + 0x12]
mov byte [esi + 0x12], al
movzx ax, byte [ebx + 0x14]
shl ax, 8
mov word [esi + 0x14], ax
movzx ecx, byte [ebx + 0x13]
add cx, ax
mov word [esi + 0x14], cx
movzx ax, byte [ebx + 0x16]
shl ax, 8
mov word [esi + 0x16], ax
movzx edx, byte [ebx + 0x15]
add dx, ax
mov word [esi + 0x16], dx
movzx eax, byte [ebx + 0x17]
mov byte [esi + 0x18], al
movzx ecx, byte [ebx + 0x18]
mov byte [esi + 0x19], cl
movzx edx, byte [ebx + 0x19]
mov byte [esi + 0x1a], dl
movzx eax, byte [ebx + 0x1a]
mov dl, byte [esi + 0x18]
push edi
mov byte [esi + 0x1b], al
movzx eax, byte [esi + 1]
mov edi, ebp
sub edi, eax
add eax, ebx
push eax
lea ecx, [esi + 0x20]
push ecx
call fcn.0043fc60
movzx eax, byte [esi + 1]
mov dl, byte [esi + 0x19]
mov edi, ebp
sub edi, eax
add eax, ebx
lea ecx, [esi + 0x74]
push eax
push ecx
call fcn.0043fc60
movzx eax, byte [esi + 1]
mov edi, ebp
sub edi, eax
add eax, ebx
lea edx, [esi + 0x58]
push eax
push edx
mov dl, byte [esi + 0x1a]
call fcn.0043fc60
movzx eax, byte [esi + 1]
mov dl, byte [esi + 0x1b]
mov edi, ebp
sub edi, eax
add eax, ebx
push eax
lea eax, [esi + 0x74]
push eax
call fcn.0043fc60
pop edi
pop ebp
ret 4
Function at 0x43ff70
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x4a92b0]
xor eax, esp
mov dword [esp + 0x120], eax
mov ax, word [0x4abb78]
push esi
mov esi, 0x20
test ax, ax
jne 0x440153
push edi
push str.IsWow64Process
xor eax, eax
push str.kernel32
mov word [0x4abb78], ax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43ffdd
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x43ffdd
cmp dword [esp + 8], 0
je 0x43ffdd
mov esi, 0x40
push 0x11c
lea edx, [esp + 0x10]
push 0
push edx
call fcn.0047d530
add esp, 0xc
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
pop edi
test eax, eax
je 0x44014d
mov eax, dword [esp + 0xc]
cmp eax, 4
jne 0x44003d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44002c
cmp eax, 0xa
je 0x44002c
cmp eax, 0x5a
jne 0x44014d
mov ecx, 1
mov word [0x4abb78], cx
jmp 0x44014d
cmp eax, 5
jne 0x4400bf
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x44005b
mov edx, 2
mov word [0x4abb78], dx
jmp 0x44014d
cmp eax, 1
jne 0x44008b
cmp si, 0x20
jne 0x440070
mov eax, 4
jmp 0x440147
cmp si, 0x40
jne 0x44014d
mov ecx, 8
mov word [0x4abb78], cx
jmp 0x44014d
cmp eax, 2
jne 0x44014d
cmp si, 0x20
jne 0x4400ab
mov edx, 0x10
mov word [0x4abb78], dx
jmp 0x44014d
cmp si, 0x40
jne 0x44014d
mov eax, 0x20
jmp 0x440147
cmp eax, 6
jne 0x44014d
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x440123
cmp byte [esp + 0x122], 3
jne 0x440102
cmp si, 0x20
jne 0x4400ee
mov ecx, pe_nt_image_headers32
mov word [0x4abb78], cx
jmp 0x44014d
cmp si, 0x40
jne 0x44014d
mov edx, 0x200
mov word [0x4abb78], dx
jmp 0x44014d
cmp si, 0x20
jne 0x44010f
mov eax, 0x40
jmp 0x440147
cmp si, 0x40
jne 0x44014d
mov ecx, 0x80
mov word [0x4abb78], cx
jmp 0x44014d
cmp eax, 1
jne 0x44014d
cmp si, 0x20
jne 0x44013c
mov edx, 0x400
mov word [0x4abb78], dx
jmp 0x44014d
cmp si, 0x40
jne 0x44014d
mov eax, 0x800
mov word [0x4abb78], ax
mov ax, word [0x4abb78]
mov ecx, dword [esp + 0x124]
pop esi
xor ecx, esp
call fcn.00477b1c
add esp, 0x124
ret
Function at 0x4404e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
mov edi, eax
xor ebx, ebx
cmp dword [edi + 4], ebx
jne 0x4404f0
pop edi
xor eax, eax
pop ebx
ret
movzx eax, byte [edi]
dec eax
push esi
cmp eax, 0x10
ja case.0x440505.2
movzx eax, byte [eax + 0x440670]
jmp dword [eax*4 + 0x44065c]
push 0xc4
call fcn.00477b2b
add esp, 4
cmp eax, ebx
je 0x440526
call fcn.0043f8f0
mov esi, eax
jmp 0x440528
xor esi, esi
push 0xc4
push ebx
push esi
call fcn.0047d530
mov ecx, dword [edi + 4]
mov ebx, dword [edi + 8]
add esp, 0xc
push ecx
call fcn.0043f950
mov eax, esi
pop esi
pop edi
pop ebx
ret
push 0x7c
call fcn.00477b2b
add esp, 4
cmp eax, ebx
je 0x440587
mov dword [eax + 0x20], ebx
mov ecx, 0xf
mov dword [eax + 0x24], ecx
mov byte [eax + 0x10], bl
mov dword [eax + 0x40], ecx
mov dword [eax + 0x3c], ebx
mov byte [eax + 0x2c], bl
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x58], ebx
mov byte [eax + 0x48], bl
mov dword [eax + 0x78], ecx
mov dword [eax + 0x74], ebx
mov byte [eax + 0x64], bl
mov byte [eax], 3
mov esi, eax
jmp 0x440589
xor esi, esi
push 0x7c
push ebx
push esi
call fcn.0047d530
mov ebx, dword [edi + 4]
mov edi, dword [edi + 8]
add esp, 0xc
call fcn.0043fba0
mov eax, esi
pop esi
pop edi
pop ebx
ret
push 0x2c
call fcn.00477b2b
add esp, 4
cmp eax, ebx
je 0x4405c8
mov dword [eax + 0x28], 0xf
mov dword [eax + 0x24], ebx
mov byte [eax + 0x14], bl
mov byte [eax], 6
mov esi, eax
jmp 0x4405ca
xor esi, esi
push 0x2c
push ebx
push esi
call fcn.0047d530
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
add esp, 0xc
mov eax, esi
call fcn.0043fd30
mov eax, esi
pop esi
pop edi
pop ebx
ret
push 0x90
call fcn.00477b2b
add esp, 4
cmp eax, ebx
je 0x440630
mov dword [eax + 0x34], ebx
mov ecx, 0xf
mov dword [eax + 0x38], ecx
mov byte [eax + 0x24], bl
mov dword [eax + 0x54], ecx
mov dword [eax + 0x50], ebx
mov byte [eax + 0x40], bl
mov dword [eax + 0x70], ecx
mov dword [eax + 0x6c], ebx
mov byte [eax + 0x5c], bl
mov dword [eax + 0x8c], ecx
mov dword [eax + 0x88], ebx
mov byte [eax + 0x78], bl
mov byte [eax], 0x11
mov esi, eax
jmp 0x440632
xor esi, esi
push 0x90
push ebx
push esi
call fcn.0047d530
mov edx, dword [edi + 4]
mov ebx, dword [edi + 8]
add esp, 0xc
push edx
call fcn.0043fdc0
mov eax, esi
pop esi
pop edi
pop ebx
ret
pop esi
pop edi
xor eax, eax
pop ebx
ret
Function at 0x4425b6
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x493f4e
call fcn.0047c6b6
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x4426c8
cmp byte [esi + 0x42], bl
je 0x4426c8
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x4425f2
xor al, al
jmp 0x4426ca
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040a9e0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aac0
mov ecx, eax
call fcn.0040ac10
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aac0
mov ecx, eax
call fcn.0040ac10
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x442662
dec eax
je 0x442666
dec eax
dec eax
je 0x4426c4
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00408d20
mov al, bl
jmp 0x4426ca
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aac0
mov ecx, eax
call fcn.0040ac10
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x4426a6
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aac0
mov ecx, eax
call fcn.0040ac10
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00478284
add esp, 0x10
cmp edi, eax
jne 0x442650
cmp byte [esi + 0x42], 0
je 0x4426c4
test edi, edi
jne 0x442600
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040aa10
jmp 0x442600
mov bl, 1
jmp 0x442652
mov al, 1
call fcn.0047c700
ret
Function at 0x442812
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x493fbc
call fcn.0047c6b6
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x44283c
lea eax, [ebp + 8]
push eax
call fcn.00441ec5
pop ecx
jmp 0x4429b7
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
je 0x44286a
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x44286a
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
mov word [eax], di
mov ax, di
jmp 0x4429b7
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x4429b2
cmp dword [esi + 0x3c], ebx
jne 0x442893
push eax
push edi
call fcn.00441f32
pop ecx
test al, al
pop ecx
movzx eax, di
jne 0x4429b7
jmp 0x4429b2
movzx eax, di
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
call fcn.0040a9e0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0040aac0
mov ecx, eax
call fcn.0040ac10
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aac0
mov ecx, eax
call fcn.0040ac10
lea edx, [ebp - 0x38]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x442984
cmp eax, 1
jg 0x4429bf
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aac0
mov ecx, eax
call fcn.0040ac10
mov edi, dword [ebp - 0x38]
sub edi, eax
je 0x442929
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aac0
mov ecx, eax
call fcn.0040ac10
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00478284
add esp, 0x10
cmp edi, eax
jne 0x4429a6
lea eax, [ebp - 0x30]
mov byte [esi + 0x42], 1
cmp dword [ebp - 0x3c], eax
jne 0x4429ef
test edi, edi
ja 0x44294f
cmp dword [ebp - 0x18], 0x20
push 0
lea ecx, [ebp - 0x2c]
jae 0x4429ab
push 8
call fcn.0040aa10
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aac0
mov ecx, eax
call fcn.0040ac10
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aac0
mov ecx, eax
call fcn.0040ac10
lea edx, [ebp - 0x38]
push edx
mov edx, dword [ebp - 0x40]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x2e]
push edx
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x4428e0
push 0
lea ecx, [ebp - 0x2c]
push 1
call fcn.00408d20
mov eax, 0xffff
call fcn.0047c700
ret 4
cmp eax, 3
jne 0x4429a6
push dword [esi + 0x4c]
push dword [ebp - 0x30]
call fcn.00441f32
movzx esi, word [ebp + 8]
pop ecx
pop ecx
test al, al
jne 0x4429de
mov esi, 0xffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00408d20
mov ax, si
jmp 0x4429b7
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00408d20
mov ax, word [ebp + 8]
jmp 0x4429b7