joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x6c595d91
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x7ac0438c
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x501301bd
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x72962cc1
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x406ac0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4190c8
push 0x40b184
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x4351b4], eax
mov eax, dword [0x4351b4]
shr eax, 8
and eax, 0xff
mov dword [0x4351c0], eax
mov ecx, dword [0x4351b4]
and ecx, 0xff
mov dword [0x4351bc], ecx
mov edx, dword [0x4351bc]
shl edx, 8
add edx, dword [0x4351c0]
mov dword [0x4351b8], edx
mov eax, dword [0x4351b4]
shr eax, 0x10
and eax, 0xffff
mov dword [0x4351b4], eax
call fcn.0040aff0
test eax, eax
jne 0x406b4f
push 0x1c
call fcn.00406cf0
add esp, 4
mov dword [ebp - 4], 0
call fcn.0040ac80
call fcn.0040ac70
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x436984], eax
call fcn.0040a610
mov dword [0x4350b0], eax
cmp dword [0x4350b0], 0
je 0x406b87
cmp dword [0x436984], 0
jne 0x406b91
push 0xffffffffffffffff
call fcn.00409430
add esp, 4
call fcn.00409e90
call fcn.00409d50
call fcn.004093f0
mov ecx, dword [0x436984]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x22
jne 0x406c0b
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x22
je 0x406bf4
mov ecx, dword [ebp - 0x64]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x406bf4
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov cl, byte [eax]
push ecx
call fcn.00409c60
add esp, 4
test eax, eax
je 0x406bf2
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
jmp 0x406bb5
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x22
jne 0x406c09
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
jmp 0x406c22
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x20
jle 0x406c22
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
jmp 0x406c0b
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x406c44
mov edx, dword [ebp - 0x64]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x20
jg 0x406c44
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
jmp 0x406c22
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [ebp - 0x30]
and eax, 1
test eax, eax
je 0x406c6d
mov ecx, dword [ebp - 0x2c]
and ecx, 0xffff
mov dword [ebp - 0x6c], ecx
jmp 0x406c74
mov dword [ebp - 0x6c], 0xa
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00401069
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00409430
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x406cd5
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409830
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40985b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040f760
add esp, 4
or eax, 0xffffffff
jmp 0x40988a
mov ecx, dword [ebp - 4]
and ecx, 1
test ecx, ecx
je 0x409888
mov edx, dword [ebp + 0xc]
and edx, 2
test edx, edx
je 0x409888
mov dword [0x4351a8], 0xd
mov dword [0x4351ac], 5
or eax, 0xffffffff
jmp 0x40988a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40b2b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
push ebx
push esi
push edi
mov dword [ebp - 8], 0
jmp 0x40b2ce
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x12
jae 0x40b2e7
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx*8 + 0x41c250]
jne 0x40b2e5
jmp 0x40b2e7
jmp 0x40b2c5
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax*8 + 0x41c250]
jne 0x40b49a
cmp dword [ebp + 8], 0xfc
je 0x40b324
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x41c254]
push eax
push 0
push 0
push 0
push 1
call fcn.00408a70
add esp, 0x14
cmp eax, 1
jne 0x40b324
int3
cmp dword [0x4350b8], 1
je 0x40b33f
cmp dword [0x4350b8], 0
jne 0x40b3aa
cmp dword [0x41bfa4], 1
jne 0x40b3aa
cmp dword [0x436820], 0
je 0x40b365
mov ecx, dword [0x436820]
cmp dword [ecx + 0x10], 0xffffffff
je 0x40b365
mov edx, dword [0x436820]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1b4], eax
jmp 0x40b373
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x1b4], eax
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x41c254]
push eax
call fcn.0040d7d0
add esp, 4
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*8 + 0x41c254]
push edx
mov eax, dword [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40b49a
cmp dword [ebp + 8], 0xfc
je 0x40b49a
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b3e3
push str._program_name_unknown_
lea edx, [ebp - 0x110]
push edx
call fcn.0040b850
add esp, 8
lea eax, [ebp - 0x110]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040d7d0
add esp, 4
add eax, 1
cmp eax, 0x3c
jbe 0x40b42c
lea edx, [ebp - 0x110]
push edx
call fcn.0040d7d0
add esp, 4
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax - 0x3b]
mov dword [ebp - 0xc], edx
push 3
push 0x419408
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040b750
add esp, 0xc
push str.Runtime_Error__n_nProgram:
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.0040b850
add esp, 8
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x1b0]
push eax
call fcn.0040b860
add esp, 8
push 0x41937c
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.0040b860
add esp, 8
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x41c254]
push eax
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.0040b860
add esp, 8
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
lea edx, [ebp - 0x1b0]
push edx
call fcn.0040ecb0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4012b0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
cmp dword [0x84b660], 0x594
mov dword [ebp - 0x1c], esi
mov dword [ebp - 8], eax
jne 0x4012e5
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push edi
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x42c288]
push ebx
mov ebx, dword [0x42c28c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], ecx
call fcn.00401290
mov edx, dword [0x42c290]
mov eax, dword [0x42c294]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0x20
jmp 0x401324
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x84b660]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401378
push edi
lea ecx, [ebp - 0x834]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push edi
lea edx, [ebp - 0x34]
push edx
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_HeapCompact]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x84b660]
add eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401392
mov dword [0x84abfc], 0xedeb2e40
jmp 0x4013a0
cmp ecx, 0x3eb
jne 0x4013a0
mov dword [0x84a5ac], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
add eax, esi
shr esi, cl
mov dword [ebp - 0x10], eax
mov dword [0x84abf8], 0xf4ea3dee
add esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
cmp dword [0x84b660], 0x9e6
jne 0x4013d4
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
xor dword [ebp - 4], edx
shr esi, cl
add esi, ebx
cmp dword [0x84b660], 0xb03
jne 0x401432
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov ecx, dword [ebp - 4]
xor ecx, esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ecx
call fcn.004012a0
lea eax, [ebp - 0x18]
call fcn.00401280
sub dword [ebp - 0x20], 1
jne 0x401321
cmp dword [0x84b660], 0xa6d
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
mov dword [esi], eax
pop ebx
jne 0x401480
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 8]
pop edi
mov dword [esi + 4], edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x401490
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x84b660]
mov ecx, dword [0x84a5b0]
shr eax, 3
sub esp, 0x408
test eax, eax
jbe 0x401537
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x84b660], 0x959
jne 0x401521
push 0
push 0
call esi
push str.filofebubakexojut
push 0
push 0
call edi
push 0
push 0
push str.galobakanokusi
push str.vopaxi
push 0
call ebx
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push str.Yinuweyuw_fekeduwiwewub_nisusajizazur
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.004012b0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4014d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4018c0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
cmp dword [0x84b660], 0x400
push esi
push edi
jne 0x401911
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 4]
push edx
mov word [ebp - 4], ax
mov word [ebp - 2], cx
mov eax, dword [ebp - 4]
push eax
push ecx
push str.Wikiguxis_waj_rozuxineb
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea esi, [ebp - 0x24]
call fcn.00401a00
mov ecx, esi
call fcn.00401a20
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffA]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0xa50
jge 0x401933
push 0
lea ecx, [ebp - 0x424]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x401949
cmp edi, 0x78d9a205
jne 0x401952
inc esi
cmp esi, 0x1c5d
jl 0x401920
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x40197d
inc esi
cmp esi, 0x4f6a4
jl 0x401960
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40199c
cmp ebx, 0x785074d5
jne 0x4019a5
inc esi
cmp esi, 0x11915
jl 0x401988
mov edx, dword [0x42c4cc]
mov dword [0x84b660], edx
call fcn.00401630
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov edi, 0x3078f
pop ebx
cmp dword [0x84b660], 0x51f
jne 0x4019de
push 0
lea eax, [ebp - 0x424]
push eax
push str.Caguwolobu_funikigipu
call esi
sub edi, 1
jne 0x4019c2
mov eax, dword [0x84a5b0]
mov dword [0x84abf4], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40455b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b218]
jne 0x404565
repz ret
jmp fcn.004088fc
Function at 0x40a74f
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.004071f2
and dword [ebp - 4], 0
cmp dword [0x42d314], 0
mov ebx, eax
jne 0x40a800
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a8b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a8b1
push eax
call fcn.00407180
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42d314], eax
call esi
push eax
call fcn.00407180
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42d318], eax
call esi
push eax
call fcn.00407180
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42d31c], eax
call esi
push eax
call fcn.00407180
pop ecx
mov dword [0x42d324], eax
test eax, eax
je 0x40a800
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407180
pop ecx
mov dword [0x42d320], eax
mov eax, dword [0x42d320]
cmp eax, ebx
je 0x40a858
cmp dword [0x42d324], ebx
je 0x40a858
push eax
call fcn.004071fb
push dword [0x42d324]
mov esi, eax
call fcn.004071fb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a858
test edi, edi
je 0x40a858
call esi
test eax, eax
je 0x40a84f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a84f
test byte [ebp - 0xc], 1
jne 0x40a858
or dword [ebp + 0x10], 0x200000
jmp 0x40a891
mov eax, dword [0x42d318]
cmp eax, ebx
je 0x40a891
push eax
call fcn.004071fb
pop ecx
test eax, eax
je 0x40a891
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a891
mov eax, dword [0x42d31c]
cmp eax, ebx
je 0x40a891
push eax
call fcn.004071fb
pop ecx
test eax, eax
je 0x40a891
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d314]
call fcn.004071fb
pop ecx
test eax, eax
je 0x40a8b1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a8b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425bc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cb6eb
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.004bf1b9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x425c42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bc154
mov eax, dword [eax]
push 0x57ed68
push eax
call fcn.004ae8d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004bf444
test bl, bl
je 0x425c42
push 0x57ed68
lea ecx, [esp + 0xc]
call fcn.004bf7d4
push 0x57ed74
lea ecx, [esp + 0xc]
call fcn.004bf7d4
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 0x425c7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004bf444
jmp 0x425d49
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 0x425d02
lea edx, [esp + 0x7c]
push 0x57ed70
push edx
call fcn.004ae8d4
add esp, 8
test eax, eax
je 0x425d02
lea eax, [esp + 0x7c]
push 0x57ed6c
push eax
call fcn.004ae8d4
add esp, 8
test eax, eax
je 0x425d02
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 0x425c92
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.004bf444
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 0x4269d0
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 0x426a32
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 0x426a40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cb7ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x589718]
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 0x426b78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x426aa6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004bf444
xor eax, eax
jmp 0x426bef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004bf581
push esi
lea ecx, [esp + 0xc]
call fcn.004bf810
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 0x426bcd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004269d0
test eax, eax
jne 0x426bcd
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.004269d0
test eax, eax
jne 0x426bcd
lea eax, [esp + 0x14]
push 0x57ed8c
push eax
call fcn.004afab0
mov esi, eax
add esp, 8
test esi, esi
jne 0x426bac
lea ecx, [esp + 0x14]
push 0x57ed88
push ecx
call fcn.004afa30
mov esi, eax
add esp, 8
test esi, esi
jne 0x426bac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x426baf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004bf531
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x426abe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004bf444
xor eax, eax
jmp 0x426bef
mov byte [esi], 0
push 0x57ed84
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.004bf444
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 0x43c9d0
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 0x43ca3e
cmp si, 0x69
ja 0x43ca3e
add esi, 0xffd0
cmp si, 0x11
je 0x43ca0e
push 0x11
call edi
test ax, ax
jge 0x43ca0e
or esi, 0x2000
cmp si, 0x10
je 0x43ca23
push 0x10
call edi
test ax, ax
jge 0x43ca23
or esi, 0x4000
cmp si, 0x12
je 0x43ca38
push 0x12
call edi
test ax, ax
jge 0x43ca38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43ca4b
mov esi, 0xbd
jmp 0x43c9ff
cmp si, 0x6e
jne 0x43ca58
mov esi, 0xbe
jmp 0x43c9ff
cmp si, 0x6f
jne 0x43c9f9
mov esi, 0xbf
jmp 0x43c9ff

Function at 0x43eba0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x599fc8]
xor edx, edx
cmp eax, edx
jne 0x43ebc6
xor eax, eax
mov byte [eax + 0x599ec8], al
inc eax
cmp eax, 0x100
jl 0x43ebae
mov dword [0x599fc8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x599ec8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43ec57
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 0x43ec2a
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 0x43ebf8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43ecd0
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 0x43ed23
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 0x43ed0a
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