joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61405c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
push ebx
push esi
push edi
test dl, dl
je 0x614074
add esp, 0xfffffff0
call fcn.0040440c
mov ebx, edx
mov edi, eax
lea eax, [ebp - 0x158]
mov edx, dword [0x408874]
call fcn.004058c8
mov esi, dword [0x624c18]
xor eax, eax
push ebp
push 0x6141bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x419750]
call fcn.00404078
mov dword [edi + 0x40], eax
mov dl, 1
mov eax, dword [0x419750]
call fcn.00404078
mov dword [edi + 0x44], eax
mov dl, 1
mov eax, dword [0x419750]
call fcn.00404078
mov dword [edi + 0x48], eax
fld dword [esi + 0x680]
fsub dword [esi + 0x688]
fmul dword [0x6141e0]
fstp dword [edi + 0x2c]
wait
mov eax, dword [esi + 0x68c]
add eax, 2
mov dword [ebp - 0x15c], eax
fild dword [ebp - 0x15c]
fstp dword [edi + 0x34]
wait
fld dword [edi + 0x2c]
mov eax, dword [0x624d7c]
mov eax, dword [eax]
fadd dword [eax + 0x674]
fstp dword [edi + 0x28]
wait
fld dword [esi + 0x694]
mov eax, dword [0x624d7c]
mov eax, dword [eax]
fadd dword [eax + 0x674]
fstp dword [edi + 0x30]
wait
mov eax, dword [esi + 0x6a4]
add eax, 2
add eax, dword [esi + 0x67c]
add eax, eax
lea eax, [eax + eax*4]
mov dword [ebp - 0x15c], eax
fild dword [ebp - 0x15c]
fstp dword [edi + 0x38]
wait
xor eax, eax
mov dword [edi + 0x10], eax
lea ecx, [ebp - 0x158]
xor edx, edx
mov eax, 0x6141ec
call fcn.00409e40
test eax, eax
jne 0x614182
inc dword [edi + 0x10]
lea eax, [ebp - 0x158]
call fcn.00409e90
test eax, eax
je 0x614163
lea eax, [ebp - 0x158]
call fcn.00409eb4
jmp 0x614198
mov ecx, 0x614208
mov dl, 1
mov eax, dword [0x408894]
call fcn.0040d504
call fcn.00404874
mov byte [edi + 0x4c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6141c2
lea eax, [ebp - 0x158]
mov edx, dword [0x408874]
call fcn.00405998
ret
Function at 0x61630c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x616466
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x14]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetClientRect
push 2
lea eax, [ebx + 0x14]
push eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_MapWindowPoints
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x14]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x18]
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x80]
xor ecx, ecx
mov edx, 0x7c
call fcn.00403454
mov dword [ebp - 0x80], 0x7c
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x18], 0x200
push 0
lea eax, [ebx + 0x30]
call fcn.00406d4c
push eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx + 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
mov esi, eax
mov eax, esi
call fcn.004082f0
test eax, eax
je 0x6163be
cmp esi, 0x8876017c
je 0x6163b4
mov esi, 0x82000008
jmp 0x616450
mov esi, 0x8876017c
jmp 0x616450
push 0
lea eax, [ebp - 4]
call fcn.00406d4c
push eax
push 0
mov eax, dword [ebx + 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
call fcn.004082f0
test eax, eax
je 0x6163e4
mov esi, 0x82000009
jmp 0x616450
mov eax, dword [ebx + 4]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
mov dword [ebp - 0x7c], 7
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x18], 0x2040
push 0
lea eax, [ebx + 0x34]
call fcn.00406d4c
push eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx + 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
mov esi, eax
mov eax, esi
call fcn.004082f0
test eax, eax
je 0x61644e
cmp esi, 0x8876017c
je 0x616450
mov esi, 0x8200000b
jmp 0x616450
xor esi, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61646d
lea eax, [ebp - 4]
call fcn.00406d4c
ret
Function at 0x617020
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebx
add esp, 0xffffffe0
mov bl, 1
call fcn.00616fc4
push 0x62b29c
call sub.user32.dll_RegisterClassA
mov eax, dword [0x624594]
mov al, byte [eax + 0x10]
test al, al
je 0x6171a1
mov edx, dword [0x624594]
cmp al, 2
jne 0x617067
push 0x10
call sub.user32.dll_GetSystemMetrics
mov dword [esp + 8], eax
push 0x3e
call sub.user32.dll_GetSystemMetrics
mov dword [esp + 0xc], eax
jmp 0x61709b
push 0
push 0
push 0x617200
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x624f60]
mov eax, dword [eax]
call fcn.0046c334
mov dword [esp + 8], eax
mov eax, dword [0x624f60]
mov eax, dword [eax]
call fcn.0046c328
mov dword [esp + 0xc], eax
mov eax, dword [0x624594]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov eax, dword [0x624594]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov edx, dword [esp]
cmp eax, edx
jle 0x6170ff
mov ecx, dword [esp + 4]
cmp ecx, dword [esp + 0xc]
jge 0x6170ff
mov ecx, dword [0x624594]
cmp byte [ecx + 0x10], 2
jne 0x6170ff
sub eax, edx
sar eax, 1
jns 0x6170dc
adc eax, 0
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 4]
sub ecx, eax
sar ecx, 1
jns 0x6170f1
adc ecx, 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jmp 0x617117
xor edx, edx
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [0x624594]
cmp byte [eax + 0x10], 2
jne 0x617163
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push eax
push 0
push 0
mov eax, dword [0x625718]
push eax
push 0
mov edx, 0x617210
mov eax, 0x6243dc
mov ecx, 0xc80000
call fcn.00408370
mov edx, dword [0x624b44]
mov dword [edx], eax
jmp 0x6171e7
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push eax
push 0
push 0
mov eax, dword [0x625718]
push eax
push 0
mov edx, 0x617210
mov eax, 0x6243dc
mov ecx, 0x80000000
call fcn.00408370
mov edx, dword [0x624b44]
mov dword [edx], eax
jmp 0x6171e7
push 0
mov eax, dword [0x625718]
push eax
push 0
push 0
mov eax, dword [0x624594]
mov eax, dword [eax + 8]
push eax
mov eax, dword [0x624594]
mov eax, dword [eax + 4]
push eax
push 0x80000000
push 0x80000000
push 0x80000000
push 0x617210
push 0x6243dc
push 8
call sub.user32.dll_CreateWindowExA
mov edx, dword [0x624b44]
mov dword [edx], eax
push 1
mov eax, dword [0x624b44]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
add esp, 0x20
pop ebx
ret
Function at 0x617069
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebx
add esp, 0xffffffe0
mov bl, 1
call fcn.00616fc4
push 0x62b29c
call sub.user32.dll_RegisterClassA
mov eax, dword [0x624594]
mov al, byte [eax + 0x10]
test al, al
je 0x6171a1
mov edx, dword [0x624594]
cmp al, 2
jne 0x617067
push 0x10
call sub.user32.dll_GetSystemMetrics
mov dword [esp + 8], eax
push 0x3e
call sub.user32.dll_GetSystemMetrics
mov dword [esp + 0xc], eax
jmp 0x61709b
push 0
push 0
push 0x617200
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x624f60]
mov eax, dword [eax]
call fcn.0046c334
mov dword [esp + 8], eax
mov eax, dword [0x624f60]
mov eax, dword [eax]
call fcn.0046c328
mov dword [esp + 0xc], eax
mov eax, dword [0x624594]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov eax, dword [0x624594]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov edx, dword [esp]
cmp eax, edx
jle 0x6170ff
mov ecx, dword [esp + 4]
cmp ecx, dword [esp + 0xc]
jge 0x6170ff
mov ecx, dword [0x624594]
cmp byte [ecx + 0x10], 2
jne 0x6170ff
sub eax, edx
sar eax, 1
jns 0x6170dc
adc eax, 0
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 4]
sub ecx, eax
sar ecx, 1
jns 0x6170f1
adc ecx, 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jmp 0x617117
xor edx, edx
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [0x624594]
cmp byte [eax + 0x10], 2
jne 0x617163
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push eax
push 0
push 0
mov eax, dword [0x625718]
push eax
push 0
mov edx, 0x617210
mov eax, 0x6243dc
mov ecx, 0xc80000
call fcn.00408370
mov edx, dword [0x624b44]
mov dword [edx], eax
jmp 0x6171e7
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push eax
push 0
push 0
mov eax, dword [0x625718]
push eax
push 0
mov edx, 0x617210
mov eax, 0x6243dc
mov ecx, 0x80000000
call fcn.00408370
mov edx, dword [0x624b44]
mov dword [edx], eax
jmp 0x6171e7
push 0
mov eax, dword [0x625718]
push eax
push 0
push 0
mov eax, dword [0x624594]
mov eax, dword [eax + 8]
push eax
mov eax, dword [0x624594]
mov eax, dword [eax + 4]
push eax
push 0x80000000
push 0x80000000
push 0x80000000
push 0x617210
push 0x6243dc
push 8
call sub.user32.dll_CreateWindowExA
mov edx, dword [0x624b44]
mov dword [edx], eax
push 1
mov eax, dword [0x624b44]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
add esp, 0x20
pop ebx
ret

Function at 0x617248
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
mov eax, dword [0x624b44]
mov eax, dword [eax]
push eax
call sub.user32.dll_DestroyWindow
push 8
push 0
push 0x617274
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x62488c]
mov byte [eax], 0
ret
Function at 0x617257
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
mov eax, dword [0x624b44]
mov eax, dword [eax]
push eax
call sub.user32.dll_DestroyWindow
push 8
push 0
push 0x617274
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x62488c]
mov byte [eax], 0
ret
Function at 0x401984
Capabilities:
Get file size
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 0x8000000
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x4019c0
push 0x401038
call fcn.00401956
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push edi
push edi
push edi
push 8
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x401a03
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x401a03
push edi
push edi
push edi
push 1
push dword [esi + 4]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x401a03
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
push 0x40104c
jmp 0x4019b2

Function at 0x40203d
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x402b08
call fcn.004025e0
push 1
call fcn.004020cb
pop ecx
test al, al
je 0x402027
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00402099
mov byte [ebp - 0x24], al
mov eax, dword [0x403020]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x402027
test eax, eax
jne 0x401f45
mov dword [0x403020], ecx
push 0x40101c
push 0x40100c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x401f28
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402017
push 0x401008
push section..text
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x403020], 2
jmp 0x401f4a
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040221f
pop ecx
call fcn.004023ad
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x401f7b
push esi
call fcn.0040218b
pop ecx
test al, al
je 0x401f7b
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x40410c]
call esi
call fcn.004023b3
mov esi, eax
cmp dword [esi], edi
je 0x401f99
push esi
call fcn.0040218b
pop ecx
test al, al
je 0x401f99
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov edi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
push edi
push esi
push dword [eax]
call main
add esp, 0xc
mov esi, eax
call fcn.004024d9
test al, al
je 0x40202e
test bl, bl
jne 0x401fcc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.0040223c
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x402017
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.004023b9
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.00493000
jmp 0x401ebb
Function at 0x410b30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46cb3b
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.004617cb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410bb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045f71a
mov eax, dword [eax]
push 0xac21f0
push eax
call fcn.00452354
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00461a56
test bl, bl
je 0x410bb2
push 0xac21f0
lea ecx, [esp + 0xc]
call fcn.00461de6
push 0xac5d58
lea ecx, [esp + 0xc]
call fcn.00461de6
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 0x410bee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00461a56
jmp 0x410cb9
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 0x410c72
lea edx, [esp + 0x7c]
push 0xac5d54
push edx
call fcn.00452354
add esp, 8
test eax, eax
je 0x410c72
lea eax, [esp + 0x7c]
push 0xac5d50
push eax
call fcn.00452354
add esp, 8
test eax, eax
je 0x410c72
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 0x410c02
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.00461a56
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 0x4114b0
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 0x411512
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 0x411520
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46cbbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xacc2bc]
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 0x411658
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411586
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461a56
xor eax, eax
jmp 0x4116cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00461b93
push esi
lea ecx, [esp + 0xc]
call fcn.00461e22
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 0x4116ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004114b0
test eax, eax
jne 0x4116ad
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.004114b0
test eax, eax
jne 0x4116ad
lea eax, [esp + 0x14]
push 0xac5d6c
push eax
call fcn.00453390
mov esi, eax
add esp, 8
test esi, esi
jne 0x41168c
lea ecx, [esp + 0x14]
push 0xac5d68
push ecx
call fcn.00453310
mov esi, eax
add esp, 8
test esi, esi
jne 0x41168c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41168f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00461b43
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41159e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461a56
xor eax, eax
jmp 0x4116cf
mov byte [esi], 0
push 0xac5d64
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.00461a56
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 0x421c90
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 0x421cfe
cmp si, 0x69
ja 0x421cfe
add esi, 0xffd0
cmp si, 0x11
je 0x421cce
push 0x11
call edi
test ax, ax
jge 0x421cce
or esi, 0x2000
cmp si, 0x10
je 0x421ce3
push 0x10
call edi
test ax, ax
jge 0x421ce3
or esi, 0x4000
cmp si, 0x12
je 0x421cf8
push 0x12
call edi
test ax, ax
jge 0x421cf8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x421d0b
mov esi, 0xbd
jmp 0x421cbf
cmp si, 0x6e
jne 0x421d18
mov esi, 0xbe
jmp 0x421cbf
cmp si, 0x6f
jne 0x421cb9
mov esi, 0xbf
jmp 0x421cbf

Function at 0x423470
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xadc9c8]
xor edx, edx
cmp eax, edx
jne 0x423496
xor eax, eax
mov byte [eax + 0xadc8c8], al
inc eax
cmp eax, 0x100
jl 0x42347e
mov dword [0xadc9c8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xadc8c8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x423527
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 0x4234fa
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 0x4234c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4235a0
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 0x4235f3
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 0x4235da
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 0x42a030
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 0x42a1c8
cmp ebp, ebx
jle 0x42a1c8
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 0x42a08e
dec eax
or eax, 0xfffffff8
inc eax
je 0x42a095
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x42a0a4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42a0ab
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00461797
add esp, 4
cmp eax, ebx
je 0x42a0cc
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.00461797
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 0x42a1be
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 0x42a1a5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42a191
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42a186
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 0x42a194
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42a194
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42a130
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 0x42a121
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