joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c910
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 8]
call fcn.004d9b40
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.0043d000
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
jmp 0x43c94c
lea ecx, [ebp - 8]
call fcn.0043d050
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.004259c0
push eax
lea ecx, [ebp - 8]
call fcn.0043d070
movzx ecx, al
test ecx, ecx
je 0x43c9e8
lea ecx, [ebp - 8]
call fcn.0043d030
mov edx, dword [eax + 0x500]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 1
je 0x43c98a
cmp dword [ebp - 0x28], 2
je 0x43c997
jmp 0x43c9e3
mov eax, dword [ebp - 0xc]
add eax, 0x2000
mov dword [ebp - 0xc], eax
jmp 0x43c9e3
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 8]
call fcn.0043d030
add eax, 0x100
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax + 0x1800]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43c944
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x43c9f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0x400
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
mov al, byte [edx]
mov byte [ebp - 0x1d], al
add dword [ebp - 0x18], 1
cmp byte [ebp - 0x1d], 0
jne 0x43ca16
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xc], edx
jmp 0x43ca42
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x43ca66
push 1
push 0x4f2154
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
push ecx
call fcn.0043d410
add esp, 0xc
test eax, eax
jne 0x43ca64
jmp 0x43ca66
jmp 0x43ca39
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
lea eax, [ebp - 8]
push eax
push 1
push 0
mov ecx, dword [ebp - 4]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43caca
lea edx, [ebp - 0x10]
push edx
push 0x51b348
push 0
push 0
push str.Content_Type
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43cabe
push 0x18
push 0x4f2168
push 0x51b348
call fcn.0043d3f0
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43cade
push 0x18
push str.application_octet_stream
push 0x51b348
call fcn.0043d3f0
add esp, 0xc
mov eax, 0x51b348
mov esp, ebp
pop ebp
ret 4
Function at 0x4413b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0x10325476
push 0x40
push 0
mov eax, dword [ebp - 4]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 4]
call fcn.004425b0
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x5c], 0x80
mov esp, ebp
pop ebp
ret

Function at 0x4427a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3c2e
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x50e5d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp + 0xc]
call fcn.00401600
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0xffffffff
jne 0x44283f
push 0x4f1564
mov ecx, dword [ebp + 8]
call fcn.004018b0
mov eax, dword [ebp - 0x4d8]
or eax, 1
mov dword [ebp - 0x4d8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00426070
mov eax, dword [ebp + 8]
jmp 0x44291d
lea ecx, [ebp - 0xc4]
call fcn.00441340
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x4d4]
push ecx
push 0x400
lea edx, [ebp - 0x4cc]
push edx
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44289a
cmp dword [ebp - 0x4d4], 0
jne 0x44287f
jmp 0x44289a
mov ecx, dword [ebp - 0x4d4]
push ecx
lea edx, [ebp - 0x4cc]
push edx
lea ecx, [ebp - 0xc4]
call fcn.00441420
jmp 0x44284e
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00441530
push 0x10
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x4d0]
push edx
call fcn.004425f0
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x4d0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004031f0
mov edx, dword [ebp - 0x4d8]
or edx, 1
mov dword [ebp - 0x4d8], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4d0]
call fcn.00426070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.00441390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00426070
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee8a
mov esp, ebp
pop ebp
ret
Function at 0x442a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e32b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x50e5d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00401600
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x442b4e
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00401c40
push eax
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00401600
push eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x442b31
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.004412b0
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00426070
mov eax, dword [ebp - 0x14]
jmp 0x442b78
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00426070
mov eax, dword [ebp - 0x18]
jmp 0x442b78
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00426070
mov eax, dword [ebp - 0x1c]
jmp 0x442b78
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x442b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea ecx, [ebp + 0xc]
call fcn.004019e0
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp + 0xc]
call fcn.00401600
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.00401600
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 8], eax
lea ecx, [ebp + 8]
call fcn.00426070
lea ecx, [ebp + 0xc]
call fcn.00426070
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x442bf0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
lea ecx, [ebp + 8]
call fcn.00401600
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 4], eax
lea ecx, [ebp + 8]
call fcn.00426070
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x44c040
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x50e5d4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x51a570], 0
je 0x44c080
mov eax, dword [0x51a570]
push eax
push 0x51052c
lea ecx, [ebp - 0x110]
push ecx
push 0xe6
call fcn.004487f0
add esp, 0x10
jmp 0x44c161
call fcn.0044b480
test eax, eax
je 0x44c0f6
lea edx, [ebp - 0x320]
push edx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x320]
push eax
call fcn.0044b570
add esp, 4
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
je 0x44c0ea
mov ecx, dword [ebp - 0x324]
push ecx
push 0x510530
lea edx, [ebp - 0x110]
push edx
push 0xe6
call fcn.004487f0
add esp, 0x10
mov eax, dword [ebp - 0x324]
push eax
call fcn.004c2105
add esp, 4
jmp 0x44c0f4
mov eax, 7
jmp 0x44c261
jmp 0x44c161
lea ecx, [ebp - 0x430]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x430]
push edx
call fcn.0044b710
add esp, 4
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
je 0x44c157
mov eax, dword [ebp - 0x434]
push eax
push 0x510534
lea ecx, [ebp - 0x110]
push ecx
push 0xe6
call fcn.004487f0
add esp, 0x10
mov edx, dword [ebp - 0x434]
push edx
call fcn.004c2105
add esp, 4
jmp 0x44c161
mov eax, 7
jmp 0x44c261
lea eax, [ebp - 0x110]
push eax
call fcn.00449880
add esp, 4
mov dword [ebp - 0x114], eax
jmp 0x44c187
mov ecx, dword [ebp - 0x114]
sub ecx, 1
mov dword [ebp - 0x114], ecx
cmp dword [ebp - 0x114], 0
jbe 0x44c1a5
mov edx, dword [ebp - 0x114]
movsx eax, byte [ebp + edx - 0x111]
cmp eax, 0x5c
jne 0x44c1a5
jmp 0x44c178
mov ecx, dword [ebp - 0x114]
mov byte [ebp + ecx - 0x110], 0
lea edx, [ebp - 0x110]
push edx
push str._setilqs_
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
sub ecx, 0x1e
push ecx
call fcn.004487f0
add esp, 0x10
mov edx, dword [ebp + 0xc]
push edx
call fcn.00449880
add esp, 4
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x118]
push eax
push 0x14
call fcn.00448ad0
add esp, 8
mov dword [ebp - 0x114], 0
jmp 0x44c222
mov ecx, dword [ebp - 0x114]
add ecx, 1
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x118]
add edx, 1
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x114], 0x14
jae 0x44c253
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x118]
movzx eax, byte [eax]
xor edx, edx
mov ecx, 0x3e
div ecx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x118]
mov cl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [eax], cl
jmp 0x44c204
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x118]
mov byte [edx], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bee8a
mov esp, ebp
pop ebp
ret
Function at 0x44c900
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x50e5d4]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x120], 0x200
mov dword [ebp - 4], 0
lea eax, [ebp - 0x118]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0044c7a0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44ca7d
lea eax, [ebp - 0x118]
push eax
call fcn.0044c000
add esp, 4
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x44ca6d
call fcn.0044b480
test eax, eax
je 0x44c9ed
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x128], ecx
jmp 0x44c995
mov edx, dword [ebp - 0x128]
add edx, 2
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x128]
movzx ecx, word [eax]
test ecx, ecx
je 0x44c9bf
mov edx, dword [ebp - 0x128]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x44c9bd
xor ecx, ecx
mov edx, dword [ebp - 0x128]
mov word [edx], cx
jmp 0x44c9bf
jmp 0x44c986
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov dword [ebp - 4], eax
jmp 0x44ca5e
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x12c], edx
jmp 0x44ca0a
mov eax, dword [ebp - 0x12c]
add eax, 1
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
movsx edx, byte [ecx]
test edx, edx
je 0x44ca32
mov eax, dword [ebp - 0x12c]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x44ca30
mov edx, dword [ebp - 0x12c]
mov byte [edx], 0
jmp 0x44ca32
jmp 0x44c9fb
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x124]
push edx
call fcn.004c2105
add esp, 4
cmp dword [ebp - 4], 0
jne 0x44ca7d
mov dword [ebp - 0x120], 0x200
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004bee8a
mov esp, ebp
pop ebp
ret
Function at 0x4723f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x472401
xor eax, eax
jmp 0x47257e
push 0x44
mov eax, dword [ebp + 8]
push eax
call fcn.00446b10
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x47241f
xor eax, eax
jmp 0x47257e
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00471fa0
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00472100
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00471f80
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00471fa0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00471f80
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00471fa0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 4]
mov byte [edx + 4], cl
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004723f0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00471f80
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00471f80
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 6]
and edx, 0xfffffff7
mov eax, dword [ebp - 4]
mov word [eax + 6], dx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], 0xffffffff
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4a2b90
Capabilities:
Get hostname
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
push 0x10
mov ecx, dword [ebp - 0x3c]
call fcn.00401c40
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x3c]
call fcn.004412b0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0x288
call fcn.004c21e2
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0x288
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x6f
jne 0x4a2c28
mov eax, dword [ebp - 4]
push eax
call fcn.004c2105
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004c21e2
add esp, 4
mov dword [ebp - 4], eax
jmp 0x4a2c35
cmp dword [ebp - 0x10], 0
je 0x4a2c35
xor eax, eax
jmp 0x4a2d74
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4a2d33
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x190], 0
jbe 0x4a2d33
mov edx, dword [ebp - 4]
add edx, 0x194
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x190]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
imul edx, edx, 3
push edx
call fcn.004a2f24
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
jmp 0x4a2ca8
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
sub edx, 1
cmp dword [ebp - 0x24], edx
jae 0x4a2ce3
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x24]
movzx ecx, byte [eax]
push ecx
push str._02X_
mov edx, dword [ebp - 0x20]
imul edx, edx, 3
sub edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x30]
push eax
call fcn.004c0742
add esp, 0x10
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
jmp 0x4a2c9f
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x24]
movzx edx, byte [ecx]
push edx
push str._02X
mov eax, dword [ebp - 0x20]
imul eax, eax, 3
sub eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x30]
push ecx
call fcn.004c0742
add esp, 0x10
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 4
call fcn.00401e60
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004a2f2f
add esp, 4
mov dword [ebp - 8], 1
mov edx, dword [ebp - 4]
push edx
call fcn.004c2105
add esp, 4
cmp dword [ebp - 8], 0
je 0x4a2d55
cmp dword [ebp - 0x1c], 0
je 0x4a2d55
mov eax, dword [ebp - 0x3c]
mov dword [eax + 8], 1
cmp dword [ebp - 8], 0
je 0x4a2d6a
cmp dword [ebp - 0x1c], 0
je 0x4a2d6a
mov dword [ebp - 0x40], 1
jmp 0x4a2d71
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov esp, ebp
pop ebp
ret
Function at 0x4a48eb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4a4933
call fcn.004a5c56
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4a4933
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4a4976
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4a495f
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4a495f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4a4973
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4ab1a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4ab1e7
call fcn.004a5c56
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4ab1e7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4ab203
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004aad1a
mov esi, eax
test edi, edi
je 0x4ab201
test ebx, ebx
je 0x4ab201
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4abd5b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4abd7f
cmp dword [edi + 0x54], 0
jne 0x4abd7f
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004a5c56
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004abd1c
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8