joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487034
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4870eb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404728
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x487076
call fcn.00403d50
jmp 0x4870f2
mov eax, ebx
call fcn.00402790
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.00404728
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x48709f
call fcn.00403d50
jmp 0x4870f2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4870fc
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4870c0
call fcn.00403d50
jmp 0x4870f2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4870f2
mov eax, dword [ebp - 8]
call fcn.004027b0
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a765f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4c6d56
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4a76b7
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4c6d77
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4a76ad
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4a76bb
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4b400c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x18], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404718
xor eax, eax
push ebp
push 0x4b416f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404728
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4b4146
mov eax, ebx
call fcn.00402790
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b413f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4b4129
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4b4180
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0x10], 0
je 0x4b40ce
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.0040749c
mov edx, dword [ebp - 0x10]
mov dx, word [edx]
call fcn.00407490
lea ecx, [ebp - 0x18]
mov edx, 8
call fcn.00408ef0
mov eax, edi
call fcn.00404268
push 0x4b41a4
push dword [ebp - 0x18]
push 0x4b41c0
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.004045e8
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
call fcn.00409838
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4b4129
mov edx, edi
mov eax, dword [ebp - 0x10]
call fcn.004099a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4146
mov eax, dword [ebp - 0xc]
call fcn.004027b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4176
lea eax, [ebp - 0x11c]
call fcn.00404268
lea eax, [ebp - 0x18]
call fcn.00404268
lea eax, [ebp - 4]
call fcn.00404268
ret
Function at 0x4b47f4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404718
xor eax, eax
push ebp
push 0x4b48c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404528
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x3a
jne 0x4b483d
lea eax, [ebp - 4]
mov edx, 0x4b48d8
call fcn.00404530
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404728
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 8]
call fcn.0040749c
movzx eax, ax
lea ecx, [ebp - 0x14]
mov edx, 4
call fcn.00408ef0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
movzx eax, word [ebp - 8]
mov edx, 4
call fcn.00408ef0
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00404530
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00404ac0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b48c9
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040428c
lea eax, [ebp - 4]
call fcn.00404268
ret

Function at 0x4b4c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x108], ecx
mov ebx, edx
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
call fcn.00404718
xor eax, eax
push ebp
push 0x4b4cdf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xa
call fcn.00402ec4
mov esi, eax
lea eax, [esi + ebx]
mov ebx, eax
lea eax, [ebp - 0x100]
mov edx, dword [ebp - 0x104]
mov ecx, 0xff
call fcn.00404504
xor edx, edx
mov dl, byte [ebp - 0x100]
test edx, edx
jle 0x4b4c7f
lea eax, [ebp - 0xff]
xor byte [eax], bl
inc eax
dec edx
jne 0x4b4c79
lea edx, [ebp - 0x10c]
mov eax, esi
call fcn.00408ddc
mov eax, dword [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x100]
call fcn.004044cc
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x108]
pop edx
call fcn.00404574
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4ce6
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.0040428c
lea eax, [ebp - 0x104]
call fcn.00404268
ret
Function at 0x4b50e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404718
xor eax, eax
push ebp
push 0x4b516b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402ea4
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404728
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4b5155
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5172
lea eax, [ebp - 4]
call fcn.00404268
ret

Function at 0x4b5178
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404528
inc eax
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00402790
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b521c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00402ea4
mov eax, ebx
call fcn.00404728
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004097dc
mov dword [ebp - 0x26], esi
mov dword [ebp - 0x22], 3
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1e], eax
xor eax, eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], 0x14
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
je 0x4b5203
call fcn.0040e654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5223
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004027b0
ret
Function at 0x4b7194
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4b736a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x4b7351
mov eax, dword [edi + 0x30]
call fcn.00404528
test eax, eax
jne 0x4b71ea
mov eax, dword [edi + 0x34]
call fcn.00404528
test eax, eax
jne 0x4b71ea
mov eax, edi
call fcn.004b7408
jmp 0x4b7351
cmp dword [edi + 0xa0], 0
jne 0x4b7221
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.00409838
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c8ea4]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x4b7258
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.00409838
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c8ea4]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.004b7448
mov ebx, eax
test bl, bl
jne 0x4b7306
mov eax, dword [edi + 0x30]
call fcn.00404528
test eax, eax
jne 0x4b7290
mov eax, dword [edi + 0xc0]
call fcn.00404528
test eax, eax
je 0x4b7306
mov eax, dword [edi + 0xc0]
call fcn.00404528
test eax, eax
je 0x4b72b2
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.00409838
jmp 0x4b72de
push dword [edi + 0x30]
push 0x4b7384
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.004045e8
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00409838
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x4b7306
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.004b7448
mov ebx, eax
test bl, bl
jne 0x4b7313
mov eax, edi
call fcn.004b7408
jmp 0x4b7351
mov eax, dword [edi + 0x58]
test eax, eax
je 0x4b7322
mov dword [edi + 0xa8], eax
jmp 0x4b732c
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.004b74c0
test al, al
je 0x4b7351
mov eax, edi
mov si, 0xffee
call fcn.00403714
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.004b75f8
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7371
lea eax, [ebp - 0x108]
call fcn.00404268
ret
Function at 0x4b975c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404528
add eax, 2
call fcn.00402790
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b9889
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404528
add eax, 2
call fcn.00402790
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4b985f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404528
mov edx, eax
add edx, 2
mov eax, dword [ebp - 0xc]
xor ecx, ecx
call fcn.00402ea4
mov eax, dword [ebp - 8]
call fcn.00404528
mov edx, eax
add edx, 2
mov eax, dword [ebp - 0x10]
xor ecx, ecx
call fcn.00402ea4
mov eax, dword [ebp - 4]
call fcn.00404728
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004097dc
mov eax, dword [ebp - 8]
call fcn.00404728
mov edx, eax
mov eax, dword [ebp - 0x10]
call fcn.004097dc
mov dword [ebp - 0x2e], ebx
mov dword [ebp - 0x2a], 2
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x26], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x22], eax
mov word [ebp - 0x1e], 0x10
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
je 0x4b983c
call fcn.0040e654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9866
mov eax, dword [ebp - 8]
call fcn.00404528
mov edx, eax
add edx, 2
mov eax, dword [ebp - 0x10]
call fcn.004027b0
ret
Function at 0x4c3ecc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov eax, 0x4c3acc
call fcn.004067e0
push 0x4c3f84
push 0xffffffffffffffff
push 0
call fcn.00406a10
mov ebx, eax
test ebx, ebx
je 0x4c3f3c
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x4c3f3c
push ebx
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
push 0x4c3f90
push 0x4c3f98
push ebx
push 0
call sub.user32.dll_FindWindowExA
mov ebx, eax
mov eax, dword [0x4c7420]
mov eax, dword [eax]
cmp ebx, dword [eax + 0x30]
je 0x4c3f05
test ebx, ebx
je 0x4c3f37
push 0
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_SetForegroundWindow
call fcn.00404178
mov eax, dword [0x4c7420]
mov eax, dword [eax]
call fcn.0046c720
mov eax, dword [0x4c7420]
mov eax, dword [eax]
mov edx, 0x4c3fb0
call fcn.0046c318
mov ecx, dword [0x4c738c]
mov eax, dword [0x4c7420]
mov eax, dword [eax]
mov edx, dword [0x4c0cf8]
call fcn.0046c738
mov eax, dword [0x4c7420]
mov eax, dword [eax]
call fcn.0046c7b8
pop ebx
call fcn.00404178
add byte [ecx + 0x55], al
push esp
dec edi
dec ecx
dec esi
push ebx
push esp
add byte [eax], al
add byte [eax], al
dec ebx
inc ebx
inc ecx
push ebp
push esp
dec edi
add byte [eax], al
push esp
inc ecx
jo 0x4c400c
insb byte es:[edi], dx
imul esp, dword [ebx + 0x61], 0x6e6f6974
add byte [eax], al
add byte [eax], al
add cl, byte [ebp + 0x40]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor dl, byte [ebx]
mov eax, eax
add al, byte [eax]
mov eax, eax
add byte [ebp - 0x72ffffc0], cl
inc eax
add byte [eax], al
lea eax, [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov esp, 0x4c004021
and eax, dword [eax]
int3
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40596d
pop dword [ebp - 0x50]
mov eax, 0xba8079bc
sub eax, 0xba40204f
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x279f9028
add dword [ebp - 0x60], 0x26b2b523
mov dword [ebp - 0x5c], 0x59d402b4
sub dword [ebp - 0x5c], 0x27a0b66f
mov dword [ebp - 0x58], 0xa7ccf5f1
sub dword [ebp - 0x58], 0x5b80b1c3
mov dword [ebp - 0x54], 0xb458550c
add dword [ebp - 0x54], 0x4ba7aaf4
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xe9856d1
sub dword [ebp - 0x60], 0x9a25ed7b
mov dword [ebp - 0x5c], 0xc523a682
add dword [ebp - 0x5c], 0x7c48baf3
mov dword [ebp - 0x58], 0x3537470
add dword [ebp - 0x58], 0x601bf7fc
mov dword [ebp - 0x54], 0x8a76667
add dword [ebp - 0x54], 0xf7589999
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x34e8b
push 0
call eax
mov ecx, 0x40c5
mov ebx, eax
mov esi, 0x410000
add esi, dword [ebp - 0x50]
mov edi, 0xd894226a
sub edi, 0x6dda1fe8
mov dword [ebp - 0x40], 0xf5f96666
mov edx, dword [esi]
xor dword [ebp - 0x1c], esi
add edx, edi
add dword [ebp - 0x30], 0xcb307e2d
mov dword [ebx], edx
xor dword [ebp - 4], 0x1f7f5f56
add ebx, 0x1057a0e7
add ebx, 0xefa85f1d
add esi, 0x66fa1728
add esi, 0x9905e8dc
loop 0x405a79
add eax, 0xf5e7
mov ebx, eax
add eax, 0x61922994
sub eax, 0x6192298f
mov ecx, 0x68af6c45
add ecx, 0x979093bb
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x40b860
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48db8b
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.00480a2b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b8e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047e4a4
mov eax, dword [eax]
push 0xbd1cb8
push eax
call fcn.00470864
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00480cb6
test bl, bl
je 0x40b8e2
push 0xbd1cb8
lea ecx, [esp + 0xc]
call fcn.00481092
push 0xbd1cc4
lea ecx, [esp + 0xc]
call fcn.00481092
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 0x40b91e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00480cb6
jmp 0x40b9e9
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 0x40b9a2
lea edx, [esp + 0x7c]
push 0xbd1cc0
push edx
call fcn.00470864
add esp, 8
test eax, eax
je 0x40b9a2
lea eax, [esp + 0x7c]
push 0xbd1cbc
push eax
call fcn.00470864
add esp, 8
test eax, eax
je 0x40b9a2
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 0x40b932
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.00480cb6
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 0x40c1e0
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 0x40c242
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 0x40c250
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48dc0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xbde150]
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 0x40c388
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c2b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00480cb6
xor eax, eax
jmp 0x40c3ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00480e3f
push esi
lea ecx, [esp + 0xc]
call fcn.004810ce
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xbd1cf8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c3dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040c1e0
test eax, eax
jne 0x40c3dd
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 closesocket
mov ecx, edi
call fcn.0040c1e0
test eax, eax
jne 0x40c3dd
lea eax, [esp + 0x14]
push 0xbd1cd4
push eax
call fcn.00471980
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c3bc
lea ecx, [esp + 0x14]
push 0xbd1cd0
push ecx
call fcn.00471900
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c3bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c3bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00480def
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c2ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00480cb6
xor eax, eax
jmp 0x40c3ff
mov byte [esi], 0
push 0xbd1ccc
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.00480cb6
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 0x41ce40
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 0x41ceae
cmp si, 0x69
ja 0x41ceae
add esi, 0xffd0
cmp si, 0x11
je 0x41ce7e
push 0x11
call edi
test ax, ax
jge 0x41ce7e
or esi, 0x2000
cmp si, 0x10
je 0x41ce93
push 0x10
call edi
test ax, ax
jge 0x41ce93
or esi, 0x4000
cmp si, 0x12
je 0x41cea8
push 0x12
call edi
test ax, ax
jge 0x41cea8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41cebb
mov esi, 0xbd
jmp 0x41ce6f
cmp si, 0x6e
jne 0x41cec8
mov esi, 0xbe
jmp 0x41ce6f
cmp si, 0x6f
jne 0x41ce69
mov esi, 0xbf
jmp 0x41ce6f

Function at 0x41e790
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xbef018]
xor edx, edx
cmp eax, edx
jne 0x41e7b6
xor eax, eax
mov byte [eax + 0xbeef18], al
inc eax
cmp eax, 0x100
jl 0x41e79e
mov dword [0xbef018], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xbeef18
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41e847
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 0x41e81a
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 0x41e7e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41e8c0
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 0x41e913
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 0x41e8fa
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