joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460bc4
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 0x460d6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460d50
mov dl, 1
mov eax, dword [0x418804]
call fcn.004037b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045bc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460d3f
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.0044eb0c
test al, al
je 0x460d32
lea eax, [ebp - 0xc]
push eax
push 0x20019
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, 0x460d80
lea eax, [ebp - 0x254]
call fcn.0040b2a0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x460d32
xor eax, eax
push ebp
push 0x460d2b
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 0x460db8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x460d14
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040482c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x460d14
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040482c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460d32
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460c35
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c804
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460d76
lea eax, [ebp - 0x260]
call fcn.004045bc
ret

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

Disassembly:
push ecx
mov eax, dword [0x4e5e08]
cmp byte [eax + 0xa5], 0
jne 0x461715
cmp dword [0x4e5e20], 0
jne 0x4616d6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x461660
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4e5e20], eax
cmp dword [0x4e5e1c], 0
jne 0x4616f1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4e5e1c], eax
cmp dword [0x4e5e24], 0
jne 0x461715
push esp
push 0
push 0
push 0x461604
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4e5e24], eax
pop edx
ret
Function at 0x46180c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x461823
add esp, 0xfffffff0
call fcn.00403b0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420ba0
mov eax, dword [0x4e228c]
cmp word [eax + 2], 0
jne 0x46184b
mov eax, dword [0x4e228c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462efc
mov eax, dword [0x4e23b4]
cmp word [eax + 2], 0
jne 0x461865
mov eax, dword [0x4e23b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004630f4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418330]
call fcn.004037b8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418330]
call fcn.004037b8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42324c]
call fcn.0042b5b0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4619ec
mov eax, dword [0x4e2120]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042b980
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4636a4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4e2120]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040eea0
test eax, eax
je 0x46195a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040ac94
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040eec8
test eax, eax
je 0x46196e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040482c
mov eax, dword [0x4e1f0c]
cmp byte [eax], 0
jne 0x4619a2
mov eax, ebx
call fcn.00461b14
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00463880
mov eax, ebx
call fcn.00464244
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4619e2
call fcn.00403b64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461d94
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4e5e08]
cmp dword [eax + 0x30], 0
je 0x461e3e
cmp dword [ebx + 0x94], 0
jne 0x461e38
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461d24
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461e38
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 0x461dfe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461e38
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041a854
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461e0d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4629a0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4629d5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004046ac
jmp 0x4629e2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404610
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463a5c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x463a9d
mov eax, esi
call fcn.0044a0f4
test al, al
je 0x463a9d
mov eax, dword [ebx + 0x84]
call fcn.00449df0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463a9d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449df0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46475c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4176ec]
call fcn.004050a8
xor eax, eax
push ebp
push 0x4648a0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e0598], 0
jne 0x4647af
mov ecx, dword [0x4e1f30]
mov dl, 1
mov eax, dword [0x40938c]
call fcn.0040e0d0
call fcn.00403f74
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030f8
mov eax, ebx
call fcn.00404e60
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4648b0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406230
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e70
test eax, eax
jle 0x464847
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x464840
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404844
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040482c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040a240
test eax, eax
jne 0x464840
mov ebx, 0x15
jmp 0x46484c
mov ebx, 0x10
jmp 0x46484c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4e0598]
call fcn.004646b4
mov eax, dword [ebp - 8]
call fcn.004646b4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4648a7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045e0
lea eax, [ebp - 0x10]
mov edx, dword [0x4176ec]
call fcn.00405178
ret

Function at 0x46807c
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00467b1c
test byte [ebx + 0x23d], 4
jne 0x468111
mov edx, esp
mov eax, ebx
call fcn.00442f40
push esp
mov eax, ebx
call fcn.00449bec
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4680b1
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x4680e2
mov ecx, dword [0x4e2214]
mov dl, 1
mov eax, dword [0x464374]
call fcn.0040e0d0
call fcn.00403f74
mov eax, ebx
call fcn.00468650
cmp byte [ebx + 0x57], 0
jne 0x468118
mov eax, ebx
call fcn.00449df0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x468118
push 0
mov eax, ebx
call fcn.00449df0
push eax
call sub.user32.dll_ShowWindow
jmp 0x468118
mov eax, ebx
call fcn.00446d70
add esp, 0x10
pop ebx
ret
Function at 0x47509c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4750ca
mov eax, ebx
call fcn.00475b50
cmp dword [ebx + 0x40], 0
je 0x4750c3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47513b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47512d
cmp dword [ebx + 8], 0
je 0x4750ec
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4750fe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47512d
cmp dword [ebx + 8], 0
je 0x4750df
cmp eax, 3
je 0x475111
dec eax
jne 0x4750df
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4750df
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4750df
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x475159
cmp dword [ebx + 0x14], 0xcc
je 0x475159
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00475164
pop ebx
ret

Function at 0x485860
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a6c
mov eax, dword [ebp - 8]
call fcn.00404a6c
xor eax, eax
push ebp
push 0x48597d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], 2
mov eax, dword [ebp - 8]
call fcn.00404a7c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 3
mov eax, 0x48598c
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404a7c
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x485962
xor eax, eax
push ebp
push 0x48595b
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x48593b
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x48593f
xor eax, eax
jmp 0x485941
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485962
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485984
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045e0
ret
Function at 0x485994
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a6c
mov eax, dword [ebp - 8]
call fcn.00404a6c
mov eax, dword [ebp - 0xc]
call fcn.00404a6c
mov eax, dword [ebp + 0xc]
call fcn.00404a6c
xor eax, eax
push ebp
push 0x485b03
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00404a7c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, 0x485b14
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404a7c
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x485ae0
xor edx, edx
push ebp
push 0x485ad9
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404a7c
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404a7c
push eax
mov ax, word [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a7c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x485ac2
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x485ab9
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x485abd
xor eax, eax
jmp 0x485abf
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485ae0
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485b0a
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004045e0
lea eax, [ebp + 0xc]
call fcn.004045bc
ret
Function at 0x485b1c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x485be4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x485be8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x485be4
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x485bdb
xor eax, eax
push ebp
push 0x485bd4
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485bdb
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x487170
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffff4
mov bl, 2
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.004030f8
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x4871a7
cmp byte [esp], 0x31
jne 0x4871a5
mov bl, 1
jmp 0x4871a7
xor ebx, ebx
mov eax, ebx
add esp, 0xc
pop ebx
ret
Function at 0x494940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00424fd4
cmp ebx, dword [ebp - 8]
jge 0x4949a3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004253d0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004253d0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004253fc
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x494969
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4949ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00424fd4
cmp ebx, dword [ebp - 8]
jge 0x494a0f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004253d0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004253d0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004253fc
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4949d5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x49c5d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49c830
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x49c633
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049c278
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040ea18
cmp al, 1
jne 0x49c633
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0049c540
test al, al
je 0x49c7bf
cmp dword [ebp - 8], 0
jge 0x49c651
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0049c278
mov eax, dword [ebp - 0x210]
call fcn.0040487c
cmp ebx, eax
jge 0x49c69b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049c278
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4e25b4]
and eax, 0xff
bt dword [edx], eax
jae 0x49c69b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x49c6af
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049c5ac
cmp ebx, dword [ebp - 8]
je 0x49c7b1
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x49c6db
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004039e4
and eax, 0x7f
movzx eax, word [eax*2 + 0x4e13c0]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x49c79e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004039e4
and eax, 0x7f
movzx eax, word [eax*2 + 0x4e13c0]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00449df0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004039e4
and eax, 0x7f
movzx eax, word [eax*2 + 0x4e13c0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00449df0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c7a5
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x49c812
cmp dword [ebp - 8], 0
jge 0x49c7ca
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049c278
mov eax, dword [ebp - 0x218]
call fcn.0040487c
cmp eax, dword [ebp - 8]
jg 0x49c804
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049c278
mov eax, dword [ebp - 0x21c]
call fcn.0040487c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049c5ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c837
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004045e0
ret
Function at 0x4ba1cc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4ba1e8
cmp dword [esi + 4], 0
je 0x4ba215
test byte [ebx + 0x55], 1
jne 0x4ba207
mov eax, ebx
call fcn.00446ae8
test eax, eax
jne 0x4ba207
mov edx, esi
mov eax, ebx
call fcn.0044bae0
jmp 0x4ba306
mov edx, esi
mov eax, ebx
call fcn.00447a6c
jmp 0x4ba306
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
call fcn.00442f40
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4ba2ff
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00449df0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.00444784
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004ba1cc
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00449df0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba306
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret