joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440390
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4403c3
push esi
call fcn.00443480
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4403bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x440449
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x440432
mov eax, dword [esi + 8]
test eax, eax
je 0x4403e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44042e
cmp eax, 2
je 0x440432
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4403da
cmp eax, 3
je 0x44040d
cmp eax, 1
jne 0x4403da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4403da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4403da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00440470
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x440458
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00440470
add esp, 4
pop esi
ret

Function at 0x45eae7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45eb1f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045cb9e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045cb76
jmp 0x45eb2b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4601de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x460220
call fcn.00465c96
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x460220
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x460217
xor eax, eax
jmp 0x460228
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046022e
pop edi
pop esi
pop ebx
ret 4

Function at 0x4661c6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4661f4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x466212
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046612c
jmp 0x466212
mov eax, dword [esi + 0x14]
test eax, eax
je 0x466212
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046612c
test edi, edi
mov eax, edi
jne 0x4661fc
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40b3b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40b3c3
pop dword [ebp - 0x34]
mov eax, 0x40b3c3
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x97611f89
sub dword [ebp - 0x44], 0x490eda3e
mov dword [ebp - 0x40], 0xd455ec5a
add dword [ebp - 0x40], 0x5ddd5feb
mov dword [ebp - 0x3c], 0xd25e7297
add dword [ebp - 0x3c], 0x79edd197
mov dword [ebp - 0x38], 0x291c09d
sub dword [ebp - 0x38], 0x291c09d
lea eax, [ebp - 0x44]
push eax
mov eax, 0x81618b54
sub eax, 0x81217b28
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x1259eaf5
sub dword [ebp - 0x44], 0x9de7819f
mov dword [ebp - 0x40], 0x28bd2bd2
add dword [ebp - 0x40], 0x18af35a3
mov dword [ebp - 0x3c], 0xd4a41784
sub dword [ebp - 0x3c], 0x7134ab18
mov dword [ebp - 0x38], 0x4172ea0e
sub dword [ebp - 0x38], 0x4172ea0e
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x5ecc0720
sub eax, 0x5e8bf6fc
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x387c4
push 0
call eax
mov ecx, 0x29dfee90
sub ecx, 0x29dfb0e9
xor edx, edx
add edx, eax
mov esi, 0x412a00
add esi, dword [ebp - 0x34]
mov ebx, 0x66e1852
add ebx, 0xe0b9b4e4
mov edi, dword [esi]
xor edi, ebx
add dword [ebp - 0xc], 0xfff4a677
mov dword [edx], edi
mov dword [ebp - 0x20], 0x495c0e8f
add edx, 0x6ba7421c
sub edx, 0x6ba74218
add esi, 0x4c3eae00
sub esi, 0x4c3eadfc
loop 0x40b4dc
add eax, 0xa6d9a28
sub eax, 0xa6cb0b9
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x8e3101d1
add ecx, 0x720efe2f
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x40d442
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403050]
jne 0x40dfdd
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x410948], eax
mov dword [0x410944], ecx
mov dword [0x410940], edx
mov dword [0x41093c], ebx
mov dword [0x410938], esi
mov dword [0x410934], edi
mov word [0x410960], ss
mov word [0x410954], cs
mov word [0x410930], ds
mov word [0x41092c], es
mov word [0x410928], fs
mov word [0x410924], gs
pushfd
pop dword [0x410958]
mov eax, dword [ebp]
mov dword [0x41094c], eax
mov eax, dword [ebp + 4]
mov dword [0x410950], eax
lea eax, [ebp + 8]
mov dword [0x41095c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x410898], 0x10001
mov eax, dword [0x410950]
mov dword [0x41084c], eax
mov dword [0x410840], 0xc0000409
mov dword [0x410844], 1
mov eax, dword [0x403050]
mov dword [ebp - 0x328], eax
mov eax, dword [0x410124]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x410890], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x403210
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x410890], 0
jne 0x40e0c9
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x404089
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x401258
push 0x4051a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x568
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
or dword [ebp - 0x268], 0xffffffff
and dword [ebp - 0x264], 0
push 0x402178
mov edi, 0x4053d4
push edi
mov ebx, 0x402170
push ebx
mov esi, 0x104
push esi
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
and byte [ebp - 0x159], 0
or dword [ebp - 0x260], 0xffffffff
and dword [ebp - 4], 0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x268], eax
cmp eax, 0xffffffff
je 0x40420b
push 0x40216c
lea eax, [ebp - 0x12c]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x404167
push 0x402168
lea eax, [ebp - 0x12c]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x404167
test byte [ebp - 0x158], 0x10
jne 0x404167
inc dword [ebp - 0x260]
mov eax, dword [ebp - 0x260]
cmp eax, dword [0x4054fc]
je 0x404180
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40411c
jmp 0x4041ef
lea eax, [ebp - 0x12c]
push eax
push edi
push ebx
push esi
lea eax, [ebp - 0x370]
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
and byte [ebp - 0x26d], 0
lea eax, [ebp - 0x370]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004046c7
add esp, 0x1c
test eax, eax
je 0x4041e2
push 1
pop ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x26c]
call fcn.0040475d
lea eax, [ebp - 0x26c]
push eax
call fcn.0040482d
add esp, 0x14
mov dword [ebp - 0x264], ebx
inc dword [0x4054fc]
and dword [0x4054f8], 0
xor eax, eax
cmp dword [0x4054f8], eax
sete al
mov dword [0x4054f8], eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
jmp 0x404242
cmp dword [ebp - 0x264], 0
jne 0x4042aa
push esi
lea eax, [ebp - 0x25c]
push eax
push 0x67
push dword [0x4054e8]
call dword [sym.imp.USER32.dll_LoadStringA]
push edi
lea eax, [ebp - 0x25c]
push eax
push 0x208
lea eax, [ebp - 0x578]
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
push 5
push dword [ebp + 0x10]
lea eax, [ebp - 0x578]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x578]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp + 8]
call fcn.0040251b
pop ecx
mov eax, dword [0x4054f8]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4046c7
Capabilities:
Read file on windows

Disassembly:
push dword [esp + 8]
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jne 0x4046d6
ret
mov eax, dword [esp + 4]
push ebp
push esi
push 0x402184
push dword [esp + 0x14]
xor ebp, ebp
mov dword [eax], ebp
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
pop ecx
cmp esi, ebp
pop ecx
je 0x404758
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push edi
push 2
push ebp
push esi
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push ebp
push ebp
push esi
mov edi, eax
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
push edi
push ebp
push ebx
call sub.MSVCRT.dll_memset
push esi
push edi
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x3c
cmp eax, edi
jne 0x404746
push edi
push ebx
push dword [esp + 0x1c]
call fcn.004045f9
add esp, 0xc
mov ebp, eax
push ebx
call dword [sym.imp.MSVCRT.dll_free]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop ecx
pop edi
pop ebx
mov eax, ebp
pop esi
pop ebp
ret

Function at 0x4049eb
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
push dword [ebp + 0xc]
lea eax, [ebp - 0x160]
push 0x160
push eax
push 0
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x15c]
leave
ret 8

Function at 0x404f9c
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
lea eax, [esp]
push esi
push 0x4001
push 0x160
push eax
push 0
mov esi, ecx
push 0x402188
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x404fd6
push eax
push 0
push 0x1109
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
add esp, 0x160
ret
Function at 0x404b17
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.004083c8
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x4a45e2
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.004083c8
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4a45e2
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 4]
call fcn.00401d38
mov eax, 0
cmp eax, ecx
jl 0x404b8d
push 1
call fcn.004083d4
add esp, 4
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.00401d38
mov eax, 0
cmp eax, ecx
jl 0x404bb6
push 1
call fcn.004083d4
add esp, 4
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
mov ebx, 0x100
sub ebx, ecx
mov dword [ebx + eax], ebx
loop 0x404bcc
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x404bf7
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x404bf1
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x404c10
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x409820
call fcn.004083c2
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404c6c
push ebx
call fcn.004083ce
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x404c81
mov ebx, dword [ebp - 4]
push ebx
call fcn.004083ce
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.004083ce
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x416370
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49b37b
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.0048c6c9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4163f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048992f
mov eax, dword [eax]
push 0x4c2220
push eax
call fcn.0047bab4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048c954
test bl, bl
je 0x4163f2
push 0x4c2220
lea ecx, [esp + 0xc]
call fcn.0048cce4
push 0x4c5d9c
lea ecx, [esp + 0xc]
call fcn.0048cce4
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 0x41642e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048c954
jmp 0x4164f9
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 0x4164b2
lea edx, [esp + 0x7c]
push 0x4c5d98
push edx
call fcn.0047bab4
add esp, 8
test eax, eax
je 0x4164b2
lea eax, [esp + 0x7c]
push 0x4c5d94
push eax
call fcn.0047bab4
add esp, 8
test eax, eax
je 0x4164b2
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 0x416442
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.0048c954
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 0x417750
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 0x4177b2
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 0x4177c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49b4db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4cd404]
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 0x4178f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x417826
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048c954
xor eax, eax
jmp 0x41796f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048ca91
push esi
lea ecx, [esp + 0xc]
call fcn.0048cd20
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 0x41794d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00417750
test eax, eax
jne 0x41794d
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.00417750
test eax, eax
jne 0x41794d
lea eax, [esp + 0x14]
push 0x4c5db0
push eax
call fcn.0047cbc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41792c
lea ecx, [esp + 0x14]
push 0x4c5dac
push ecx
call fcn.0047cb40
mov esi, eax
add esp, 8
test esi, esi
jne 0x41792c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41792f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048ca41
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41783e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048c954
xor eax, eax
jmp 0x41796f
mov byte [esi], 0
push 0x4c5da8
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.0048c954
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 0x42a4a0
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 0x42a50e
cmp si, 0x69
ja 0x42a50e
add esi, 0xffd0
cmp si, 0x11
je 0x42a4de
push 0x11
call edi
test ax, ax
jge 0x42a4de
or esi, 0x2000
cmp si, 0x10
je 0x42a4f3
push 0x10
call edi
test ax, ax
jge 0x42a4f3
or esi, 0x4000
cmp si, 0x12
je 0x42a508
push 0x12
call edi
test ax, ax
jge 0x42a508
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42a51b
mov esi, 0xbd
jmp 0x42a4cf
cmp si, 0x6e
jne 0x42a528
mov esi, 0xbe
jmp 0x42a4cf
cmp si, 0x6f
jne 0x42a4c9
mov esi, 0xbf
jmp 0x42a4cf

Function at 0x42bcd0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4dde20]
xor edx, edx
cmp eax, edx
jne 0x42bcf6
xor eax, eax
mov byte [eax + 0x4ddd20], al
inc eax
cmp eax, 0x100
jl 0x42bcde
mov dword [0x4dde20], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4ddd20
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42bd87
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 0x42bd5a
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 0x42bd28
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42be00
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 0x42be53
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 0x42be3a
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
Function at 0x432b50
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x432ce8
cmp ebp, ebx
jle 0x432ce8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x432bae
dec eax
or eax, 0xfffffff8
inc eax
je 0x432bb5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x432bc4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x432bcb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0048c695
add esp, 4
cmp eax, ebx
je 0x432bec
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0048c695
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x432cde
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x432cc5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x432cb1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x432ca6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x432cb4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x432cb4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x432c50
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x432c41
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret