joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ad1c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x48ad83
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 4]
call fcn.0040537c
push edi
mov eax, dword [ebp - 4]
call fcn.004050ec
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404cb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ad8a
lea eax, [ebp - 4]
call fcn.00404c5c
ret

Function at 0x48f580
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48f60a
xor edx, edx
push ebp
push 0x48f5eb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48f60a
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4933d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4933fe
mov eax, ebx
call fcn.00493e84
cmp dword [ebx + 0x40], 0
je 0x4933f7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x49346f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x493461
cmp dword [ebx + 8], 0
je 0x493420
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 0x493432
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x493461
cmp dword [ebx + 8], 0
je 0x493413
cmp eax, 3
je 0x493445
dec eax
jne 0x493413
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 0x493413
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x493413
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x49348d
cmp dword [ebx + 0x14], 0xcc
je 0x49348d
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.00493498
pop ebx
ret
Function at 0x4a3b7c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004050dc
mov eax, dword [ebp - 8]
call fcn.004050dc
xor eax, eax
push ebp
push 0x4a3c99
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], 2
mov eax, dword [ebp - 8]
call fcn.004050ec
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 3
mov eax, 0x4a3cac
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.004050ec
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4a3c7e
xor eax, eax
push ebp
push 0x4a3c77
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4a3c57
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4a3c5b
xor eax, eax
jmp 0x4a3c5d
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3c7e
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3ca0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404c80
ret
Function at 0x4a3cb4
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004050dc
mov eax, dword [ebp - 8]
call fcn.004050dc
mov eax, dword [ebp - 0xc]
call fcn.004050dc
mov eax, dword [ebp + 0xc]
call fcn.004050dc
xor eax, eax
push ebp
push 0x4a3e23
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.004050ec
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, 0x4a3e38
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.004050ec
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a3e00
xor edx, edx
push ebp
push 0x4a3df9
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.004050ec
push eax
mov eax, dword [ebp - 0xc]
call fcn.004050ec
push eax
movzx eax, word [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.004050ec
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x4a3de2
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4a3dd9
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4a3ddd
xor eax, eax
jmp 0x4a3ddf
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3e00
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3e2a
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c80
lea eax, [ebp + 0xc]
call fcn.00404c5c
ret
Function at 0x4a3e40
Capabilities:
Create http request

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

Function at 0x4a4294
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a44a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x105
mov eax, dword [ebp - 0x20]
call fcn.00402f70
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4a4312
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x4a42fc
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00404e54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4319
mov eax, dword [ebp - 0x10]
call fcn.00402f8c
ret

Function at 0x4a5850
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.00403678
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x4a588a
cmp byte [ebp - 0xa], 0x31
jne 0x4a5888
mov bl, 1
jmp 0x4a588a
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a6fb8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00449bf0
test al, al
je 0x4a7071
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x4a704f
cmp word [esi + 0x65a], 0
je 0x4a7009
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x65c]
call dword [esi + 0x658]
cmp byte [ebp - 9], 0
jne 0x4a7026
cmp dword [ebp - 4], 0
jbe 0x4a7022
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x4a7026
xor ebx, ebx
jmp 0x4a7028
mov bl, 1
test bl, bl
jne 0x4a7071
mov eax, dword [0x6f1f78]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne 0x4a7071
mov eax, dword [0x6f1f78]
mov eax, dword [eax]
call fcn.0045ef98
push 1
call sub.kernel32.dll_Sleep_2
test esi, esi
je 0x4a7071
cmp byte [esi + 0x5f0], 0
jne 0x4a7071
mov edx, 0xfffffdf3
mov eax, esi
call fcn.00467684
cmp eax, 4
jne 0x4a6fe6
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a9e4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push 1
call sub.user32.dll_GetAsyncKeyState
mov ebx, eax
push 4
call sub.user32.dll_GetAsyncKeyState
or bx, ax
push 2
call sub.user32.dll_GetAsyncKeyState
or bx, ax
push 0x10
call sub.user32.dll_GetAsyncKeyState
or bx, ax
push 0x11
call sub.user32.dll_GetAsyncKeyState
or bx, ax
push 0xd
call sub.user32.dll_GetAsyncKeyState
or bx, ax
setne al
pop ebx
ret
Function at 0x4a9e90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x4a9ece
push 0x18e
call sub.kernel32.dll_Sleep_2
mov eax, dword [0x6f1f78]
mov eax, dword [eax]
call fcn.0045ef98
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0xc738
jbe 0x4a9ece
call fcn.0040dbc0
call fcn.00488d6c
test al, al
jne 0x4a9ea5
call fcn.00488bf8
test al, al
jne 0x4a9ea5
call fcn.004a9e4c
test al, al
jne 0x4a9ea5
xor eax, eax
push ebp
push 0x4a9f25
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [0x6f2164]
mov eax, dword [eax]
call fcn.0044e8c4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x39d], edx
mov edx, dword [ebp - 8]
mov dword [eax + 0x3a1], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a9f2f
or edx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.00441c20
call sub.user32.dll_GetForegroundWindow
mov edx, dword [ebp - 4]
mov dword [edx + 0x380], eax
mov eax, dword [0x6f1f78]
mov eax, dword [eax]
call fcn.0045dd40
call fcn.004a8b10
mov eax, dword [ebp - 4]
call fcn.00449840
call fcn.004a9db0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
test eax, eax
jbe 0x4a9f78
call fcn.004a9db0
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.00449840
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3cc], 0
je 0x4a9fa8
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a9a9c
mov eax, 9
call fcn.00488a78
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ad9b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ada67
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.00403678
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
cmp byte [ebp - 0x104], 0x3a
jne 0x4ada42
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404ecc
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.00409824
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040e920
jmp 0x4ada49
mov eax, ebx
call fcn.00404c5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ada6e
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.00404c80
ret

Function at 0x4b5d88
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 0x4b5de2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004b5d78
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00488354
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00487e6c
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 0x4b5de9
lea eax, [ebp - 4]
call fcn.00404c5c
ret
Function at 0x4beb64
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bec13
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.00403678
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
cmp byte [ebp - 0x104], 0x3a
jne 0x4bebee
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404ecc
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.00409824
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040e920
jmp 0x4bebf5
mov eax, ebx
call fcn.00404c5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bec1a
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.00404c80
ret

Function at 0x6e87ec
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x6e8872
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [0x6f57f8]
call fcn.0040f2d4
lea eax, [ebp - 8]
mov ecx, 0x6e8888
mov edx, dword [ebp - 4]
call fcn.00404f74
mov eax, dword [ebp - 8]
call fcn.004050ec
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
push 5
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0xc]
mov ecx, 0x6e8888
mov edx, dword [ebp - 4]
call fcn.00404f74
push ebx
mov eax, dword [ebp - 4]
call fcn.004050ec
push eax
call sub.kernel32.dll_MoveFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e8879
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c80
ret
Function at 0x40ff60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a188b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00495fc0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ffe2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00493d8a
mov eax, dword [eax]
push 0x58acd4
push eax
call fcn.00474664
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049624b
test bl, bl
je 0x40ffe2
push 0x58acd4
lea ecx, [esp + 0xc]
call fcn.004965db
push 0x58ace0
lea ecx, [esp + 0xc]
call fcn.004965db
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41001e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049624b
jmp 0x4100e9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4100a2
lea edx, [esp + 0x7c]
push 0x58acdc
push edx
call fcn.00474664
add esp, 8
test eax, eax
je 0x4100a2
lea eax, [esp + 0x7c]
push 0x58acd8
push eax
call fcn.00474664
add esp, 8
test eax, eax
je 0x4100a2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x410032
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049624b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4108f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x410952
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x410960
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a190b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x597e24]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x410a98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4109c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049624b
xor eax, eax
jmp 0x410b0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00496388
push esi
lea ecx, [esp + 0xc]
call fcn.00496617
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x410aed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004108f0
test eax, eax
jne 0x410aed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.004108f0
test eax, eax
jne 0x410aed
lea eax, [esp + 0x14]
push 0x58acf0
push eax
call fcn.00475780
mov esi, eax
add esp, 8
test esi, esi
jne 0x410acc
lea ecx, [esp + 0x14]
push 0x58acec
push ecx
call fcn.00475700
mov esi, eax
add esp, 8
test esi, esi
jne 0x410acc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x410acf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00496338
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4109de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049624b
xor eax, eax
jmp 0x410b0f
mov byte [esi], 0
push 0x58ace8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0049624b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x422e40
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x422eae
cmp si, 0x69
ja 0x422eae
add esi, 0xffd0
cmp si, 0x11
je 0x422e7e
push 0x11
call edi
test ax, ax
jge 0x422e7e
or esi, 0x2000
cmp si, 0x10
je 0x422e93
push 0x10
call edi
test ax, ax
jge 0x422e93
or esi, 0x4000
cmp si, 0x12
je 0x422ea8
push 0x12
call edi
test ax, ax
jge 0x422ea8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x422ebb
mov esi, 0xbd
jmp 0x422e6f
cmp si, 0x6e
jne 0x422ec8
mov esi, 0xbe
jmp 0x422e6f
cmp si, 0x6f
jne 0x422e69
mov esi, 0xbf
jmp 0x422e6f

Function at 0x4246a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5a9398]
xor edx, edx
cmp eax, edx
jne 0x4246c6
xor eax, eax
mov byte [eax + 0x5a9298], al
inc eax
cmp eax, 0x100
jl 0x4246ae
mov dword [0x5a9398], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5a9298
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x424757
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42472a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4246f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4247d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x424823
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42480a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret