joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e53c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x46e555
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x46e54e
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x46e567
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x46e560
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0046e134
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x46e581
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.0046e244
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x46e609
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x46e627
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0046e1c4
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x46e651
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46e668
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x46e681
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x46e67a
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x46e695
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046e034
test bl, bl
jne 0x46e76f
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4c2d2c
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x46e6cd
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x46e6e2
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046e53c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x46e715
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x46e6c2
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x46e739
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x46e74b
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x46e760
jmp 0x46e830
cmp bl, 1
jne 0x46e830
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4c2d86
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x46e78f
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x46e7a4
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046e53c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x46e7d7
sub ebx, 6
inc dword [ebp - 8]
jne 0x46e784
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x46e7ff
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x46e811
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x46e826
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046e0b4
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x48cd64
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48cdbe
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0048cd54
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0048a514
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0048a02c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cdc5
lea eax, [ebp - 4]
call fcn.004054d0
ret
Function at 0x4aa744
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
cmp bl, 0x90
jne 0x4aa799
push 0x90
call sub.user32.dll_GetKeyState
and ax, 1
cmp al, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_GetKeyboardState
test bl, bl
je 0x4aa784
and byte [ebp - 0x72], 0xfe
jmp 0x4aa788
or byte [ebp - 0x72], 1
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_SetKeyboardState
jmp 0x4aa820
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov byte [ebp - 2], al
test si, si
jbe 0x4aa820
mov eax, ebx
movzx eax, al
bt dword [0x4bc940], eax
jae 0x4aa7ee
mov eax, dword [ebp + 8]
push eax
mov ecx, 1
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.004aa6f8
pop ecx
cmp byte [ebp - 1], 0
je 0x4aa81b
mov eax, dword [ebp + 8]
push eax
mov ecx, 3
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.004aa6f8
pop ecx
jmp 0x4aa81b
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.004aa6f8
pop ecx
cmp byte [ebp - 1], 0
je 0x4aa81b
mov eax, dword [ebp + 8]
push eax
mov ecx, 2
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.004aa6f8
pop ecx
dec si
jne 0x4aa7ae
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4aa828
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov edx, ebx
movzx edx, dl
bt dword [0x4bc940], edx
jae 0x4aa85c
mov edx, dword [ebp + 8]
push edx
xor ecx, ecx
mov edx, eax
mov eax, ebx
call fcn.004aa6f8
pop ecx
pop ebx
pop ebp
ret
mov edx, dword [ebp + 8]
push edx
mov ecx, 2
mov edx, eax
mov eax, ebx
call fcn.004aa6f8
pop ecx
pop ebx
pop ebp
ret
Function at 0x4aff44
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403a38
ret

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

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x4b22f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4bd480]
cmp dword [eax], 0
je 0x4b22c5
call sub.user32.dll_GetForegroundWindow
mov esi, eax
mov eax, dword [0x4c4d48]
call fcn.0044cff0
push eax
call sub.user32.dll_SetForegroundWindow
lea eax, [ebp - 4]
call fcn.00407218
push eax
lea ecx, [ebp - 8]
mov eax, dword [0x4c4d48]
mov eax, dword [eax + 0x374]
mov edx, 0xcb
call fcn.0046a0f0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1b0]
call fcn.00407328
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xec]
call fcn.00407328
push 0x4b2308
lea edx, [ebp - 0x10]
mov eax, dword [0x4c4d48]
mov eax, dword [eax + 0x37c]
mov eax, dword [eax + 0x28]
call fcn.00409fbc
push dword [ebp - 0x10]
push 0x4b2318
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405864
mov eax, dword [ebp - 0xc]
call fcn.00405960
xor edx, edx
call fcn.004aaa9c
mov dl, 1
mov eax, dword [0x436750]
call fcn.00404518
mov ebx, eax
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004369d4
mov edx, dword [ebp - 0x14]
mov eax, 0x4c4d68
call fcn.00405524
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, dword [0x4bd480]
mov edx, dword [edx]
mov eax, ebx
call fcn.00436a54
mov eax, 0x4b231c
xor edx, edx
call fcn.004aaa9c
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, ebx
call fcn.00404548
push 0x4b2308
lea edx, [ebp - 0x1c]
mov eax, dword [0x4c4d48]
mov eax, dword [eax + 0x37c]
mov eax, dword [eax + 0x2c]
call fcn.00409fbc
push dword [ebp - 0x1c]
push 0x4b2318
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405864
mov eax, dword [ebp - 0x18]
call fcn.00405960
xor edx, edx
call fcn.004aaa9c
mov al, 0x20
call fcn.004b2100
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x4b22af
cmp eax, 0x3e8
jbe 0x4b22b1
jmp 0x4b22bf
jg 0x4b22bf
mov eax, dword [0x4bd340]
mov eax, dword [eax]
call fcn.0046361c
jmp 0x4b228c
push esi
call sub.user32.dll_SetForegroundWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b22f7
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.004054f4
lea eax, [ebp - 8]
call fcn.00407218
lea eax, [ebp - 4]
call fcn.00407218
ret
Function at 0x4b3a9c
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4b3aa4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405950
xor eax, eax
push ebp
push 0x4b3cd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [0x4bd340]
mov eax, dword [eax]
call fcn.00463ff0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040a6e0
mov eax, dword [ebp - 0x14]
mov ecx, 3
mov edx, 1
call fcn.004059c8
mov eax, dword [0x4bcf80]
cmp byte [eax], 6
je 0x4b3b10
mov eax, dword [0x4bcf80]
cmp byte [eax], 7
jne 0x4b3b35
lea eax, [ebp - 0x20]
call fcn.0046dca8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040a6e0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov ecx, 0x4b3cf4
call fcn.004057e8
jmp 0x4b3b4f
push dword [ebp - 0xc]
push 0x4b3d08
push 0x4b3cf4
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405864
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41a484]
call fcn.0041f1d4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4b3b8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x36c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00492224
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b3bbb
mov esi, dword [0x4bcf60]
mov esi, dword [esi]
mov edx, dword [0x4bcf60]
mov edx, dword [edx]
lea eax, [ebp - 0x24]
mov ecx, 0x4b3d3c
call fcn.004057e8
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
call fcn.00405960
push eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
call fcn.00405960
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [0x4bcf60]
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
call fcn.004b3a18
test al, al
je 0x4b3c43
mov edx, dword [0x4bcf60]
mov edx, dword [edx]
lea eax, [ebp - 0x30]
mov ecx, 0x4b3d3c
call fcn.004057e8
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x28]
call fcn.00405960
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4b3c86
mov edx, dword [0x4bcf60]
mov edx, dword [edx]
lea eax, [ebp - 0x34]
mov ecx, 0x4b3d3c
call fcn.004057e8
mov esi, dword [ebp - 0x34]
mov edi, dword [0x4bcf60]
mov edi, dword [edi]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
call fcn.00405960
push eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
call fcn.00405960
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 0x10]
call fcn.00404548
mov eax, dword [ebp - 8]
call fcn.00405960
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3ce0
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004054f4
lea eax, [ebp - 0x24]
call fcn.004054d0
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004054f4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004054f4
ret
Function at 0x4029f0
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.00404000
test esi, esi
jne 0x402a26
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.004040f0
jmp 0x402a44
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402904
mov edi, eax
test esi, esi
je 0x402a44
cmp dword [ebx], 0
je 0x402a44
dec esi
jmp 0x402a2d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403128
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47b020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4031c0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4031a0
xor eax, eax
push ebp
push 0x403199
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 0x4031dc
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 0x4031a0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x47b020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47b020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403e84
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47d048], 0
je 0x403ee5
cmp word [0x47d21c], 0xd7b2
jne 0x403ead
cmp dword [0x47d224], 0
jbe 0x403ead
mov eax, 0x47d218
call dword [0x47d234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47b06c
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 0x403f0c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47b030], 0
jne 0x403f01
push 0
push 0x47b064
push 0x47b06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405bc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405c26
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404270
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cec
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405c10
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405c2d
lea eax, [ebp - 0x10]
call fcn.00404000
ret

Function at 0x40aec8
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 pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40af01
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040f0
jmp 0x40af0a
mov eax, ebx
mov edx, esi
call fcn.00404054
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40af14
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_1
test eax, eax
jle 0x40af35
mov al, byte [esp]
jmp 0x40af37
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b5bc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b434
mov eax, dword [0x47cab0]
cmp byte [eax], 0
je 0x40b638
mov eax, dword [0x47c8b4]
call fcn.00402b58
call fcn.00402830
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408700
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b680
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b66e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47c860]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47d664]
call fcn.004050d4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40bed4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bfaa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404098
lea eax, [ebp - 8]
call fcn.00404510
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044c0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bf94
mov eax, ebx
call fcn.004026c8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bf8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044c0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bf77
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bfbc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bf77
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf94
mov eax, dword [ebp - 0x10]
call fcn.004026e8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bfb1
lea eax, [ebp - 8]
call fcn.00404000
ret

Function at 0x40c4bc
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 0x40c520
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_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404270
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408214
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c527
lea eax, [ebp - 0xc]
call fcn.00404000
ret

Function at 0x41b10c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47d884
cmp dword [edi], 0
jne 0x41b188
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47d880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47b3ec
mov ecx, 2
call fcn.004028c4
mov edx, 0x41b0e4
lea eax, [esi + 5]
call fcn.0041b104
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b104
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 0x41b15d
mov dword [0x47d880], 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 0x41c72c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41c732
ret
Function at 0x41ed3c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41ed8d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41ed74
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41ed64
jmp 0x41ed8d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41ed75
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427df4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004044b0
xor eax, eax
push ebp
push 0x427f22
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x427ef5
xor eax, eax
push ebp
push 0x427eee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004042c0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x427ec3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x427eb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004042c0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004044c0
mov edx, ebx
pop ecx
call fcn.004028c4
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427eb9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x47c804]
mov dl, 1
mov eax, dword [0x406f30]
call fcn.0040b740
call fcn.00403a3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427f29
lea eax, [ebp - 4]
call fcn.00404000
ret