joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427bd4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x28], 0
je 0x427c55
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x427c06
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x427c18
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x427c24
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.00427a60
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x427c49
push ebp
mov eax, dword [ebp - 4]
call fcn.00427b44
pop ecx
mov ebx, eax
cmp bl, 2
je 0x427c24
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x429a4c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45c6e4
cmp dword [edi], 0
jne 0x429ac8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45c6e0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45a73c
mov ecx, 2
call fcn.004028a0
mov edx, 0x429a24
lea eax, [esi + 5]
call fcn.00429a44
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00429a44
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x429a9d
mov dword [0x45c6e0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x429bec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x429c3c]
test si, 4
je 0x429c00
or bl, 1
test si, 8
je 0x429c0a
or bl, 4
test si, 1
je 0x429c14
or bl, 8
test si, 2
je 0x429c1e
or bl, 0x10
test si, 0x10
je 0x429c28
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x429c37
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x429c40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x429c78]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x429c59
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x429c68
or bl, 4
test esi, 0x20000000
je 0x429c73
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x42e074
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42e219
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40c27c]
call fcn.00402e74
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004039cc
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x42e1ef
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00425f84
test al, al
je 0x42e1e2
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x42e228
lea eax, [ebp - 0x254]
call fcn.00407f2c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x42e1e2
xor eax, eax
push ebp
push 0x42e1db
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x42e260
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x42e1c4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403bf8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x42e1c4
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403bf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e1e2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x42e0e5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040f538
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e220
lea eax, [ebp - 0x260]
call fcn.004039cc
ret

Function at 0x42e494
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45c6b8]
cmp byte [eax + 0x85], 0
jne 0x42e505
cmp dword [0x45c6f0], 0
jne 0x42e4c6
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x42e450
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45c6f0], eax
cmp dword [0x45c6ec], 0
jne 0x42e4e1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45c6ec], eax
cmp dword [0x45c6f4], 0
jne 0x42e505
push esp
push 0
push 0
push 0x42e3f4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45c6f4], eax
pop edx
ret
Function at 0x42e5f4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x42e60b
add esp, 0xfffffff0
call fcn.00403118
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00413090
mov dl, 1
mov eax, dword [0x40be64]
call fcn.00402e74
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, dword [0x40be64]
call fcn.00402e74
mov dword [ebx + 0x88], eax
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x40], 0x80000018
mov dword [ebx + 0x58], 0x1f4
mov dword [ebx + 0x5c], 0x32
mov dword [ebx + 0x60], 0x9c4
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, dword [0x4149cc]
call fcn.0041ba60
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x42e764
mov eax, dword [0x45aed8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041bdf8
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x42fdc8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45aed8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040a0b8
test eax, eax
je 0x42e6ec
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040794c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a0e0
test eax, eax
je 0x42e700
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403bf8
mov eax, dword [0x45ae34]
cmp byte [eax], 0
jne 0x42e731
mov eax, ebx
call fcn.0042e848
mov byte [ebx + 0x3d], 1
mov byte [ebx + 0x3e], 1
mov byte [ebx + 0x3f], 1
mov byte [ebx + 0x7e], 1
xor eax, eax
mov dword [ebx + 0x80], eax
cmp byte [ebp - 1], 0
je 0x42e759
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42ea9c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45c6b8]
cmp dword [eax + 0x24], 0
je 0x42eb2c
cmp dword [ebx + 0x74], 0
jne 0x42eb29
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x42ea30
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x70]
cmp dword [eax + 8], 0
je 0x42eb29
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x42eaf8
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x42eb29
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x70]
call fcn.0040d344
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x42eb04
inc dword [ebx + 0x74]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x42f414
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x84], 0
je 0x42f449
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403ab0
jmp 0x42f453
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.00403a64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x430038
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x430070
mov eax, esi
call fcn.00423eec
test al, al
je 0x430070
mov eax, dword [ebx + 0x64]
call fcn.00423d54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x430070
push 0
mov eax, dword [ebx + 0x64]
call fcn.00423d54
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x438784
Capabilities:
Initialize winsock library

Disassembly:
push ebx
push esi
add esp, 0xfffffff0
mov esi, eax
cmp byte [0x45a98c], 0
jne 0x4387da
push 0x45c758
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4387d3
mov dword [esp], esi
mov byte [esp + 4], 6
mov dword [esp + 8], ebx
mov byte [esp + 0xc], 0
push esp
push 1
mov ecx, 0x4387ec
mov dl, 1
mov eax, dword [0x437d48]
call fcn.00409630
call fcn.0040348c
mov byte [0x45a98c], 1
mov al, 1
add esp, 0x10
pop esi
pop ebx
ret
Function at 0x438f0c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, eax
mov bl, 1
jmp 0x4390b5
cmp dword [edi + 0x24], 0xffffffff
jne 0x438f4c
mov byte [edi + 0x198], 0
cmp byte [edi + 0x6c], 0
jne 0x4390bd
cmp dword [edi + 0x70], 0
je 0x4390bd
mov eax, dword [edi + 0x70]
mov edx, dword [eax]
call dword [edx + 0x84]
jmp 0x4390bd
mov esi, 0xfffffffe
cmp byte [edi + 0x58], 4
jne 0x438fa0
lea eax, [esp + 4]
push eax
push 0x4004667f
mov eax, dword [edi + 0x24]
push eax
call sub.wsock32.dll_ioctlsocket
inc eax
jne 0x438f85
mov byte [edi + 0x198], 0
mov edx, 0x4390cc
mov eax, edi
call fcn.0043aee8
jmp 0x4390bd
cmp dword [esp + 4], 0
jle 0x438fa0
push 0
push 1
lea eax, [esp + 8]
push eax
mov eax, dword [edi + 0x24]
push eax
call sub.wsock32.dll_recv
mov esi, eax
cmp esi, 1
jne 0x439039
inc dword [edi + 0x19c]
cmp byte [esp], 0xa
je 0x438fdd
cmp byte [esp], 0xd
je 0x438fdd
inc dword [edi + 0x194]
mov eax, dword [edi + 0x194]
mov dl, byte [esp]
mov byte [edi + eax + 0x92], dl
mov eax, dword [edi + 0x194]
mov byte [edi + 0x92], al
cmp dword [edi + 0x194], 0xfe
jl 0x439005
mov byte [esp], 0xa
cmp word [edi + 0x5e2], 0
je 0x439005
mov edx, edi
mov eax, dword [edi + 0x5e4]
call dword [edi + 0x5e0]
cmp byte [esp], 0xa
jne 0x4390b5
xor ebx, ebx
mov byte [edi + 0x198], 0
cmp byte [edi + 0x6c], 0
jne 0x4390b5
cmp dword [edi + 0x70], 0
je 0x4390b5
mov eax, dword [edi + 0x70]
mov edx, dword [eax]
call dword [edx + 0x84]
jmp 0x4390b5
test esi, esi
jne 0x439066
xor ebx, ebx
mov byte [edi + 0x198], 0
cmp byte [edi + 0x6c], 0
jne 0x43905d
cmp dword [edi + 0x70], 0
je 0x43905d
mov eax, dword [edi + 0x70]
mov edx, dword [eax]
call dword [edx + 0x84]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x5c]
jmp 0x4390b5
inc esi
jne 0x4390b3
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2746
jne 0x43909e
xor ebx, ebx
mov byte [edi + 0x198], 0
cmp byte [edi + 0x6c], 0
jne 0x439095
cmp dword [edi + 0x70], 0
je 0x439095
mov eax, dword [edi + 0x70]
mov edx, dword [eax]
call dword [edx + 0x84]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x5c]
jmp 0x4390b5
cmp eax, 0x2733
je 0x4390b5
mov edx, 0x4390e0
mov eax, edi
call fcn.0043aee8
jmp 0x4390bd
xor ebx, ebx
test bl, bl
jne 0x438f1b
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4391b8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, eax
cmp dword [edi + 0x24], 0xffffffff
je 0x439327
mov eax, dword [edi + 0x60]
cmp dword [eax + 8], 0
je 0x439327
cmp byte [edi + 0x84], 0
je 0x4391f1
mov eax, dword [edi + 0x88]
cmp eax, dword [edi + 0x8c]
jge 0x439327
mov bl, 1
jmp 0x43931f
mov eax, dword [edi + 0x60]
call fcn.0040d33c
mov esi, eax
mov edx, esp
mov eax, esi
call fcn.004372a8
mov ebp, eax
cmp dword [esp], 0
jg 0x439248
mov eax, dword [edi + 0x60]
cmp dword [eax + 8], 1
jg 0x43922a
mov byte [edi + 0x91], 1
xor ebx, ebx
jmp 0x43931f
mov eax, esi
call fcn.00402e9c
xor edx, edx
mov eax, dword [edi + 0x60]
call fcn.0040d268
mov eax, dword [edi + 0x60]
call fcn.0040d5bc
jmp 0x43931f
cmp byte [edi + 0x84], 0
je 0x43927d
mov cl, 0xa
mov edx, dword [esp]
mov eax, ebp
call fcn.004391a4
test eax, eax
je 0x43927d
sub eax, ebp
inc eax
mov dword [esp], eax
inc dword [edi + 0x88]
mov eax, dword [edi + 0x88]
cmp eax, dword [edi + 0x8c]
jl 0x43927d
xor ebx, ebx
cmp dword [edi + 0x44], 2
jne 0x4392a3
push 0x10
lea eax, [edi + 0x5f8]
push eax
mov eax, dword [edi + 0x68]
push eax
mov eax, dword [esp + 0xc]
push eax
push ebp
mov eax, dword [edi + 0x24]
push eax
call sub.wsock32.dll_sendto
mov ebp, eax
jmp 0x4392b8
mov eax, dword [edi + 0x68]
push eax
mov eax, dword [esp + 4]
push eax
push ebp
mov eax, dword [edi + 0x24]
push eax
call sub.wsock32.dll_send
mov ebp, eax
test ebp, ebp
jne 0x4392c0
xor ebx, ebx
jmp 0x43931f
cmp ebp, 0xffffffff
jne 0x439308
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2746
je 0x4392e6
cmp eax, 0x2736
je 0x4392e6
cmp eax, 0x2749
je 0x4392e6
cmp eax, 0x2726
jne 0x4392ef
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x5c]
jmp 0x439304
cmp eax, 0x2733
je 0x439304
mov edx, 0x439338
mov eax, edi
call fcn.0043aee8
jmp 0x439327
xor ebx, ebx
jmp 0x43931f
mov edx, ebp
mov eax, esi
call fcn.004372c8
cmp ebp, dword [esp]
jge 0x43931f
mov byte [edi + 0x90], 0
xor ebx, ebx
test bl, bl
jne 0x4391f8
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4394e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov bl, 1
jmp 0x439591
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x78], edx
xor eax, eax
push ebp
push 0x439585
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x198], 0
je 0x439522
mov eax, dword [ebp - 4]
call fcn.00438f0c
jmp 0x43953f
mov edx, dword [ebp - 8]
mov dx, word [edx + 0xa]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test al, al
jne 0x43953f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x439599
mov eax, dword [ebp - 4]
cmp dword [eax + 0x78], 0
je 0x43954c
xor ebx, ebx
jmp 0x43957b
lea eax, [ebp - 0xc]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
call sub.wsock32.dll_ioctlsocket
inc eax
jne 0x439573
call sub.wsock32.dll_WSAGetLastError
mov edx, dword [ebp - 4]
mov dword [edx + 0x78], eax
xor ebx, ebx
jmp 0x43957b
cmp dword [ebp - 0xc], 0
jne 0x43957b
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x439591
test bl, bl
jne 0x4394f6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x439cec
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403dfc
xor eax, eax
push ebp
push 0x439dde
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 4]
call fcn.0040717c
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 0x109]
call fcn.004079d4
cmp byte [0x45a98c], 0
jne 0x439d48
mov eax, 0x439dec
call fcn.00438784
lea eax, [ebp - 0x109]
push eax
call sub.wsock32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x439dba
mov edx, 0x439df8
lea eax, [ebp - 0x109]
call fcn.00407a14
test eax, eax
jne 0x439d72
or eax, 0xffffffff
jmp 0x439dba
lea eax, [ebp - 0x109]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
jne 0x439db3
mov eax, dword [ebp - 4]
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x114], 0xb
lea eax, [ebp - 0x118]
push eax
push 0
mov ecx, 0x439e10
mov dl, 1
mov eax, dword [0x437d48]
call fcn.00409630
call fcn.0040348c
jmp 0x439dba
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439de5
lea eax, [ebp - 0x110]
call fcn.004039cc
lea eax, [ebp - 4]
call fcn.004039cc
ret

Function at 0x43abac
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403dfc
xor eax, eax
push ebp
push 0x43ac14
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x45a98c], 0
jne 0x43abe2
mov eax, 0x43ac24
call fcn.00438784
lea eax, [ebp - 0x105]
mov edx, dword [ebp - 4]
call fcn.004079d4
lea eax, [ebp - 0x105]
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ac1b
lea eax, [ebp - 4]
call fcn.004039cc
ret
Function at 0x43ac98
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffc0
mov ebx, eax
cmp byte [0x45a98c], 0
jne 0x43acb1
mov eax, 0x43ace8
call fcn.00438784
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
je 0x43acd7
mov ecx, 0x43acfc
mov dl, 1
mov eax, dword [0x437d48]
call fcn.004095fc
call fcn.0040348c
mov edx, ebx
mov eax, esp
call fcn.00407af4
add esp, 0x40
pop ebx
ret

Function at 0x43c078
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402bc8
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
pop esi
pop ebx
ret

Function at 0x43c0bc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x43c174
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0043c078
test al, al
je 0x43c156
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403ab0
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x43c156
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403e0c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00403e0c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403b80
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x43c10f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c17b
lea eax, [ebp - 0x2c]
call fcn.004039cc
lea eax, [ebp - 0xc]
call fcn.004039cc
ret

Function at 0x43c2e4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43c375
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.0043bd10
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403e0c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x43c35f
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x45af70]
call fcn.00404a78
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x43bbe0]
call fcn.00409630
call fcn.0040348c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c37c
lea eax, [ebp - 0x10]
call fcn.004039cc
ret
Function at 0x43c388
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43c423
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403e0c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x43c3fd
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x45b084]
call fcn.00404a78
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x43bbe0]
call fcn.00409630
call fcn.0040348c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043bd40
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c42a
lea eax, [ebp - 0x10]
call fcn.004039cc
ret

Function at 0x43db78
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43dccb
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43dcab
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00403b70
lea eax, [ebp - 0x118]
mov edx, 0x43dce0
call fcn.00403c50
mov eax, dword [ebp - 0x118]
call fcn.00403e0c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x43dc1d
lea eax, [ebp - 0x111]
call fcn.004078e4
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403ab0
jmp 0x43dc24
mov eax, esi
call fcn.004039cc
cmp bl, 0x61
jae 0x43dc45
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.00409f8c
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403a64
jmp 0x43dc5f
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.00409f00
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403a64
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x43dcec
call fcn.00407f94
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403a64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dcb2
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4402e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403e0c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4402f9
test al, 0x10
jne 0x4402fd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret