joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a9e5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.00408920
cmp ax, 0xffff
jne 0x5a9e84
neg ebx
jno 0x5a9e84
call fcn.00404010
mov eax, ebx
shr eax, 4
and eax, 0xffff
add eax, 1
jae 0x5a9e98
call fcn.00404010
test eax, eax
jns 0x5a9ea1
call fcn.00404008
and ebx, 0xf
test ebx, ebx
jns 0x5a9ead
call fcn.00404008
mov dword [ebp - 8], ebx
push 6
push eax
push edi
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x5a9f51
push eax
push edi
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x5a9f51
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
mov eax, dword [ebp - 8]
sub eax, 1
jno 0x5a9ee5
call fcn.00404010
test eax, eax
jl 0x5a9eff
inc eax
movzx edx, word [ebx]
imul edx, edx, 2
jno 0x5a9ef7
call fcn.00404010
add ebx, edx
add ebx, 2
dec eax
jne 0x5a9eea
movzx esi, word [ebx]
add ebx, 2
cmp dword [ebp - 4], 0
je 0x5a9f51
cmp dword [ebp + 8], 0
jle 0x5a9f51
mov eax, dword [ebp + 8]
sub eax, 1
jno 0x5a9f1e
call fcn.00404010
mov edx, esi
call fcn.00435090
mov esi, eax
test esi, esi
jle 0x5a9f48
imul ecx, esi, 2
jno 0x5a9f35
call fcn.00404010
test ecx, ecx
jns 0x5a9f3e
call fcn.00404008
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00408934
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x5aac78
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 0x5aacec
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
call sub.kernel32.dll_GetACP
test eax, eax
jns 0x5aacb1
call fcn.00404008
push eax
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004051e8
mov eax, dword [ebp - 0xc]
pop edx
call fcn.0040aa74
mov ebx, eax
test ebx, ebx
jns 0x5aacd6
call fcn.00404008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5aacf3
lea eax, [ebp - 0xc]
call fcn.00404f68
ret

Function at 0x5aad50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x5aadab
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x5aad7f
call fcn.004106dc
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 6
call fcn.00402a58
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 6
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x5aadab
call fcn.004106dc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b1388
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x62954c]
cmp dword [eax], 2
je 0x5b13a9
mov ecx, 0x30e
mov edx, 0x5b13dc
mov eax, 0x5b142c
call fcn.00404f40
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x5b1328
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x62bbfc], eax
cmp dword [0x62bbfc], 0
jne 0x5b13d0
call fcn.004106dc
pop ebp
ret

Function at 0x5b1664
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x6286a4]
cmp byte [eax], 0
jne 0x5b1692
mov ecx, 0xaf
mov edx, 0x5b16e8
mov eax, 0x5b1738
call fcn.00404f40
mov eax, ebx
call fcn.004056ac
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
jns 0x5b16b2
call fcn.00404008
test eax, eax
je 0x5b16da
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040585c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5b174c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x6286a4]
cmp byte [eax], 0
jne 0x5b1772
mov ecx, 0xbd
mov edx, 0x5b17c4
mov eax, 0x5b1814
call fcn.00404f40
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
mov edi, eax
mov eax, ebx
add eax, 0xffffffd0
sub ax, 0xa
jae 0x5b17b2
movzx esi, bx
sub esi, 0x30
jno 0x5b1797
call fcn.00404010
add esi, 0x30
jno 0x5b17a1
call fcn.00404010
cmp si, di
je 0x5b17b2
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x5b17b2
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5b3778
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5b38ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6286a4]
cmp byte [eax], 0
je 0x5b37ce
mov eax, ebx
mov edx, dword [0x480f50]
call fcn.0040425c
test al, al
je 0x5b37e7
mov eax, ebx
call fcn.0048bef0
test al, al
je 0x5b37e7
mov eax, ebx
call fcn.0048bbec
push eax
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x5b37e7
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004851ec
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00405878
jmp 0x5b38c3
mov eax, ebx
mov edx, dword [0x480f50]
call fcn.0040425c
test al, al
jne 0x5b383c
xor edx, edx
mov eax, ebx
call fcn.005b36b0
mov edi, eax
test edi, edi
jne 0x5b3820
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004851ec
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00405878
jmp 0x5b38c3
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004851ec
mov edx, dword [ebp - 0xc]
mov ecx, esi
lea eax, [edi + 0x38]
call fcn.005a8c40
jmp 0x5b38c3
mov edi, ebx
mov eax, edi
call fcn.0048bef0
test al, al
jne 0x5b386c
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.004851ec
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00405878
mov edx, dword [ebp - 0x10]
mov ecx, esi
mov eax, ebx
call fcn.005b36e0
jmp 0x5b38c3
mov eax, edi
call fcn.0048bbec
push eax
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
add edx, 1
jno 0x5b3885
call fcn.00404010
mov eax, esi
call fcn.00405c68
mov eax, dword [esi]
call fcn.00405904
push eax
mov eax, dword [esi]
call fcn.004058f4
push eax
mov eax, edi
call fcn.0048bbec
push eax
call sub.user32.dll_GetWindowTextW
mov eax, dword [esi]
call fcn.00405904
mov edx, eax
sub edx, 1
jno 0x5b38bc
call fcn.00404010
mov eax, esi
call fcn.00405c68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b38f5
lea eax, [ebp - 0x14]
call fcn.00404f68
lea eax, [ebp - 0x10]
call fcn.004056ac
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f8c
ret
Function at 0x5c0f5c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5c0f8a
mov eax, ebx
call fcn.005c1a10
cmp dword [ebx + 0x40], 0
je 0x5c0f83
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5c0ffb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5c0fed
cmp dword [ebx + 8], 0
je 0x5c0fac
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 0x5c0fbe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5c0fed
cmp dword [ebx + 8], 0
je 0x5c0f9f
cmp eax, 3
je 0x5c0fd1
dec eax
jne 0x5c0f9f
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 0x5c0f9f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5c0f9f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5c1019
cmp dword [ebx + 0x14], 0xcc
je 0x5c1019
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.005c1024
pop ebx
ret

Function at 0x5d6310
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x90], 5
ja 0x5d634e
cmp dword [ebp - 0x90], 5
jne 0x5d634a
cmp dword [ebp - 0x8c], 1
jae 0x5d634e
xor eax, eax
jmp 0x5d6350
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x5de180
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x5de28e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
call fcn.005ed828
mov eax, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 8]
call fcn.005e8674
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x34]
mov eax, dword [eax + 0xc]
call fcn.0042cf38
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
call fcn.005ed828
mov eax, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 8]
call fcn.005e8674
mov eax, dword [eax + 0x10]
call fcn.0042d1f8
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x34]
mov eax, dword [eax + 0xc]
call fcn.0042d204
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
call fcn.005ed828
mov eax, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 8]
call fcn.005e8674
cmp dword [eax + 0x14], 0x1fffffff
je 0x5de261
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
call fcn.005ed828
mov eax, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 8]
call fcn.005e8674
mov edx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x34]
mov eax, dword [eax + 0x14]
call fcn.0042d724
jmp 0x5de281
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x250]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x34]
mov eax, dword [eax + 0x14]
call fcn.0042d724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5de30e
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5e9cd4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405428
xor eax, eax
push ebp
push 0x5e9e5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d4], 0
je 0x5e9e39
mov dl, 1
mov eax, dword [0x41e190]
call fcn.004040a0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005e9e7c
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
sub eax, 1
jno 0x5e9d57
call fcn.00404010
test eax, eax
jl 0x5e9e31
inc eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
cmp esi, dword [ebp - 0xc]
jg 0x5e9e09
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00405238
add eax, esi
jno 0x5e9d8c
call fcn.00404010
cmp eax, dword [ebp - 0xc]
jle 0x5e9e09
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0xf0]
test al, al
je 0x5e9e09
mov eax, dword [ebp - 4]
cmp word [eax + 0x34a], 0
je 0x5e9de1
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x34c]
call dword [edi + 0x348]
jmp 0x5e9e09
push 1
push 0
push 0
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
call fcn.00405438
push eax
push 0x5e9e6c
push 0
call sub.shell32.dll_ShellExecuteA
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.00405238
add esi, eax
jno 0x5e9e27
call fcn.00404010
inc ebx
dec dword [ebp - 0x14]
jne 0x5e9d65
mov eax, dword [ebp - 0x10]
call fcn.004040d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e9e63
lea eax, [ebp - 0x28]
mov edx, 5
call fcn.00404f8c
lea eax, [ebp - 8]
call fcn.00404f68
ret

Function at 0x5f03b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xa
push 0x5f03dc
push 0x5f03dc
push 0x5f03e0
push 0x5f03fc
push eax
call sub.shell32.dll_ShellExecuteA
pop ebp
ret
Function at 0x61a858
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
xor edx, edx
mov dword [ebp - 0x204], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x61a8ef
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xff]
push eax
push 0xfe
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x1fe]
push eax
push 0
push 0x61a8fc
lea eax, [ebp - 0xff]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, ebx
lea edx, [ebp - 0x1fe]
mov ecx, 0xff
call fcn.004051e8
mov eax, dword [ebx]
call fcn.00405438
mov edx, eax
lea eax, [ebp - 0x204]
call fcn.00405170
mov eax, dword [ebp - 0x204]
call fcn.0040b010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61a8f6
lea eax, [ebp - 0x204]
call fcn.00404f68
ret

Function at 0x61a900
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x61a908
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405428
mov eax, dword [ebp - 8]
call fcn.00405428
xor eax, eax
push ebp
push 0x61aa4c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.0061a858
xor eax, eax
push ebp
push 0x61aa05
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, 0x61aa64
call fcn.004af7f8
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00417498
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x38]
mov ecx, 1
mov eax, 0x61aa7c
call fcn.0040ba74
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x38]
mov eax, 0x61aa7c
mov ecx, 1
call fcn.0040ba74
mov eax, dword [ebp - 0x3c]
push eax
push 0x61aacc
lea eax, [ebp - 0x20]
push eax
push 0
call fcn.00412c74
add esp, 0x14
push 0
mov eax, dword [ebp - 4]
call fcn.00405438
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405438
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0xc]
call fcn.0040b010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x61aa11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61aa53
lea eax, [ebp - 0x3c]
call fcn.00404f68
lea eax, [ebp - 0x28]
call fcn.00404f68
lea eax, [ebp - 0x24]
call fcn.004070f8
lea eax, [ebp - 0x20]
call fcn.00412c6c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f8c
ret
Function at 0x21d171c
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret

Function at 0x21d350a
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret

Function at 0x21e02e5
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret
Function at 0x24e1bf5
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret

Function at 0x24e1f71
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret

Function at 0x24e3382
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret

Function at 0x24eb884
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret

Function at 0x24f1577
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret

Function at 0x32c2918
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret

Function at 0x32c543b
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret
Function at 0x40105b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47f004]
jne 0x401065
repz ret
jmp fcn.00401708

Function at 0x406f5a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404664
and dword [ebp - 0x14], 0
cmp dword [0x48194c], 0
mov dword [ebp - 0x18], eax
jne 0x40700d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4070b5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4070b5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x48194c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x481950], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x481954], eax
call edi
push eax
call esi
mov dword [0x48195c], eax
test eax, eax
je 0x40700d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x481958], eax
mov eax, dword [0x481958]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407066
cmp dword [0x48195c], ecx
je 0x407066
push eax
call esi
push dword [0x48195c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407066
test ebx, ebx
je 0x407066
call edi
test eax, eax
je 0x40705d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40705d
test byte [ebp - 8], 1
jne 0x407066
or dword [ebp + 0x10], 0x200000
jmp 0x407099
mov eax, dword [0x481950]
cmp eax, dword [ebp - 0x18]
je 0x407099
push eax
call esi
test eax, eax
je 0x407099
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407099
mov eax, dword [0x481954]
cmp eax, dword [ebp - 0x18]
je 0x407099
push eax
call esi
test eax, eax
je 0x407099
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x48194c]
call esi
test eax, eax
je 0x4070b5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4070b7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040105b
leave
ret
Function at 0x409cc0
Capabilities:
Read .ini file

Disassembly:
push ecx
push esi
xor esi, esi
test edi, edi
jle 0x409d53
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp edi, 0x2d
jne 0x409cf3
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x2ba5b48]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x2ba5b48], eax
mov cl, byte [0x2ba5b4a]
mov eax, dword [esp + 0x14]
xor byte [esi + eax], cl
cmp edi, 0xf
jne 0x409d4c
push 0
push 0
push 0
call ebp
push str.rixoyacugimojexudipucacem
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push str.Robepec
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push ebx
push str.wamojakiton
push 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
inc esi
cmp esi, edi
jl 0x409cd8
pop ebp
pop ebx
pop esi
cmp edi, 0x2d
jne 0x409d6d
mov dword [0x2ba5e30], 0xa62e7790
mov dword [0x2ba5e34], 0xffffffff
pop ecx
ret

Function at 0x409d70
Capabilities:
Manipulate console buffer
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x47f004]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [0x2ba5e24]
push ebx
mov ebx, dword [0x2ba5b4c]
push esi
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x409dbd
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
mov eax, dword [0x2ba5e24]
mov esi, dword [0x47fed0]
cmp eax, 0x930
jne 0x409dd7
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2ba5e24]
mov dword [0x2ba5b48], esi
cmp eax, 0x114e
jne 0x409dff
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x2ba5e24]
cmp eax, 0x2f
jne 0x409e43
xor edx, edx
lea ecx, [esp + 0x18]
push ecx
push edx
xor eax, eax
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push ebx
call fcn.00409cc0
mov ecx, dword [esp + 0x430]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040105b
add esp, 0x428
ret
Function at 0x1000b3bb
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101c4af0], 0
mov byte [0x101c4af4], 0
mov edi, dword [0x101c4ae4]
add edi, 0xe84
mov dword [0x101c4ae8], edi
mov dword [0x101c4aec], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000b4a6
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101c4af8], 0
mov edi, dword [0x101c4af0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101c4af8], esi
mov dword [0x101c4ae4], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x101c4af0], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101c4af4], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101c4af4]
mov esi, dword [0x101c4af0]
mov byte [ebx + esi], cl
mov esi, dword [0x101c4aec]
add esi, 1
mov dword [0x101c4aec], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000b40d
jmp 0x1000b4ea
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x101c4ae8], 0x8b8
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101c4aec]
add eax, 1
mov dword [0x101c4aec], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000b4a6
xor eax, eax
mov dword [0x101c4aec], 0
mov dword [ebp - 0x20], eax
jmp 0x1000b40d
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret