joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41142c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41159d
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 0x411578
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
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.0043af78
lea eax, [ebp - 0x118]
mov edx, 0x4115b4
call fcn.0043b058
mov eax, dword [ebp - 0x118]
call fcn.0043b248
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x4114ea
lea eax, [ebp - 0x111]
call fcn.00428674
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.0043ae88
jmp 0x4114f1
mov eax, esi
call fcn.0043ad98
cmp bl, 0x61
jae 0x411512
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0042c584
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.0043adec
jmp 0x41152c
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0042c4f8
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.0043adec
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4115c0
call fcn.00428dd4
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.0043adec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41157f
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret

Function at 0x415714
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x41579d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a48b8
push 0x101
call sub.WSOCK32.DLL_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x415787
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0042b078
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x4157b4
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4a4368]
mov dl, 1
mov eax, dword [0x414fc8]
call fcn.0042b9c8
call fcn.0043a9f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4157a4
lea eax, [ebp - 0x1c]
call fcn.0043ad98
ret
Function at 0x415e50
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00415d74
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.0043a448
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.WSOCK32.DLL_connect
mov edx, 0x415eb4
call fcn.0041565c
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x415ea6
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.0043a448
pop esi
pop ebx
ret

Function at 0x415ed8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.0043b248
push eax
call sub.WSOCK32.DLL_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00439b60
test ebx, ebx
je 0x415f23
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x415f68
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov word [ebx], 2
test edi, edi
je 0x415f90
mov edx, edi
mov eax, esi
call fcn.00415ed8
mov dword [ebx + 4], eax
jmp 0x415fcd
cmp dword [ebp - 4], 0
je 0x415fa9
mov eax, dword [ebp - 4]
call fcn.0043b248
push eax
call sub.WSOCK32.DLL_inet_addr
mov dword [ebx + 4], eax
jmp 0x415fcd
cmp byte [ebp + 0xc], 0
jne 0x415fb6
xor eax, eax
mov dword [ebx + 4], eax
jmp 0x415fcd
mov ecx, dword [0x4a4370]
mov dl, 1
mov eax, dword [0x414fc8]
call fcn.0042b98c
call fcn.0043a9f8
cmp dword [ebp + 0x14], 0
je 0x415fe9
mov edx, dword [ebp + 0x14]
mov eax, esi
call fcn.00415f34
push eax
call sub.WSOCK32.DLL_htons
mov word [ebx + 2], ax
jmp 0x415ff7
mov ax, word [ebp + 0x10]
push eax
call sub.WSOCK32.DLL_htons
mov word [ebx + 2], ax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
Function at 0x416000
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x416031
mov ecx, dword [0x4a4378]
mov dl, 1
mov eax, dword [0x414fc8]
call fcn.0042b98c
call fcn.0043a9f8
push 0
push 1
push 2
call sub.WSOCK32.DLL_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x41605e
mov ecx, dword [0x4a4374]
mov dl, 1
mov eax, dword [0x414fc8]
call fcn.0042b98c
call fcn.0043a9f8
xor eax, eax
push ebp
push 0x4160da
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.0043a448
cmp byte [ebp + 8], 0
je 0x4160b6
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00415f68
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00415e50
jmp 0x4160d0
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00415948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4160f7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4162bc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00415c10
xor eax, eax
push ebp
push 0x41642e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x416418
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x416307
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x416311
call fcn.0043aaa4
jmp 0x416435
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041cf90
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 8]
mov ebx, eax
test ebx, ebx
jle 0x41640d
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4163bf
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4163ac
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0043a448
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00416274
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x416440]
cmp dl, byte [eax + 0x28]
je 0x416414
call fcn.0042b874
jmp 0x416414
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041cfb0
jmp 0x416414
cmp ecx, ebx
jge 0x4163db
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041cfb0
jmp 0x416311
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041cf90
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041cfc4
cmp edx, dword [esp + 4]
jne 0x4163fc
cmp eax, dword [esp]
pop edx
pop eax
jne 0x416311
push ebp
call fcn.00416274
pop ecx
jmp 0x416414
push ebp
call fcn.00416274
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416435
mov eax, dword [ebp - 4]
call fcn.00415c1c
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4164a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4165ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00415c10
xor eax, eax
push ebp
push 0x4165cd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x416505
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x416505
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_ioctlsocket
jmp 0x4165b7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x416518
call fcn.0043aaa4
jmp 0x4165d4
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4165b7
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4165b7
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0043a448
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4165b7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0042b078
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x416604
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4a4368]
mov dl, 1
mov eax, dword [0x414fc8]
call fcn.0042b9c8
call fcn.0043a9f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4165d4
mov eax, dword [ebp - 4]
call fcn.00415c1c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4165f1
lea eax, [ebp - 0x28]
call fcn.0043ad98
ret

Function at 0x423acc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a4a90
cmp dword [edi], 0
jne 0x423b48
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4a4a8c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x49f1f4
mov ecx, 2
call fcn.004394bc
mov edx, 0x423aa4
lea eax, [esi + 5]
call fcn.00423ac4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423ac4
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 0x423b1d
mov dword [0x4a4a8c], 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 0x425018
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.00424c7c
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.0043b248
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x425076
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a434c]
mov dl, 1
mov eax, dword [0x424b74]
call fcn.0042b9c8
call fcn.0043a9f8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x425080
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.0043b248
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4250d8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a4348]
mov dl, 1
mov eax, dword [0x424b74]
call fcn.0042b9c8
call fcn.0043a9f8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00424cac
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 0x428308
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0043b248
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x428321
test al, 0x10
jne 0x428325
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x42b0c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x42b0fd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0043ae88
jmp 0x42b106
mov eax, ebx
mov edx, esi
call fcn.0043adec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42b110
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x42b131
mov al, byte [esp]
jmp 0x42b133
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42b7b8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x42b630
mov eax, dword [0x4a4558]
cmp byte [eax], 0
je 0x42b825
mov eax, dword [0x4a455c]
call fcn.004399a4
call fcn.00439308
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00428674
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x42b86c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x42b85b
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a4414]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a4730]
call fcn.0043c510
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret

Function at 0x42c718
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x42c77c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0043b000
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00427f58
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c783
lea eax, [ebp - 0xc]
call fcn.0043ad98
ret

Function at 0x4393b4
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4393f1
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push esp
call sub.KERNEL32.DLL_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test bl, bl
je 0x439411
lea eax, [esp + 0x109]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.0043b000
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x4395e8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0043ad98
test esi, esi
jne 0x43961e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0043ae88
jmp 0x43963c
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004394fc
mov edi, eax
test esi, esi
je 0x43963c
cmp dword [ebx], 0
je 0x43963c
dec esi
jmp 0x439625
add esp, 0x108
pop edi
pop esi
pop ebx
ret
Function at 0x43a0bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x49f734]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x43a154
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x43a134
xor eax, eax
push ebp
push 0x43a12d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x43a170
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a134
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x49f734]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x49f734], ax
mov esp, ebp
pop ebp
ret

Function at 0x43ac1c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a4e10], 0
je 0x43ac7d
cmp word [0x4a4fe4], 0xd7b2
jne 0x43ac45
cmp dword [0x4a4fec], 0
jbe 0x43ac45
mov eax, 0x4a4fe0
call dword [0x4a4ffc]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x43aca4
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x49f744], 0
jne 0x43ac99
push 0
push 0x49f79c
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x43c704
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x43c934
push connect
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x43c787
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x43c934
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x43c787
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x43c950
push connect
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x43c810
xor eax, eax
push ebp
push 0x43c809
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0043c54c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x43c7ee
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x43c970
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x43c7ee
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c810
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x43c92a
cmp byte [ebp - 0xd], 0
jne 0x43c857
cmp byte [ebp - 0x12], 0
je 0x43c92a
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x43c870
dec ebx
cmp byte [ebx], 0x2e
je 0x43c87f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x43c86f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x43c92a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x43c8bc
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x43c92a
cmp byte [ebp - 0xd], 0
je 0x43c92a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x43c92a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d0a8
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x4a5384], 1
jae 0x43d12e
mov byte [0x49f730], 2
mov dword [0x4a4dd4], 0x4995e4
mov dword [0x4a4dd8], 0x4995f6
mov byte [0x4a4e12], 2
mov dword [0x4a4dc0], 0x43bd34
call fcn.0043a08c
test al, al
je 0x43d0eb
call fcn.0043a0bc
call fcn.0043a180
mov word [0x4a4e18], 0xd7b0
mov word [0x4a4fe4], 0xd7b0
mov word [0x4a51b0], 0xd7b0
call fcn.0043bc14
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x4a4e04], eax
call fcn.00437dd4
mov dword [0x4a4e00], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4a4df8], eax
ret

Function at 0x43db44
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x43da90
call sub.USER32.DLL_EnumWindows
ret

Function at 0x43dc68
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x43dce5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043d6b4
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43dc8d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043d30c
cmp dword [ebp - 4], 0
je 0x43dccf
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0043b248
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.USER32.DLL_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dcec
lea eax, [ebp - 4]
call fcn.0043ad98
ret