joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x411e28
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4010e4
lea ecx, [esp + 0x10]
mov dword [esp + 8], eax
call fcn.0040c66c
or eax, 0xffffffff
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret
test al, 0x10
mov dword [esp + 8], 0xffffffff
lea ecx, [esp + 0x10]
je 0x40110d
call fcn.0040c66c
mov eax, 1
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret
call fcn.0040c66c
mov ecx, dword [esp]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0xc
ret

Function at 0x401130
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x414898
push 1
push 0
push 0x414888
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4011dd
mov eax, dword [esp]
lea edx, [esp + 4]
push esi
push edx
mov ecx, dword [eax]
push 0x4148a8
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x4011d0
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x218]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x220]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [esp + 0x21c]
lea eax, [esp + 0xc]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov esi, eax
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
add esp, 0x210
ret
Function at 0x4110fb
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 0x411129
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x411147
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00411061
jmp 0x411147
mov eax, dword [esi + 0x14]
test eax, eax
je 0x411147
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00411061
test edi, edi
mov eax, edi
jne 0x411131
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x401268
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.004012f0
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
mov eax, dword [ebp - 8]
leave
ret 4

Function at 0x4012a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 4], eax
push 7
push dword [ebp - 4]
call sub.kernel32.dll_SetConsoleMode
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_ReadFile
mov edx, dword [ebp + 8]
sub edx, 1
add edx, 1
cmp byte [edx], 0
je 0x4012e4
cmp byte [edx], 0xd
jne 0x4012d4
mov byte [edx], 0
mov eax, dword [ebp - 8]
sub eax, 2
leave
ret 8
Function at 0x441990
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x30000]
push edi
jmp 0x4419aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4419b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4419a0
mov eax, 1
add ebx, ebx
jne 0x4419c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4419b8
jne 0x4419d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4419b8
xor ecx, ecx
sub eax, 3
jb 0x4419e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x441a5a
mov ebp, eax
add ebx, ebx
jne 0x4419f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x441a00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x441a24
inc ecx
add ebx, ebx
jne 0x441a10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x441a05
jne 0x441a21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x441a05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x441a44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x441a35
jmp 0x4419a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x441a44
add edi, ecx
jmp 0x4419a6
pop esi
mov edi, esi
mov ecx, 0x394
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x441a62
cmp byte [edi], 5
jne 0x441a62
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 0x441a67
lea edi, [esi + 0x3f000]
mov eax, dword [edi]
or eax, eax
je 0x441ad6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x42334]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x42398]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x441a94
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4239c]
or eax, eax
je 0x441ad0
mov dword [ebx], eax
add ebx, 4
jmp 0x441ab1
call dword [esi + 0x423ac]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x441b07
cmp al, 0xef
ja 0x441afa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x441adc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x441ae9
mov ebp, dword [esi + 0x423a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x441b3b
sub esp, 0xffffff80
jmp 0x4015e7
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00431219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e008]
jne 0x40100a
repz ret
jmp fcn.00401be1

Function at 0x40929b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004036eb
and dword [ebp - 4], 0
cmp dword [0x442680], 0
mov ebx, eax
jne 0x40934c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4093fd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4093fd
push eax
call fcn.00403679
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x442680], eax
call esi
push eax
call fcn.00403679
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x442684], eax
call esi
push eax
call fcn.00403679
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x442688], eax
call esi
push eax
call fcn.00403679
pop ecx
mov dword [0x442690], eax
test eax, eax
je 0x40934c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403679
pop ecx
mov dword [0x44268c], eax
mov eax, dword [0x44268c]
cmp eax, ebx
je 0x4093a4
cmp dword [0x442690], ebx
je 0x4093a4
push eax
call fcn.004036f4
push dword [0x442690]
mov esi, eax
call fcn.004036f4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4093a4
test edi, edi
je 0x4093a4
call esi
test eax, eax
je 0x40939b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40939b
test byte [ebp - 0xc], 1
jne 0x4093a4
or dword [ebp + 0x10], 0x200000
jmp 0x4093dd
mov eax, dword [0x442684]
cmp eax, ebx
je 0x4093dd
push eax
call fcn.004036f4
pop ecx
test eax, eax
je 0x4093dd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4093dd
mov eax, dword [0x442688]
cmp eax, ebx
je 0x4093dd
push eax
call fcn.004036f4
pop ecx
test eax, eax
je 0x4093dd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x442680]
call fcn.004036f4
pop ecx
test eax, eax
je 0x4093fd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4093ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b693
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1bb8cb4], 0x930
jne 0x40b6b0
push str.nikododoyaz
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x1bb8cb4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1bb89d0], eax
jne 0x40b6d0
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
leave
ret

Function at 0x40b6da
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
xor edx, edx
cmp dword [ebp + 0xc], edx
jle 0x40b713
and dword [ebp - 4], 0
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
call fcn.0040b6d2
mov eax, dword [ebp - 8]
add eax, 0x46
mov dword [ebp - 4], eax
sub dword [ebp - 4], 0x46
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edx
xor byte [eax], cl
inc edx
cmp edx, dword [ebp + 0xc]
jl 0x40b6e6
cmp dword [ebp + 0xc], 0x2d
jne 0x40b72a
or dword [0x1bb8cc4], 0xffffffff
mov dword [0x1bb8cc0], 0xa62e7790
leave
ret
Function at 0x402f8b
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
je 0x402fa3
push dword [esp + 4]
push 0x402f24
call dword [sym.imp.USER32.DLL_EnumWindows]
jmp 0x402fe0
push esi
mov esi, dword [0x40571c]
test esi, esi
je 0x402fdf
push ebx
push edi
mov ebx, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x402fd7
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
push edi
push 0x40571c
call fcn.00403406
pop ecx
pop ecx
test ebx, ebx
mov esi, ebx
jne 0x402fb0
pop edi
pop ebx
pop esi
ret 4

Function at 0x4030b8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
cmp dword [0x405720], ebx
jne 0x4030e6
push fcn.00403085
push 0x10
push 0x148
call fcn.004032c8
mov dword [0x405720], eax
mov esi, dword [ebp + 0xc]
cmp esi, ebx
jne 0x4030f2
mov esi, section..rdata
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call sub.MSVCRT.dll_strncpy
push esi
mov byte [ebp - 4], bl
call sub.MSVCRT.dll_strlen
add esp, 0x10
cmp eax, ebx
je 0x40312e
cmp byte [eax + esi - 1], 0x5c
je 0x40312e
lea eax, [ebp - 0x108]
push 0x404018
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x403139
cmp byte [eax], bl
jne 0x40313e
mov eax, 0x404014
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push dword [ebp + 8]
push dword [0x405720]
call fcn.00403203
mov esi, eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x40317a
mov dword [esi + 4], ebx
jmp 0x40318c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x403190
mov dword [esi + 4], 1
mov edi, esi
jmp 0x4031a4
cmp dword [ebp + 8], 0xffffffff
jne 0x4031a2
push esi
push dword [0x405720]
call fcn.00403292
mov dword [esi], ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4031f2
Capabilities:
Set file attributes

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x403200
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402a40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
mov word [ebp - 0x42], 0x605a
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0xfffff000
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], 0x1000
mov word [ebp - 0x32], 0x161d
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x16], 0x6c28
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x55], 1
mov dword [ebp - 0x2c], 0
mov bl, byte [ebp - 0x55]
mov dword [ebp - 0x48], 0x4550
mov esi, dword [ebp - 0x48]
mov word [ebp - 0xe], 0x36de
mov dword [ebp - 0x20], 0x5a4d
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x39], 0xf8
cmp eax, 0
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
mov byte [ebp - 0x65], bl
mov dword [ebp - 0x6c], esi
jne 0x402aed
lea eax, [ebp - 0x39]
mov ecx, dword [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
jmp 0x402bca
mov al, 0
sub al, byte [ebp - 0x39]
mov byte [ebp - 0x39], al
mov eax, 0
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
or esi, ecx
mov bl, byte [ebp - 0x39]
or bl, 0x93
sub eax, dword [ebp - 0x30]
mov byte [ebp - 0x39], bl
mov dword [ebp - 0x4c], esi
movzx ecx, word [edx]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x5c]
cmp ecx, eax
jne 0x402b72
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x2c]
add edx, 0
mov eax, dword [ecx + eax]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x6c]
cmp eax, ecx
jne 0x402b66
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov cx, word [ebp - 0xe]
mov eax, dword [ebp - 0x30]
xor eax, 0
mov dword [ebp - 0x30], eax
add cx, 0x57df
mov word [ebp - 0xe], cx
jmp 0x402bca
mov ax, word [ebp - 0x16]
xor ax, 0x347a
mov word [ebp - 0x16], ax
mov eax, 0
mov ecx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x64]
sub ecx, edx
mov esi, dword [ebp - 0x60]
and ecx, esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x54]
mov cl, 0x3c
sub cl, byte [ebp - 0x39]
mov edx, dword [ebp - 0x4c]
xor edx, eax
mov dword [ebp - 0x54], edx
mov byte [ebp - 0x39], 0x7a
mov byte [ebp - 0x39], cl
mov cl, byte [ebp - 0x65]
test cl, 1
jne 0x402af5
mov ax, 0x65be
mov dword [ebp - 0x28], 0
sub ax, word [ebp - 0x16]
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
and ecx, 0
mov dword [ebp - 0x30], ecx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43e090
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cc78b
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.004c1105
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43e112
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004beaa8
mov eax, dword [eax]
push 0x11d3cd8
push eax
call fcn.004b0c44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c1390
test bl, bl
je 0x43e112
push 0x11d3cd8
lea ecx, [esp + 0xc]
call fcn.004c1720
push 0x11d3ce4
lea ecx, [esp + 0xc]
call fcn.004c1720
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 0x43e14e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c1390
jmp 0x43e219
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 0x43e1d2
lea edx, [esp + 0x7c]
push 0x11d3ce0
push edx
call fcn.004b0c44
add esp, 8
test eax, eax
je 0x43e1d2
lea eax, [esp + 0x7c]
push 0x11d3cdc
push eax
call fcn.004b0c44
add esp, 8
test eax, eax
je 0x43e1d2
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 0x43e162
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.004c1390
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 0x43ea10
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 0x43ea72
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 0x43ea80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cc80b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x11e30e8]
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 0x43ebb8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43eae6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c1390
xor eax, eax
jmp 0x43ec2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c14cd
push esi
lea ecx, [esp + 0xc]
call fcn.004c175c
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 0x43ec0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0043ea10
test eax, eax
jne 0x43ec0d
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 SysReAllocString
mov ecx, edi
call fcn.0043ea10
test eax, eax
jne 0x43ec0d
lea eax, [esp + 0x14]
push 0x11d3cf4
push eax
call fcn.004b1d90
mov esi, eax
add esp, 8
test esi, esi
jne 0x43ebec
lea ecx, [esp + 0x14]
push 0x11d3cf0
push ecx
call fcn.004b1d10
mov esi, eax
add esp, 8
test esi, esi
jne 0x43ebec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43ebef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c147d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43eafe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c1390
xor eax, eax
jmp 0x43ec2f
mov byte [esi], 0
push 0x11d3cec
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.004c1390
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 0x44f540
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 0x44f5ae
cmp si, 0x69
ja 0x44f5ae
add esi, 0xffd0
cmp si, 0x11
je 0x44f57e
push 0x11
call edi
test ax, ax
jge 0x44f57e
or esi, 0x2000
cmp si, 0x10
je 0x44f593
push 0x10
call edi
test ax, ax
jge 0x44f593
or esi, 0x4000
cmp si, 0x12
je 0x44f5a8
push 0x12
call edi
test ax, ax
jge 0x44f5a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44f5bb
mov esi, 0xbd
jmp 0x44f56f
cmp si, 0x6e
jne 0x44f5c8
mov esi, 0xbe
jmp 0x44f56f
cmp si, 0x6f
jne 0x44f569
mov esi, 0xbf
jmp 0x44f56f

Function at 0x450f50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x11f3928]
xor edx, edx
cmp eax, edx
jne 0x450f76
xor eax, eax
mov byte [eax + 0x11f3828], al
inc eax
cmp eax, 0x100
jl 0x450f5e
mov dword [0x11f3928], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x11f3828
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x451007
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 0x450fda
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 0x450fa8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x451010
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 0x451063
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 0x45104a
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