joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20517f
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov ecx, ebx
movzx eax, byte [ecx + str.cw]
mov byte [eax + 0x2241b0], cl
inc ecx
cmp ecx, 0x100
jb 0x20518f
movzx edi, byte [ebx + str.cw]
mov eax, edi
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edi + edi]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
mov ecx, edi
mov edx, esi
shl ecx, 8
xor edx, edi
mov eax, edx
shl eax, 8
or eax, edi
shl eax, 8
or eax, edi
shl eax, 8
or eax, esi
mov dword [ebx*4 + 0x2221b0], eax
mov eax, ecx
or ecx, esi
or eax, edi
shl eax, 8
or eax, esi
shl ecx, 8
or ecx, edx
shl esi, 8
shl ecx, 8
or esi, edx
or ecx, edi
shl eax, 8
mov dword [ebx*4 + 0x2229b0], ecx
or eax, edx
shl esi, 8
or esi, edi
mov dword [ebx*4 + 0x2225b0], eax
shl esi, 8
or esi, edi
mov dword [ebx*4 + 0x222db0], esi
movzx ebx, byte [ebx + 0x2241b0]
mov eax, ebx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [ebx + ebx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
mov eax, esi
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [esi + esi]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx edx, cl
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx ecx, cl
mov eax, ecx
mov edi, ecx
xor ecx, edx
xor edi, esi
xor eax, ebx
mov dword [ebp - 8], ecx
xor edi, ebx
mov dword [ebp - 0xc], eax
xor ecx, ebx
mov ebx, dword [ebp - 8]
xor ebx, esi
mov edx, dword [ebp - 0xc]
mov eax, edi
mov esi, dword [ebp - 4]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
shl eax, 8
or eax, ebx
mov dword [esi*4 + 0x2231b0], eax
mov eax, ecx
shl eax, 8
or eax, edx
shl eax, 8
or eax, ebx
shl eax, 8
or eax, edi
mov dword [esi*4 + 0x2235b0], eax
mov eax, edx
shl eax, 8
or eax, ebx
shl ebx, 8
or ebx, edi
shl eax, 8
shl ebx, 8
or eax, edi
or ebx, ecx
shl eax, 8
shl ebx, 8
or eax, ecx
or ebx, edx
mov dword [esi*4 + 0x2239b0], eax
mov dword [esi*4 + 0x223db0], ebx
mov ebx, esi
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, 0x100
jb 0x2051a5
mov dword [0x222178], 0x204f01
mov dword [0x22217c], 0x204e63
mov dword [0x222180], 0x204f5f
call fcn.00201558
pop edi
pop esi
pop ebx
test eax, eax
je 0x205341
mov dword [0x222178], 0x216950
mov dword [0x22217c], 0x216800
mov dword [0x222180], 0x2169c0
leave
ret
Function at 0x205c85
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x2117b0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00211452
Function at 0x40c3c7
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 1
call fcn.0040dfa0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40c401
xor eax, eax
jmp 0x40c4de
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x14], 1
jne 0x40c47a
push 0
push 6
push 2
push 0
push 7
push 0x40000000
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40c4b1
push 0
push 0x80
push 2
push 0
push 7
push 0x40000000
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x18], 0xffffffff
jne 0x40c4c5
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x40c4de
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40c4e4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb143
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x7aaa8
call fcn.00472c70
mov dword [ebp - 0x7aaac], ecx
mov dword [ebp - 0x10], 1
call fcn.0040dfa0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x7aaa4], eax
cmp dword [ebp - 0x7aaa4], 0
jne 0x40c580
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x7aaa8], esp
push 0x53957c
call fcn.004dcb6c
mov dword [ebp - 0x7aab0], eax
mov eax, dword [ebp - 0x7aab0]
mov dword [ebp - 0x7aab4], eax
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004645ec
add esp, 8
xor eax, eax
jmp 0x40c61e
mov ecx, dword [ebp - 0x7aaa4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x7aa98], eax
mov eax, dword [ebp - 0x7aa98]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x7aaa0], eax
mov ecx, dword [ebp - 0x7aaa4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x7aa9c], eax
push 0x7aa80
push 0
lea eax, [ebp - 0x7aa94]
push eax
call fcn.00472380
add esp, 0xc
mov ecx, dword [ebp - 0x7aa9c]
push ecx
mov edx, dword [ebp - 0x7aa98]
push edx
lea eax, [ebp - 0x7aa94]
push eax
call fcn.00471ea0
add esp, 0xc
lea ecx, [ebp - 0x7aa94]
push ecx
push 0x539588
mov edx, dword [ebp + 0x10]
push edx
call fcn.004d2181
add esp, 0xc
mov eax, dword [ebp - 0x7aa98]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4397f0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5016d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.00401590
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.00401590
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
call fcn.00401590
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.00401590
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x18
call fcn.0043cad0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
add ecx, 0x28
call fcn.00401590
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c
call fcn.00401590
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call fcn.00401590
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
add ecx, 0x34
call fcn.00401590
mov byte [ebp - 4], 8
push 0x53dd30
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.004dcc87
push 0x53ddd8
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
call fcn.004dcc87
push 0x53e460
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
call fcn.004dceda
push 0x53e67c
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dcc87
push 0x53ee70
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x53f658
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x53fe14
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x540614
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x540624
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x540dfc
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x5415c8
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x541648
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x541e00
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x5425e0
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x54268c
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x542e58
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x543644
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x543e38
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x5445e8
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
push 0x544634
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004dceda
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4399f5
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50174c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.004dcafe
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004dcafe
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.004dcafe
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.004dcafe
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0043ca50
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.004dcafe
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004dcafe
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004dcafe
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.004dcafe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x43e237
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501f24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.00458a80
push eax
call fcn.00472550
add esp, 4
cmp eax, 5
jae 0x43e272
xor eax, eax
jmp 0x43e2c7
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.00458a80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1c]
call fcn.004de39a
mov dword [ebp - 4], 0
push 0
push 0x1000
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.00458a80
push eax
lea ecx, [ebp - 0x1c]
call fcn.004de54c
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004de48f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x43e6f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501f6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x114]
call fcn.00401590
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x110]
push eax
call fcn.0040dfa0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x110]
push ecx
push 0x5454f4
lea edx, [ebp - 0x114]
push edx
call fcn.004d2181
add esp, 0xc
push 1
push 0
push str.sleep
lea ecx, [ebp - 0x114]
call fcn.00458a80
push eax
push 0x545500
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.004dcafe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43f763
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502287
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
push str.terjoy
lea ecx, [ebp - 0x14]
call fcn.004dcb6c
mov dword [ebp - 4], 1
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x545734
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x43f7d0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x545738
lea edx, [ebp - 0x14]
push edx
call fcn.004d2181
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.004dc873
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004dcafe
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x43ff86
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5023db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x358
mov dword [ebp - 0x35c], ecx
lea ecx, [ebp - 0xf0]
call fcn.004671b8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str._s.
lea ecx, [ebp - 0xd4]
push ecx
call fcn.0047321a
add esp, 0xc
push 0
lea edx, [ebp - 0xd4]
push edx
lea ecx, [ebp - 0xf0]
call fcn.0046727b
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
je 0x4400e9
lea ecx, [ebp - 0xf0]
call fcn.0046749b
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0xf0]
call fcn.00467462
test eax, eax
jne 0x4400e4
push 0xc8
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00467693
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x364], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x364]
call fcn.004dcf2e
push eax
lea edx, [ebp - 0x1bc]
push edx
call fcn.004721e0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x350]
call fcn.004dcafe
lea ecx, [ebp - 0xf0]
call fcn.00445960
test eax, eax
je 0x4400b8
lea eax, [ebp - 0x1bc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x545758
lea edx, [ebp - 0x284]
push edx
call fcn.0047321a
add esp, 0x10
lea eax, [ebp - 0x284]
push eax
mov ecx, dword [ebp - 0x35c]
call fcn.0043ff86
jmp 0x4400e4
lea ecx, [ebp - 0x1bc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x545760
lea eax, [ebp - 0x34c]
push eax
call fcn.0047321a
add esp, 0x10
lea ecx, [ebp - 0x34c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x43ffee
lea ecx, [ebp - 0xf0]
call fcn.00467231
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x440126
mov dword [ebp - 0x354], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004671f5
mov eax, dword [ebp - 0x354]
jmp 0x440148
mov dword [ebp - 0x358], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004671f5
mov eax, dword [ebp - 0x358]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x440eff
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502569
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b4
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0x2b4], 0
push 0x553e80
lea ecx, [ebp - 0x2a8]
call fcn.004dcb6c
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1a4]
call fcn.00401590
mov byte [ebp - 4], 2
lea eax, [ebp - 0x19c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x441086
push 0xff
lea ecx, [ebp - 0x2a4]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x441080
lea edx, [ebp - 0x2a4]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x441080
push 0x553e84
lea ecx, [ebp - 0x2a8]
call fcn.004dcc87
mov dword [ebp - 0x2ac], 0
jmp 0x440fd2
mov eax, dword [ebp - 0x2ac]
add eax, 1
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x545854
lea eax, [ebp - 0x1a4]
push eax
call fcn.004d2181
add esp, 0xc
lea ecx, [ebp - 0x1a4]
push ecx
push 0x545858
lea edx, [ebp - 0x2b0]
push edx
call fcn.004dce07
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c0]
push ecx
lea ecx, [ebp - 0x2a8]
call fcn.004dcf16
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b0]
call fcn.004dcafe
mov edx, dword [ebp - 0x1a0]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x1a0]
movsx edx, word [ecx + 0xa]
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [eax + ecx*4]
add eax, edx
mov ecx, dword [ebp - 0x1a0]
cmp eax, dword [ecx]
jb 0x44107b
jmp 0x441080
jmp 0x440fc3
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x553e88
lea edx, [ebp - 0x2a8]
push edx
call fcn.00402860
and eax, 0xff
test eax, eax
je 0x4410de
push str.no_find_
mov ecx, dword [ebp + 8]
call fcn.004dcb6c
mov eax, dword [ebp - 0x2b4]
or al, 1
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a4]
call fcn.004dcafe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a8]
call fcn.004dcafe
mov eax, dword [ebp + 8]
jmp 0x44111f
push 1
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2a8]
call fcn.004d1bd6
mov edx, dword [ebp - 0x2b4]
or edx, 1
mov dword [ebp - 0x2b4], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a4]
call fcn.004dcafe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a8]
call fcn.004dcafe
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x444ab4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502d39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
push 0x545d0c
lea ecx, [ebp - 0x14]
call fcn.004dcb6c
mov dword [ebp - 4], 1
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x545d10
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x444b21
mov ecx, dword [ebp - 0x10]
push ecx
push 0x545d14
lea edx, [ebp - 0x14]
push edx
call fcn.004d2181
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.004dc873
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004dcafe
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x445218
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502dc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push edi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x110], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x280
call fcn.004dd1cf
add esp, 4
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], 0x280
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x118]
push edx
call sub.iphlpapi.dll_GetAdaptersInfo
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x6f
jne 0x4452f6
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.004dd1f8
add esp, 4
mov edx, dword [ebp - 0x11c]
push edx
call fcn.004dd1cf
add esp, 4
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x118], eax
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x118]
push edx
call sub.iphlpapi.dll_GetAdaptersInfo
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x445395
cmp dword [ebp - 0x118], 0
je 0x445395
mov eax, dword [ebp - 0x118]
xor ecx, ecx
mov cl, byte [eax + 0x199]
push ecx
mov edx, dword [ebp - 0x118]
xor eax, eax
mov al, byte [edx + 0x198]
push eax
mov ecx, dword [ebp - 0x118]
xor edx, edx
mov dl, byte [ecx + 0x197]
push edx
mov eax, dword [ebp - 0x118]
xor ecx, ecx
mov cl, byte [eax + 0x196]
push ecx
mov edx, dword [ebp - 0x118]
xor eax, eax
mov al, byte [edx + 0x195]
push eax
mov ecx, dword [ebp - 0x118]
xor edx, edx
mov dl, byte [ecx + 0x194]
push edx
lea eax, [ebp - 0x110]
push eax
push str._s_02X__02X__02X__02X__02X__02X
lea ecx, [ebp - 0x110]
push ecx
call fcn.0047321a
add esp, 0x24
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov dword [ebp - 0x118], eax
jmp 0x445300
cmp dword [ebp - 0x118], 0
je 0x4453b9
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
push edx
call fcn.004dd1f8
add esp, 4
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x114]
call fcn.004dcb6c
mov dword [ebp - 4], 1
push 0x553ef4
push 0x545d84
lea ecx, [ebp - 0x114]
call fcn.004d1a22
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004dc873
mov edx, dword [ebp - 0x130]
or edx, 1
mov dword [ebp - 0x130], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x114]
call fcn.004dcafe
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x44675e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5030c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.00458a80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x1001
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.00458a80
push eax
lea ecx, [ebp - 0x1c]
call fcn.004de3ef
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0043e350
mov ecx, dword [ebp - 0x20]
call fcn.00401820
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00458a80
push eax
lea ecx, [ebp - 0x1c]
call fcn.004de6a3
lea ecx, [ebp - 0x1c]
call fcn.004de767
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004de48f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4493e8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44940e
xor eax, eax
jmp 0x44949e
mov edx, dword [ebp - 4]
push edx
call fcn.004dd1cf
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x44944c
mov ecx, dword [ebp - 0x18]
call fcn.004493b4
xor eax, eax
jmp 0x44949e
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push str.VarFileInfoTranslation
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x449474
mov ecx, dword [ebp - 0x18]
call fcn.004493b4
xor eax, eax
jmp 0x44949e
mov edx, dword [ebp - 8]
mov eax, dword [edx]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 4