joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427b71
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x427bb3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040351c
mov eax, dword [ebp - 0x10]
call fcn.004276d0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x427aac
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00403840
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00427e5c
mov ebx, eax
test ebx, ebx
je 0x427b71
xor eax, eax
push ebp
push 0x427b6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042784c
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00427bc4
test al, al
je 0x427b51
mov ecx, dword [ebp - 0x30]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403568
mov esi, dword [ebp - 0x34]
dec esi
test esi, esi
jl 0x427b51
inc esi
xor edi, edi
mov eax, dword [ebp - 0x30]
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 - 0x14]
call fcn.004037c0
push eax
push edi
push ebx
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x427b4d
mov eax, dword [ebp - 0x14]
call fcn.004037c0
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.004035b4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00427a58
inc edi
dec esi
jne 0x427b09
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427b71
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042784c
ret
mov eax, dword [ebp - 0x10]
call fcn.004037c0
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00427838
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427bba
lea eax, [ebp - 0x38]
call fcn.00403488
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004034a8
ret

Function at 0x427bc4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004029ac
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
pop ebp
ret
Function at 0x427c0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 8
call fcn.004029ac
lea eax, [ebx + 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, edi
call fcn.004037c0
push eax
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
sete byte [ebp - 1]
mov eax, dword [ebp - 8]
call fcn.0042771c
mov byte [ebx], al
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x427d6c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004276ec
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.004037c0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x427dc9
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, 0xf0bc
mov dl, 1
mov eax, 0x4275e4
call fcn.00407da8
call fcn.0040313c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x427dd4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
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.004037c0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x427e2b
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, 0xf0bd
mov dl, 1
mov eax, 0x4275e4
call fcn.00407da8
call fcn.0040313c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042771c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x428b1c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x428b93
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403488
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
test esi, esi
je 0x428b7d
xor ebx, ebx
mov ecx, ebx
mov eax, 1
shl eax, cl
mov edx, eax
and edx, esi
cmp eax, edx
jne 0x428b77
lea eax, [ebp - 8]
lea edx, [ebx + 0x41]
call fcn.00403598
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00403604
inc ebx
cmp ebx, 0x20
jne 0x428b50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428b9a
lea eax, [ebp - 8]
call fcn.00403488
ret
Function at 0x428c94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403488
push 0x104
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
lea edx, [ebp - 0x101]
mov ecx, 0x101
call fcn.004035e4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x428cd0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x428d85
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x18]
mov dl, byte [ebp - 1]
call fcn.00403598
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, 0x428da0
call fcn.00403648
mov eax, dword [ebp - 8]
call fcn.004037c0
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x428d62
lea eax, [ebp - 0x14]
mov edx, pe_nt_image_headers32
call fcn.0040392c
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 0x14]
call fcn.004035fc
push eax
mov eax, dword [ebp - 0x14]
call fcn.004037c0
push eax
push esi
call sub.kernel32.dll_GetVolumeInformationA
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428d8c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004034a8
lea eax, [ebp - 8]
call fcn.00403488
ret

Function at 0x428da4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x428e6a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x18]
mov dl, byte [ebp - 1]
call fcn.00403598
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, 0x428e84
call fcn.00403648
mov eax, dword [ebp - 8]
call fcn.004037c0
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x428e47
lea eax, [ebp - 0x14]
mov edx, pe_nt_image_headers32
call fcn.0040392c
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 0x14]
call fcn.004035fc
push eax
mov eax, dword [ebp - 0x14]
call fcn.004037c0
push eax
push esi
call sub.kernel32.dll_GetVolumeInformationA
push 0x428e88
mov eax, dword [ebp - 0x14]
call fcn.004037c0
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x428e47
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428e71
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004034a8
lea eax, [ebp - 8]
call fcn.00403488
ret
Function at 0x42952c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4786c0], 0
jne 0x42956f
cmp dword [0x4786c4], 0
je 0x42956f
call sub.kernel32.dll_GetTickCount
push eax
mov eax, dword [0x4786d0]
pop edx
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x1388
jle 0x42956f
call sub.kernel32.dll_GetTickCount
mov dword [0x4786d0], eax
call fcn.00429648
mov dword [0x4786c0], eax
mov eax, dword [0x4786c0]
pop ebp
ret

Function at 0x4296d8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, 0x4786cc
push 0x429804
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
jne 0x4296fe
push 0x429810
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
jle 0x429781
push 0x429820
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x479660], eax
push 0x42982c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4786a8], eax
push 0x429840
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4786ac], eax
push 0x429854
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4786b0], eax
push 0x429864
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4786b4], eax
push 0x429878
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4786b8], eax
push 0x429888
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4786bc], eax
cmp dword [0x479660], 0
je 0x429795
call dword [0x479660]
mov dword [0x4786c8], eax
mov eax, dword [0x4786c8]
call fcn.0040556c
cmp ax, 2
jb 0x4297af
cmp word [0x4786c8], 0x32
jae 0x4297b4
call fcn.00429684
cmp dword [0x4786ac], 0
je 0x4297ea
cmp dword [0x4786b0], 0
je 0x4297ea
cmp dword [0x4786b4], 0
je 0x4297ea
cmp dword [0x4786a8], 0
je 0x4297ea
cmp dword [0x4786b8], 0
je 0x4297ea
cmp dword [0x4786bc], 0
jne 0x4297ee
xor ebx, ebx
jmp 0x4297f0
mov bl, 1
and ebx, 0x7f
test ebx, ebx
jne 0x4297fc
call fcn.00429684
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x42a2b4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x42a31f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403598
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x42a338
call fcn.00403648
mov eax, dword [ebp - 4]
call fcn.004037c0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x42a304
mov byte [esi + 0x3a], 0
mov byte [esi + 0x3b], bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a326
lea eax, [ebp - 8]
mov edx, 2
call fcn.004034a8
ret
Function at 0x4372f0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, eax
cmp byte [0x4788ac], 0
jne 0x437349
push 0x479674
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x437342
mov dword [ebp - 0x10], esi
mov byte [ebp - 0xc], 6
mov dword [ebp - 8], ebx
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 1
mov ecx, 0x43735c
mov dl, 1
mov eax, 0x436914
call fcn.00407cbc
call fcn.0040313c
mov byte [0x4788ac], 1
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x437ab0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, eax
mov bl, 1
jmp 0x437c59
cmp dword [edi + 0x20], 0xffffffff
jne 0x437af3
mov byte [edi + 0x194], 0
cmp byte [edi + 0x68], 0
jne 0x437c61
cmp dword [edi + 0x6c], 0
je 0x437c61
mov eax, dword [edi + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x84]
jmp 0x437c61
mov esi, 0xfffffffe
cmp byte [edi + 0x54], 4
jne 0x437b44
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [edi + 0x20]
push eax
call sub.wsock32.dll_ioctlsocket
inc eax
jne 0x437b2b
mov byte [edi + 0x194], 0
mov edx, 0x437c70
mov eax, edi
call fcn.00439d74
jmp 0x437c61
cmp dword [ebp - 8], 0
jle 0x437b44
push 0
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi + 0x20]
push eax
call sub.wsock32.dll_recv
mov esi, eax
cmp esi, 1
jne 0x437bdd
inc dword [edi + 0x198]
cmp byte [ebp - 1], 0xa
je 0x437b81
cmp byte [ebp - 1], 0xd
je 0x437b81
inc dword [edi + 0x190]
mov eax, dword [edi + 0x190]
mov dl, byte [ebp - 1]
mov byte [edi + eax + 0x8e], dl
mov eax, dword [edi + 0x190]
mov byte [edi + 0x8e], al
cmp dword [edi + 0x190], 0xfe
jl 0x437ba9
mov byte [ebp - 1], 0xa
cmp word [edi + 0x5de], 0
je 0x437ba9
mov edx, edi
mov eax, dword [edi + 0x5e0]
call dword [edi + 0x5dc]
cmp byte [ebp - 1], 0xa
jne 0x437c59
xor ebx, ebx
mov byte [edi + 0x194], 0
cmp byte [edi + 0x68], 0
jne 0x437c59
cmp dword [edi + 0x6c], 0
je 0x437c59
mov eax, dword [edi + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x84]
jmp 0x437c59
test esi, esi
jne 0x437c0a
xor ebx, ebx
mov byte [edi + 0x194], 0
cmp byte [edi + 0x68], 0
jne 0x437c01
cmp dword [edi + 0x6c], 0
je 0x437c01
mov eax, dword [edi + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x84]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x64]
jmp 0x437c59
inc esi
jne 0x437c57
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2746
jne 0x437c42
xor ebx, ebx
mov byte [edi + 0x194], 0
cmp byte [edi + 0x68], 0
jne 0x437c39
cmp dword [edi + 0x6c], 0
je 0x437c39
mov eax, dword [edi + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x84]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x64]
jmp 0x437c59
cmp eax, 0x2733
je 0x437c59
mov edx, 0x437c84
mov eax, edi
call fcn.00439d74
jmp 0x437c61
xor ebx, ebx
test bl, bl
jne 0x437ac2
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4380d8
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov bl, 1
jmp 0x4381c6
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x74], edx
xor eax, eax
push ebp
push 0x4381ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x194], 0
je 0x43811d
mov eax, dword [ebp - 4]
call fcn.00437ab0
jmp 0x438174
mov edx, dword [ebp - 8]
mov dx, word [edx + 0xa]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
test al, al
jne 0x438174
push 0
push 0x400
lea eax, [ebp - 0x40c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
call sub.wsock32.dll_recv
inc eax
jne 0x438174
call sub.wsock32.dll_WSAGetLastError
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], esi
cmp esi, 0x2733
jne 0x438174
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x74], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4381ce
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x438181
xor ebx, ebx
jmp 0x4381b0
lea eax, [ebp - 0xc]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
call sub.wsock32.dll_ioctlsocket
inc eax
jne 0x4381a8
call sub.wsock32.dll_WSAGetLastError
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], eax
xor ebx, ebx
jmp 0x4381b0
cmp dword [ebp - 0xc], 0
jne 0x4381b0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4381c6
test bl, bl
jne 0x4380f1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4389ec
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004037b0
xor eax, eax
push ebp
push 0x438ae1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 4]
call fcn.00405e00
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 0x109]
call fcn.004064e4
cmp byte [0x4788ac], 0
jne 0x438a4b
mov eax, 0x438af4
call fcn.004372f0
lea eax, [ebp - 0x109]
push eax
call sub.wsock32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x438abd
mov edx, 0x438b00
lea eax, [ebp - 0x109]
call fcn.00406540
test eax, eax
jne 0x438a75
or eax, 0xffffffff
jmp 0x438abd
lea eax, [ebp - 0x109]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
jne 0x438ab6
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, 0x438b18
mov dl, 1
mov eax, 0x436914
call fcn.00407cbc
call fcn.0040313c
jmp 0x438abd
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 0x438ae8
lea eax, [ebp - 0x110]
call fcn.00403488
lea eax, [ebp - 4]
call fcn.00403488
ret
Function at 0x439084
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
cmp byte [ebx + 0x79], 2
je 0x4390df
cmp dword [ebx + 0x20], 0xffffffff
jne 0x4390a5
mov edx, 0x4390ec
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x4390df
xor eax, eax
mov al, byte [ebx + 0x79]
mov word [ebp - 4], ax
mov ax, word [ebx + 0x7c]
mov word [ebp - 2], ax
push 4
lea eax, [ebp - 4]
push eax
push 0x80
push 0xffff
mov eax, dword [ebx + 0x20]
push eax
call sub.wsock32.dll_setsockopt
test eax, eax
je 0x4390df
mov edx, 0x43911c
mov eax, ebx
call fcn.00439d74
pop ebx
pop ecx
pop ebp
ret

Function at 0x439afc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov ebx, eax
cmp byte [0x4788ac], 0
jne 0x439b18
mov eax, 0x439b4c
call fcn.004372f0
push 0x40
lea eax, [ebp - 0x40]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
je 0x439b3d
mov ecx, 0x439b60
mov dl, 1
mov eax, 0x436914
call fcn.00407c88
call fcn.0040313c
mov edx, ebx
lea eax, [ebp - 0x40]
call fcn.00406610
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d2e0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
mov edx, ebx
add edx, 4
mov eax, esi
call fcn.0040392c
mov eax, esi
call fcn.004037cc
push eax
mov edx, ebx
add edx, 2
xor ecx, ecx
pop eax
call fcn.004029ac
cmp byte [ebp - 1], 0
jne 0x43d353
mov eax, esi
call fcn.004037cc
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x43d36c
sub al, 2
jb 0x43d373
jmp 0x43d378
mov ebx, 2
jmp 0x43d378
mov ebx, 1
mov eax, esi
call fcn.004037cc
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x43d45a
test edi, edi
jle 0x43d3d4
mov eax, esi
call fcn.004037cc
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.004037cc
mov byte [eax + ebx - 1], 0
jmp 0x43d44e
test edi, edi
jge 0x43d41a
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.004037cc
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x43d44e
mov eax, esi
call fcn.004037cc
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.004037cc
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x43d390
mov al, byte [ebp - 1]
sub al, 1
jb 0x43d46a
sub al, 2
jb 0x43d4a3
jmp 0x43d4ea
cmp edi, 2
jne 0x43d470
dec ebx
mov eax, ebx
sub eax, 2
jl 0x43d4ea
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.004037cc
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4788e4]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x43d480
jmp 0x43d4ea
cmp edi, 2
jne 0x43d4a9
dec ebx
test ebx, ebx
jle 0x43d4e5
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.004037cc
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4788e8]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x43d4b5
jmp 0x43d4e5
inc ebx
mov eax, esi
call fcn.004037cc
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x43d4d8
mov eax, esi
mov edx, ebx
call fcn.0040392c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x443054
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebx + 4]
call fcn.004037c0
push eax
push 0x400
lea eax, [ebp - 0x400]
push eax
mov eax, dword [ebp + 0xc]
call fcn.004037c0
push eax
mov eax, edi
call fcn.004037c0
push eax
mov eax, esi
call fcn.004037c0
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x400]
mov eax, dword [ebp + 8]
call fcn.00403568
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4430b4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4431b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x2000
call fcn.0040264c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x443193
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040adec
xor eax, eax
push ebp
push 0x443176
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebx + 4]
call fcn.004037c0
push eax
push 0x2000
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, esi
call fcn.004037c0
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x443160
mov ebx, dword [ebp - 8]
jmp 0x44315b
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.004035b4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004063f4
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x44313c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44317d
mov eax, dword [ebp - 4]
call fcn.0040aea8
ret

Function at 0x44f294
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [0x44f2d0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f2ad
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f2bc
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f2cb
or bl, 2
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x452900
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x45293a
mov eax, dword [0x47962c]
mov eax, dword [eax + 0x20]
mov dword [ebx + 8], eax
test eax, eax
jne 0x45292d
push ebx
push 0x452940
call fcn.004216ac
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
pop ebp
ret