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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push 5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x4251f3
push 0xff
lea ecx, [ebp - 0x100]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4251e2
mov eax, dword [ebp + 8]
jmp 0x4251f5
push 2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp + 8], eax
jmp 0x4251ac
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4251f9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push 5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x42521b
xor eax, eax
jmp 0x425273
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x425271
push 0xff
lea edx, [ebp - 0x100]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x100]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x425260
mov eax, dword [ebp + 8]
jmp 0x425273
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp + 8], eax
jmp 0x42522a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x41b550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xe0]
call fcn.00402b30
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0x54b63e
push 0x400
push 0x56ae90
call fcn.00456e04
add esp, 0xc
push 0x94
push 0
lea eax, [ebp - 0xc0]
push eax
call fcn.004611e0
add esp, 0xc
mov dword [ebp - 0xc0], 0x94
lea ecx, [ebp - 0xc0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xb0], 2
jne 0x41b601
call fcn.0041a3a0
mov dword [ebp - 0xc4], eax
call fcn.0041afc0
mov dword [ebp - 0xc4], eax
call fcn.0041aaf0
mov dword [ebp - 0xc4], eax
call fcn.0041a5e0
mov dword [ebp - 0xc4], eax
jmp 0x41b650
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe4], 0
jmp 0x41b626
mov edx, dword [ebp - 0xe4]
add edx, 1
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xe4], 0xa
jge 0x41b650
cmp dword [ebp - 0xc4], 0
jne 0x41b650
movsx eax, byte [0x56ae90]
test eax, eax
jne 0x41b650
call fcn.0041ae30
mov dword [ebp - 0xc4], eax
jmp 0x41b617
movsx ecx, byte [0x56ae90]
test ecx, ecx
jle 0x41b688
push 0x56ae90
lea ecx, [ebp - 0xe0]
call fcn.00408070
lea edx, [ebp - 0xe0]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0041a2a0
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00402c40
jmp 0x41b698
push 0x54b63f
lea ecx, [ebp - 0xe0]
call fcn.00408070
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402bf0
lea ecx, [ebp - 0xe0]
call fcn.00402c40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455328
mov esp, ebp
pop ebp
ret
Function at 0x41bb00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x54b636
lea ecx, [ebp - 8]
call fcn.004115f0
mov dword [ebp - 0x10], 0x34
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
push str.FileVersionCompare_iVerinfosize__d
call fcn.0041a270
add esp, 8
cmp dword [ebp - 0xc], 0
je 0x41bc13
mov edx, dword [ebp - 0xc]
push edx
call fcn.0045441e
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x41bbff
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0x555c00
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x41bbff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push str._d._d._d._d
lea ecx, [ebp - 8]
push ecx
call fcn.0041d340
add esp, 0x18
push 0
lea ecx, [ebp - 8]
call fcn.004116d0
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00455b03
add esp, 4
jmp 0x41bc1a
mov dword [ebp - 4], 1
mov edx, dword [ebp - 4]
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 8]
call fcn.00411630
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret

Function at 0x41bc30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x11c], ecx
mov byte [ebp - 0x115], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.004611e0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x11c]
call fcn.0041baa0
mov dword [ebp - 0x114], 0
call fcn.00434580
test eax, eax
je 0x41bca3
mov dword [ebp - 0x114], str.1.0.1.1
jmp 0x41bcad
mov dword [ebp - 0x114], str.1.0.1.3
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41bce1
mov eax, dword [ebp - 0x114]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0041bb00
add esp, 8
test eax, eax
jle 0x41bcdf
mov byte [ebp - 0x115], 1
jmp 0x41bce8
mov byte [ebp - 0x115], 1
movzx edx, byte [ebp - 0x115]
push edx
push str.CGuard::ShouldUpdateSysFile_bret__d
call fcn.0041a270
add esp, 8
mov al, byte [ebp - 0x115]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455328
mov esp, ebp
pop ebp
ret
Function at 0x41bd80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 0x44], eax
push esi
push edi
mov byte [ebp - 0x3d], 1
mov eax, dword [0x555c44]
mov dword [ebp - 0x160], eax
mov ecx, dword [0x555c48]
mov dword [ebp - 0x15c], ecx
mov edx, dword [0x555c4c]
mov dword [ebp - 0x158], edx
mov eax, dword [0x555c50]
mov dword [ebp - 0x154], eax
mov byte [ebp - 0x150], 0
push 0x103
push 0
lea ecx, [ebp - 0x14f]
push ecx
call fcn.004611e0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x150]
push edx
call fcn.0041bd50
add esp, 8
lea eax, [ebp - 0x150]
add eax, 0xffffffff
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x165], dl
add dword [ebp - 0x164], 1
cmp byte [ebp - 0x165], 0
jne 0x41be07
mov edi, dword [ebp - 0x164]
mov ax, word [0x555c54]
mov word [edi], ax
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x170], edx
mov eax, dword [ebp - 0x16c]
mov cl, byte [eax]
mov byte [ebp - 0x171], cl
add dword [ebp - 0x16c], 1
cmp byte [ebp - 0x171], 0
jne 0x41be4d
mov edx, dword [ebp - 0x16c]
sub edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x17c], edx
lea ecx, [ebp - 0x150]
add ecx, 0xffffffff
mov dword [ebp - 0x180], ecx
mov edx, dword [ebp - 0x180]
mov al, byte [edx + 1]
mov byte [ebp - 0x181], al
add dword [ebp - 0x180], 1
cmp byte [ebp - 0x181], 0
jne 0x41be98
mov edi, dword [ebp - 0x180]
mov esi, dword [ebp - 0x178]
mov edx, dword [ebp - 0x17c]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.004611e0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x555c58
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0x555c60
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x41bf3a
mov byte [ebp - 0x3d], 0
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, byte [ebp - 0x3d]
pop edi
pop esi
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.00455328
mov esp, ebp
pop ebp
ret
Function at 0x41c650
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xc6ef3720
mov dword [ebp - 0x24], 0x9e3779b9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], 0
jmp 0x41c6aa
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x20
jae 0x41c703
mov ecx, dword [ebp - 8]
shl ecx, 4
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x14]
xor ecx, edx
mov eax, dword [ebp - 8]
shr eax, 5
add eax, dword [ebp - 0x1c]
xor ecx, eax
mov edx, dword [ebp - 0x18]
sub edx, ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
shl eax, 4
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x14]
xor eax, ecx
mov edx, dword [ebp - 0x18]
shr edx, 5
add edx, dword [ebp - 0x10]
xor eax, edx
mov ecx, dword [ebp - 8]
sub ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
jmp 0x41c6a1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + 4], eax
mov esp, ebp
pop ebp
ret

Function at 0x41c720
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 1
je 0x41c744
mov ecx, dword [ebp - 4]
add ecx, 0x54
mov dword [ebp - 4], ecx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x80
je 0x41c762
mov eax, dword [ebp - 4]
add eax, 0xa8
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
mov eax, dword [ebp - 4]
mov cl, byte [edx + eax + 0x5670c0]
mov byte [ebp - 5], cl
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x41c790
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x250], 1
mov ecx, dword [ebp - 8]
add ecx, 0x224
push ecx
mov ecx, dword [ebp - 8]
call fcn.0041ba30
test eax, eax
jne 0x41c7e5
push 0
push 0
mov edx, dword [ebp - 8]
push edx
push 0x41b9f0
push 0
push 0
call fcn.00457015
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x224], eax
mov edx, dword [ebp - 8]
add edx, 0x22c
push edx
mov ecx, dword [ebp - 8]
call fcn.0041ba30
test eax, eax
jne 0x41c81d
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x41ba10
push 0
push 0
call fcn.00457015
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x22c], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41cf00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
mov dword [0x56bd68], eax
mov ecx, dword [ebp + 0x10]
mov dword [0x56bd6c], ecx
cmp dword [ebp + 8], 0
je 0x41cf79
cmp dword [0x56bd70], 0
jne 0x41cf77
mov edx, dword [0x56bd78]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41cf56
push 0
push 0
push 0
push 0x41d140
push 0
push 0
call fcn.00457015
add esp, 0x18
mov dword [0x56bd80], eax
push 0
push 0
push 0x401
mov eax, dword [0x56bd78]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x41cfa4
cmp dword [0x56bd70], 0
je 0x41cfa4
push 0
push 0
push 0x402
mov ecx, dword [0x56bd78]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4283e0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510100
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2e4
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x30]
call fcn.00402b30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x428452
mov dword [ebp - 0x2ec], 1
push 0x55a0a0
lea ecx, [ebp - 0x2ec]
push ecx
call fcn.0045984f
push 0x100
lea edx, [ebp - 0x2e0]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x428488
mov dword [ebp - 0x2f0], 1
push 0x55a0a0
lea eax, [ebp - 0x2f0]
push eax
call fcn.0045984f
lea ecx, [ebp - 0x2e0]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 0
jne 0x4284bf
mov dword [ebp - 0x2f4], 1
push 0x55a0a0
lea edx, [ebp - 0x2f4]
push edx
call fcn.0045984f
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], 0
jmp 0x4284e6
mov ecx, dword [ebp - 0x2e8]
add ecx, 1
mov dword [ebp - 0x2e8], ecx
mov edx, dword [ebp - 0x2e4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x2e8]
cmp dword [eax + ecx*4], 0
je 0x42854a
mov edx, dword [ebp - 0x2e4]
movsx eax, word [edx + 0xa]
push eax
mov ecx, dword [ebp - 0x2e4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x2e8]
mov ecx, dword [edx + eax*4]
push ecx
lea edx, [ebp - 0x1d8]
push edx
call fcn.00459d50
add esp, 0xc
mov eax, dword [ebp - 0x1d8]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x30]
call fcn.004080b0
push 0x3b
lea ecx, [ebp - 0x30]
call fcn.004080d0
jmp 0x4284d7
jmp 0x428559
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402bf0
lea ecx, [ebp - 0x30]
call fcn.00402c40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00455328
mov esp, ebp
pop ebp
ret
Function at 0x4285a0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
call fcn.00402b30
mov dword [ebp - 0x2c], 0
push 0x288
call fcn.0045441e
add esp, 4
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0x288
mov ecx, dword [ebp + 8]
call fcn.004296c0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x42864f
mov eax, dword [ebp - 4]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.00455af8
add esp, 4
mov eax, dword [ebp - 0x28]
xor edx, edx
mov ecx, 0x288
div ecx
add eax, 1
xor ecx, ecx
mov edx, 0x288
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045441e
add esp, 4
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x428752
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x428752
lea ecx, [ebp - 0x6c]
call fcn.004287a0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x1a0]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x190], 6
jne 0x42871f
mov byte [ebp - 0xa0], 0
push 0x31
push 0
lea ecx, [ebp - 0x9f]
push ecx
call fcn.004611e0
add esp, 0xc
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 0x199]
push eax
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x198]
push edx
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 0x197]
push ecx
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 0x196]
push eax
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x195]
push edx
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 0x194]
push ecx
push 0x554fcc
push 0x32
lea edx, [ebp - 0xa0]
push edx
call fcn.00455cb6
add esp, 0x24
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408070
mov ecx, dword [ebp - 0x30]
add ecx, 0x1b0
push ecx
lea ecx, [ebp - 0x68]
call fcn.00408070
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004295c0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x6c]
call fcn.004287d0
jmp 0x428670
mov edx, dword [ebp - 4]
push edx
call fcn.00455821
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.004295a0
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xad], al
lea ecx, [ebp - 0x24]
call fcn.00402c40
mov al, byte [ebp - 0xad]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00455328
mov esp, ebp
pop ebp
ret
Function at 0x42e2b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
push 0
push 0
push 0
push 0x41d140
push 0
push 0
call fcn.00457015
add esp, 0x18
mov dword [0x56bd80], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0xffffffff
je 0x42e2f8
cmp dword [0x56bd80], 0xffffffff
je 0x42e2f8
cmp dword [0x56bd80], 0
jne 0x42e2ff
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp - 8], 0
jne 0x42e312
mov ecx, 0x56c328
call fcn.0041c790
mov dword [ebp - 8], eax
push 0x56c308
call fcn.0042a310
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x42e6f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x414], 0x400
mov dword [ebp - 0x40c], 0
mov byte [ebp - 0x408], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x407]
push ecx
call fcn.004611e0
add esp, 0xc
push 0x54b583
lea ecx, [ebp - 0x434]
call fcn.00402b60
mov dword [ebp - 0x438], 0
lea edx, [ebp - 0x438]
push edx
push 1
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42e79d
push 0x54b58a
lea ecx, [ebp - 0x434]
call fcn.00408070
jmp 0x42e881
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x410]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xea
jne 0x42e85a
mov edx, dword [ebp - 0x414]
add edx, 1
push edx
call fcn.0045441e
add esp, 4
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x40c], eax
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x40c]
push edx
lea eax, [ebp - 0x410]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x438]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42e858
mov eax, dword [ebp - 0x410]
cmp eax, dword [ebp + 0x18]
jne 0x42e858
mov ecx, dword [ebp - 0x40c]
add ecx, dword [ebp - 0x414]
mov byte [ecx], 0
mov edx, dword [ebp - 0x40c]
push edx
lea ecx, [ebp - 0x434]
call fcn.00408070
jmp 0x42e881
jmp 0x42e881
cmp dword [ebp - 4], 0
jne 0x42e881
mov eax, dword [ebp - 0x410]
cmp eax, dword [ebp + 0x18]
jne 0x42e881
mov byte [ebp - 9], 0
lea ecx, [ebp - 0x408]
push ecx
lea ecx, [ebp - 0x434]
call fcn.00408070
cmp dword [ebp - 0x40c], 0
je 0x42e8a5
mov edx, dword [ebp - 0x40c]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x440]
push eax
call fcn.00455af8
add esp, 4
cmp dword [ebp - 0x438], 0
je 0x42e8bb
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x434]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402bf0
lea ecx, [ebp - 0x434]
call fcn.00402c40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00455328
mov esp, ebp
pop ebp
ret