joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100772a9
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10087338]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006e8f4
mov dword [ebp - 0x14], eax
cmp dword [0x106745d0], esi
jne 0x1007739c
push 0x800
push esi
push 0x10006110
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10077329
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007747c
push esi
push esi
push 0x10006110
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007747c
push 0x10006128
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007747c
push eax
call ebx
push 0x10006134
push edi
mov dword [0x106745d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10006144
push edi
mov dword [0x106745d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10006158
push edi
mov dword [0x106745d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106745e0], eax
test eax, eax
je 0x10077399
push 0x10006174
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106745dc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100773c1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100773b4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x100773d6
push 4
pop eax
jmp 0x1007747e
cmp dword [ebp - 0x14], esi
je 0x100773d6
push dword [0x106745d0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100773bb
mov eax, dword [0x106745dc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10077434
cmp dword [0x106745e0], edi
je 0x10077434
push eax
call ebx
push dword [0x106745e0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10077434
test eax, eax
je 0x10077434
call ecx
test eax, eax
je 0x10077429
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10077429
test byte [ebp - 8], 1
jne 0x10077434
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10077464
mov eax, dword [0x106745d4]
cmp eax, edi
je 0x10077461
push eax
call ebx
test eax, eax
je 0x10077461
call eax
mov esi, eax
test esi, esi
je 0x10077461
mov eax, dword [0x106745d8]
cmp eax, edi
je 0x10077461
push eax
call ebx
test eax, eax
je 0x10077461
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x106745d0]
call ebx
test eax, eax
je 0x1007747c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007747e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x403d10
Capabilities:
Encode data using base64
Parse credit card information
Query or enumerate registry key
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x432de8]
push ebx
push esi
cmp eax, 0x38
push edi
je fcn.00403d37
jmp loc.0045b4a5

Function at 0x42e2f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [0x432df4]
xor ecx, ecx
push esi
cmp ebx, 0x27
push edi
mov edi, dword [0x432e00]
sete cl
sar edi, cl
mov dword [0x432e00], edi
mov dword [0x432e40], 0x432488
mov dword [0x432e40], 0x432490
mov dword [0x432e40], 0x432498
mov dword [0x432e40], 0x4324a0
mov dword [0x432e40], 0x4324a8
mov dword [0x432e40], 0x4324b0
mov dword [0x432e40], 0x4324b8
mov dword [0x432e40], 0x4324c0
mov dword [0x432e40], 0x4324c8
mov dword [0x432e40], 0x4324d0
mov dword [0x432e40], 0x4324d8
mov dword [0x432e40], 0x4324e0
mov dword [0x432e40], 0x4324e8
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x3c]
mov dword [0x432e40], 0x4324f0
mov dword [0x432e40], 0x4324f8
add eax, ebx
mov dword [0x432e40], 0x432500
mov dword [0x432e40], 0x432508
mov dword [0x432e40], 0x432510
mov eax, dword [eax + 0x78]
mov dword [0x432e40], 0x432518
mov dword [0x432e40], 0x432520
add eax, ebx
mov dword [ebp - 8], eax
mov dword [0x432e40], 0x432528
mov esi, dword [eax + 0x20]
or edx, 0xffffffff
add esi, ebx
mov dword [ebp + 8], esi
mov dword [0x432e40], 0x432530
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x10], ecx
mov dword [0x432e40], 0x432538
or eax, 0xffffffff
mov dword [ebp - 4], 0
test ecx, ecx
jmp loc.0045aa9f

Function at 0x42e960
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4316c8
push 0x42eae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
jmp loc.0045b615

Function at 0x42eaca
Capabilities:
Packed with generic packer

Disassembly:
push 0x30000
push 0x10000
jmp loc.0045a7e2
Function at 0x1001378e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100137a7
push 0x1d2f
call dword [sym.imp.USER32.dll_GetQueueStatus]
jmp 0x100137c0
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100137c0
push 0x1463
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esp, ebp
pop ebp
ret
Function at 0x1001a73b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001a761
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1001a76e
push 0x1463
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esp, ebp
pop ebp
ret
Function at 0x10023642
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002365e
push 0x1463
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x10023688
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10023688
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esp, ebp
pop ebp
ret
Function at 0x10029e99
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10029ebd
xor eax, eax
jmp 0x10029feb
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.10029c86
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10029ee5
xor eax, eax
jmp 0x10029feb
push 1
push 0x2352
push dword [ebp - 8]
push 0x6e4f
lea eax, [ebp - 0xc]
push eax
call fcn.10029a1e
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x10029f0d
xor eax, eax
jmp 0x10029feb
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10029cd8
add esp, 0x14
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp + 8]
push eax
push 0x33b6
call fcn.10029d1d
add esp, 0x14
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10029d94
add esp, 0x10
push 1
push 0x2f05
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10029de9
add esp, 0x10
push dword [ebp - 4]
call fcn.10029399
pop ecx
test eax, eax
jne 0x10029f82
xor eax, eax
jmp 0x10029feb
push dword [ebp - 4]
push 1
call fcn.1002368c
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10029fd3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x10029fad
xor eax, eax
jmp 0x10029feb
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10029fc6
xor eax, eax
jmp 0x10029feb
push 1
lea eax, [ebp - 4]
push eax
call fcn.10029e57
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10029fe4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x10029fe8
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x1003c2db
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003c34d
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 0x432a2768
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0x5010f7a7
mov dword [ebp - 0x24], 0x8bd4dfbd
mov dword [ebp - 0x28], 0x2443
mov dword [ebp - 0xc], 0x282d564c
mov dword [ebp - 8], 0
jmp 0x1003c331
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1003c344
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x34], 0
jmp 0x1003c32a
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
jmp 0x1003c366
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003c366
push 0x1463
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esp, ebp
pop ebp
ret

Function at 0x1003cfb4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1003d022
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
mov dword [ecx + eax], edx
jmp 0x1003d02a
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esp, ebp
pop ebp
ret
Function at 0x1007421b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007d38c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006439a
mov dword [ebp - 0x14], eax
cmp dword [0x1072d620], esi
jne 0x1007430e
push 0x800
push esi
push 0x1000926c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007429b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100743ee
push esi
push esi
push 0x1000926c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x100743ee
push 0x10009284
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100743ee
push eax
call ebx
push 0x10009290
push edi
mov dword [0x1072d620], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100092a0
push edi
mov dword [0x1072d624], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100092b4
push edi
mov dword [0x1072d628], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1072d630], eax
test eax, eax
je 0x1007430b
push 0x100092d0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1072d62c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10074333
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10074326
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10074348
push 4
pop eax
jmp 0x100743f0
cmp dword [ebp - 0x14], esi
je 0x10074348
push dword [0x1072d620]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007432d
mov eax, dword [0x1072d62c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100743a6
cmp dword [0x1072d630], edi
je 0x100743a6
push eax
call ebx
push dword [0x1072d630]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100743a6
test eax, eax
je 0x100743a6
call ecx
test eax, eax
je 0x1007439b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007439b
test byte [ebp - 8], 1
jne 0x100743a6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100743d6
mov eax, dword [0x1072d624]
cmp eax, edi
je 0x100743d3
push eax
call ebx
test eax, eax
je 0x100743d3
call eax
mov esi, eax
test esi, esi
je 0x100743d3
mov eax, dword [0x1072d628]
cmp eax, edi
je 0x100743d3
push eax
call ebx
test eax, eax
je 0x100743d3
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1072d620]
call ebx
test eax, eax
je 0x100743ee
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x100743f0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005ff45
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x474004]
jne 0x40100a
repz ret
jmp fcn.004018f4

Function at 0x4067a8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040261d
and dword [ebp - 4], 0
cmp dword [0x475cdc], 0
mov ebx, eax
jne 0x406859
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40690a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40690a
push eax
call fcn.004025ab
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x475cdc], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x475ce0], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x475ce4], eax
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x475cec], eax
test eax, eax
je 0x406859
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x475ce8], eax
mov eax, dword [0x475ce8]
cmp eax, ebx
je 0x4068b1
cmp dword [0x475cec], ebx
je 0x4068b1
push eax
call fcn.00402626
push dword [0x475cec]
mov esi, eax
call fcn.00402626
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4068b1
test edi, edi
je 0x4068b1
call esi
test eax, eax
je 0x4068a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4068a8
test byte [ebp - 0xc], 1
jne 0x4068b1
or dword [ebp + 0x10], 0x200000
jmp 0x4068ea
mov eax, dword [0x475ce0]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4068ea
mov eax, dword [0x475ce4]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x475cdc]
call fcn.00402626
pop ecx
test eax, eax
je 0x40690a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40690c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4705d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
cmp edi, 0x19f
jne 0x4705e9
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor edx, edx
test edi, edi
jle 0x470631
nop
lea ecx, [esp + 8]
mov dword [esp], 5
mov dword [esp + 8], 0
call fcn.004705c0
mov eax, dword [esp + 8]
add eax, 0x46
mov dword [esp], eax
sub dword [esp], 0x46
movsx eax, byte [edx + esi]
mov dword [esp + 4], eax
mov eax, dword [esp]
xor dword [esp + 4], eax
mov cl, byte [esp + 4]
mov byte [edx + esi], cl
inc edx
cmp edx, edi
jl 0x4705f0
cmp edi, 0x2d
jne 0x47064a
mov dword [0x2b73ef8], 0xa62e7790
mov dword [0x2b73efc], 0xffffffff
add esp, 0xc
ret
Function at 0x402a84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402b1c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402afc
xor eax, eax
push ebp
push 0x402af5
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 0x402b38
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 0x402afc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x404abc
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404c74
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404b1d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404c90
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404b8a
xor eax, eax
push ebp
push 0x404b83
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404b6c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404cb0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404b8a
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404c6b
cmp byte [ebp - 0xd], 0
jne 0x404bcc
cmp byte [ebp - 0x12], 0
je 0x404c6b
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404be5
dec ebx
cmp byte [ebx], 0x2e
je 0x404bf4
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404be4
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404c6b
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404c21
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404c6b
cmp byte [ebp - 0xd], 0
je 0x404c6b
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404c6b
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408120
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x408159
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403888
jmp 0x408162
mov eax, ebx
mov edx, esi
call fcn.0040383c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40816c
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 0x40818d
mov al, byte [esp]
jmp 0x40818f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4133d8
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 0x4133de
ret

Function at 0x415900
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 0x415951
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x415938
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x415928
jmp 0x415951
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 0x415939
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42089c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x444758], 0
sete dl
or al, dl
jne 0x4209e0
mov eax, dword [0x44475c]
mov bx, 0xffff
call fcn.00402de0
mov eax, dword [0x444758]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4209af
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x444758]
call fcn.0040cbbc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x4209a7
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x4209a7
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4209a7
mov eax, dword [ebp - 0x10]
call fcn.004287a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4209a7
push ebp
call fcn.00420858
pop ecx
test al, al
jne 0x4209a7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x420963
mov eax, dword [ebp - 0x10]
call fcn.004270f0
dec eax
jle 0x4209a7
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00402de0
cmp byte [ebp - 0x15], 0
je 0x4209a7
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4209a7
mov edx, dword [ebp - 0x10]
mov eax, dword [0x44475c]
call fcn.00420108
inc edi
dec esi
jne 0x4208f6
mov eax, dword [0x44475c]
cmp dword [eax + 8], 0
jle 0x4209c7
mov eax, dword [0x44475c]
call fcn.00420198
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4209e0
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00420710
pop ecx
test al, al
jne 0x4209e0
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret