joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4572a0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
lea edi, [ebp - 0x60]
xor eax, eax
push ebp
push 0x457454
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x18], eax
xor eax, eax
mov dword [edi + 0x5c], eax
lea eax, [edi + 0x1c]
xor ecx, ecx
mov edx, 0x40
call fcn.00402c18
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
mov dword [edi + 0x10], 0xc3d2e1f0
mov eax, dword [ebp - 0x64]
call fcn.00403e88
mov esi, eax
mov eax, 8
mov ebx, dword [edi + 0x18]
add dword [edi + 0x18], esi
cmp ebx, dword [edi + 0x18]
jle 0x457322
inc dword [edi + 0x14]
dec eax
jne 0x457314
mov ebx, 1
test esi, esi
jle 0x45736d
mov eax, dword [ebp - 0x64]
dec ebx
cmp ebx, dword [eax - 4]
jb 0x45733c
call fcn.00402ee8
inc ebx
mov al, byte [eax + ebx - 1]
mov edx, dword [edi + 0x5c]
cmp edx, 0x3f
jbe 0x45734e
call fcn.00402ee8
mov byte [edi + edx + 0x1c], al
inc ebx
inc dword [edi + 0x5c]
dec esi
cmp dword [edi + 0x5c], 0x40
jne 0x457369
xor eax, eax
mov dword [edi + 0x5c], eax
push ebp
call fcn.00456fe8
pop ecx
test esi, esi
jg 0x45732e
mov eax, dword [edi + 0x5c]
cmp eax, 0x3f
jbe 0x45737a
call fcn.00402ee8
mov byte [edi + eax + 0x1c], 0x80
cmp dword [edi + 0x5c], 0x38
jl 0x45738c
push ebp
call fcn.00456fe8
pop ecx
mov eax, dword [edi + 0x14]
test eax, eax
jns 0x457398
call fcn.00402ee8
call fcn.00456fb8
lea edx, [edi + 0x54]
mov dword [edx], eax
mov eax, dword [edi + 0x18]
test eax, eax
jns 0x4573ae
call fcn.00402ee8
call fcn.00456fb8
lea edx, [edi + 0x58]
mov dword [edx], eax
push ebp
call fcn.00456fe8
pop ecx
mov eax, dword [edi]
call fcn.00456fb8
mov dword [edi], eax
mov eax, dword [edi + 4]
call fcn.00456fb8
mov dword [edi + 4], eax
mov eax, dword [edi + 8]
call fcn.00456fb8
mov dword [edi + 8], eax
mov eax, dword [edi + 0xc]
call fcn.00456fb8
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
call fcn.00456fb8
mov dword [edi + 0x10], eax
lea edx, [ebp - 0x7c]
mov eax, edi
mov ecx, 0x14
call fcn.0040282c
mov eax, dword [ebp - 0x68]
mov edx, dword [0x581dd8]
mov edx, dword [edx]
call fcn.00403ca4
mov ebx, 0x14
lea esi, [ebp - 0x7c]
lea ecx, [ebp - 0x80]
xor eax, eax
mov al, byte [esi]
mov edx, 2
call fcn.00408f88
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x68]
call fcn.00403e90
mov eax, dword [ebp - 0x68]
inc esi
dec ebx
jne 0x45741b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45745b
lea eax, [ebp - 0x80]
call fcn.00403c0c
ret
Function at 0x457724
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test bl, bl
je 0x457747
push esi
call sub.user32.dll_IsIconic
test eax, eax
je 0x457747
push 9
push esi
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
jne 0x457757
mov bl, 1
jmp 0x457849
mov eax, dword [0x582064]
cmp dword [eax], 2
jne 0x45776b
mov eax, dword [0x581970]
cmp dword [eax], 4
jg 0x45779f
mov eax, dword [0x582064]
cmp dword [eax], 1
jne 0x457833
mov eax, dword [0x581970]
cmp dword [eax], 4
jg 0x45779f
mov eax, dword [0x581970]
cmp dword [eax], 4
jne 0x457833
mov eax, dword [0x581d64]
cmp dword [eax], 0
jle 0x457833
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push edi
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x4577ed
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push edi
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x45783f
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [ebp - 8]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
jmp 0x45783f
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x458f50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push edi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, 0
mov edi, dword [0x584888]
shl edi, 2
xor edx, dword [esi + 0x583800]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x583888]
mov bl, dl
add ecx, dword [ebx*4 + 0x583c88]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x584088]
mov bl, dl
add ecx, dword [ebx*4 + 0x584488]
xor eax, ecx
xchg edx, eax
add esi, 4
cmp esi, edi
jne 0x458f6d
xchg edx, eax
xor eax, dword [esi + 0x583800]
xor edx, dword [esi + 0x583804]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop edi
pop esi
pop ecx
pop ebx
ret
Function at 0x458fc4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, dword [0x584888]
inc esi
shl esi, 2
xor edx, dword [esi + 0x583800]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x583888]
mov bl, dl
add ecx, dword [ebx*4 + 0x583c88]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x584088]
mov bl, dl
add ecx, dword [ebx*4 + 0x584488]
xor eax, ecx
xchg edx, eax
sub esi, 4
cmp esi, 4
jne 0x458fdc
xchg edx, eax
xor eax, dword [0x583804]
xor edx, dword [0x583800]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop esi
pop ecx
pop ebx
ret
Function at 0x4592bc
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
push edi
mov dword [0x584888], 0x10
mov esi, 0x57cca8
mov edi, 0x583800
mov ecx, 0x422
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret

Function at 0x45b8d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or edx, edx
je 0x45b8ef
jecxz 0x45b8ef
push ebx
movzx ebx, al
xor bl, byte [edx]
shr eax, 8
and eax, 0xffffff
xor eax, dword cs:[ebx + 0x45b8f0]
inc edx
loop 0x45b8d7
pop ebx
ret
Function at 0x45dc70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45dca3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x14], 0
jne 0x45dc99
mov eax, dword [ebp - 4]
call fcn.0045c32c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45dcad
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
jne 0x45dd63
call sub.kernel32.dll_GetTickCount
sub eax, 0xf
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x20]
jb 0x45dd63
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
xor edx, edx
push ebp
push 0x45dd59
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00409244
cmp eax, 0xffffffff
jne 0x45dd03
pop dword fs:[0]
add esp, 8
jmp 0x45dd63
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x18]
jle 0x45dd4f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x16], 0
je 0x45dd1e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45dd63
mov eax, dword [ebp - 4]
mov byte [eax + 0x2e], 1
xor eax, eax
push ebp
push 0x45dd45
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045c32c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45dd4f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45dd63
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4679f8
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.00402c18
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
mov edx, dword [0x582074]
cmp byte [edx + 8], 0
je 0x467a5f
mov edx, dword [0x582064]
cmp dword [edx], 2
jne 0x467a5f
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
pop ebp
ret
Function at 0x467a64
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x467b1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004679f8
test al, al
je 0x467afe
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403cf0
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x467afe
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040404c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.0040404c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403dc0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x467ab7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467b23
lea eax, [ebp - 0x2c]
call fcn.00403c0c
lea eax, [ebp - 0xc]
call fcn.00403c0c
ret

Function at 0x467b2c
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.00402c18
lea eax, [ebx + 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, edi
call fcn.0040404c
push eax
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 1]
mov eax, dword [ebp - 8]
call fcn.00467578
mov byte [ebx], al
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x467d34
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x467dc5
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.00467548
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.0040404c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x467daf
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x581ba4]
call fcn.00405c64
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4673f8]
call fcn.0040bb94
call fcn.00403680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467dcc
lea eax, [ebp - 0x10]
call fcn.00403c0c
ret
Function at 0x467dd8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x467e73
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040404c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x467e4d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x582084]
call fcn.00405c64
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4673f8]
call fcn.0040bb94
call fcn.00403680
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00467578
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467e7a
lea eax, [ebp - 0x10]
call fcn.00403c0c
ret

Function at 0x468ea4
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
test byte [ebx + 0x20], 0x10
jne 0x468f44
cmp byte [ebx + 0x25b], 0
jne 0x468f44
cmp byte [ebx + 0x220], 0
jne 0x468ed3
mov dl, 1
mov eax, ebx
call fcn.00468f8c
cmp byte [ebx + 0x220], 0
je 0x468f44
mov byte [ebx + 0x25b], 1
cmp byte [ebx + 0x25d], 0
je 0x468f14
cmp word [ebx + 0x29e], 0
je 0x468f14
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x468f14
lea edx, [ebx + 0x2bc]
mov eax, dword [ebx + 0x2a0]
call dword [ebx + 0x29c]
mov eax, dword [0x581ca8]
mov eax, dword [eax]
call fcn.0043ae5c
push 6
mov eax, dword [0x581ca8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x581ca8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
pop ebx
pop ebp
ret
Function at 0x4694d4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 0x10
jne 0x4696a4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x25b], 0
je 0x4696a4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22c], 0
jne 0x4696a4
xor eax, eax
push ebp
push 0x46969d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x22c], 1
mov byte [ebp - 5], 0
mov byte [ebp - 7], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x2b6], 0
je 0x469551
lea ecx, [ebp - 7]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x2b8]
call dword [ebx + 0x2b4]
cmp byte [ebp - 7], 0
jne 0x469561
call fcn.00403720
jmp 0x4696a4
mov al, byte [ebp - 7]
mov byte [ebp - 5], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x25d], 0
je 0x4695c1
mov eax, dword [ebp - 4]
cmp word [eax + 0x2a6], 0
je 0x4695c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2bc]
call fcn.00403e88
test eax, eax
jle 0x4695c1
mov byte [ebp - 6], 0
lea ecx, [ebp - 6]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x2bc]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x2a8]
call dword [ebx + 0x2a4]
cmp byte [ebp - 6], 0
jne 0x4695c1
call fcn.00403720
jmp 0x4696a4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x258], 0
jne 0x4695e6
push 0
push 0
push 0x6d81
mov eax, dword [0x581ca8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_PostMessageA
xor eax, eax
push ebp
push 0x46967e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x581ca8]
mov eax, dword [eax]
call fcn.0043aea4
push 9
mov eax, dword [0x581ca8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x4314ec]
call fcn.00403138
mov dl, 1
call fcn.0043514c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x4314ec]
call fcn.00403138
call fcn.00447120
mov dl, 1
call fcn.00457724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469685
mov eax, dword [ebp - 4]
mov byte [eax + 0x25b], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x296], 0
je 0x46967d
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x298]
call dword [ebx + 0x294]
ret
mov al, byte [ebp - 5]
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x477c88
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x477d60
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x585974], 0
jne 0x477d44
lea eax, [ebp - 4]
mov edx, 0x477d78
call fcn.00403ca4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040404c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x477d44
mov eax, ebx
call fcn.00402714
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x477d3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x477d27
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x477d88
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x477d27
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x585974], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477d44
mov eax, dword [ebp - 0xc]
call fcn.0040272c
ret
mov ebx, dword [0x585974]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477d67
lea eax, [ebp - 4]
call fcn.00403c0c
ret

Function at 0x48c2fc
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x585998], 0
jne 0x48c322
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48c280
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x585998], eax
pop ebp
ret

Function at 0x48f68c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00447548
test al, al
je 0x48f6e9
cmp bl, 7
jne 0x48f6c5
push 2
lea eax, [ebp - 2]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [ebp - 2]
sub edi, 0x30
jmp 0x48f6ca
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xc0]
test eax, eax
je 0x48f6e9
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xc0]
mov edx, edi
call fcn.00423ab0
mov byte [esi + 0x204], bl
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x492680
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x492862
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4926ca
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00492138
mov eax, dword [ebp - 0x204]
mov edx, ebx
call fcn.0040c400
cmp al, 1
jne 0x4926ca
dec ebx
mov edi, ebx
mov eax, esi
call fcn.00492454
test al, al
je 0x492802
test edi, edi
jge 0x4926e1
xor edi, edi
lea ebx, [edi + 1]
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00492138
mov eax, dword [ebp - 0x204]
call fcn.00403e88
cmp ebx, eax
jge 0x492728
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00492138
mov eax, dword [ebp - 0x204]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x582048]
and eax, 0xff
bt dword [edx], eax
jae 0x492728
inc ebx
mov eax, dword [esi + 0x20c]
cmp edi, eax
jl 0x492736
mov edi, eax
mov ebx, edi
mov ecx, ebx
mov edx, ebx
mov eax, esi
call fcn.00492658
cmp ebx, edi
je 0x4927fa
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x492760
mov byte [ebp - 0x1f0], 0x81
mov eax, esi
mov bx, 0xffcf
call fcn.00403184
and eax, 0x7f
movzx eax, word [eax*2 + 0x57e3e0]
mov byte [ebp + eax - 0x200], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.00403184
and eax, 0x7f
movzx eax, word [eax*2 + 0x57e3e0]
push eax
push pe_nt_image_headers32
mov eax, esi
call fcn.00447120
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.00403184
and eax, 0x7f
movzx eax, word [eax*2 + 0x57e3e0]
push eax
push 0x101
mov eax, esi
call fcn.00447120
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [esi + 0x214], edi
jmp 0x492849
test edi, edi
jge 0x492808
xor edi, edi
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00492138
mov eax, dword [ebp - 0x204]
call fcn.00403e88
cmp edi, eax
jl 0x49283e
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00492138
mov eax, dword [ebp - 0x204]
call fcn.00403e88
mov edi, eax
mov ecx, edi
mov edx, edi
mov eax, esi
call fcn.00492658
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492869
lea eax, [ebp - 0x204]
call fcn.00403c0c
ret
Function at 0x495a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x1ec]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x495c33
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x224]
mov eax, dword [ebx + 0x10]
call fcn.0041b960
cmp byte [ebp + 8], 0
je 0x495ae9
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.0041b830
jmp 0x495af7
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.0041b830
mov eax, dword [ebx + 0x10]
call fcn.0041b958
dec eax
jle 0x495b3d
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.0041b828
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.0041b958
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.0041b8f0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov bx, 0xffcf
call fcn.00403184
test al, al
je 0x495b86
test esi, esi
jne 0x495b86
inc dword [ebp - 0xc]
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x495bbc
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1ec]
call fcn.0041c50c
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4