joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41727f
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428c90
push 0x41b148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x437808], eax
movzx ecx, ah
mov dword [0x437814], ecx
and eax, 0xff
mov dword [0x437810], eax
shl eax, 8
add eax, ecx
mov dword [0x43780c], eax
movzx eax, word [0x43780a]
mov dword [0x437808], eax
push 1
call fcn.00419e4a
pop ecx
test eax, eax
jne 0x4172ed
push 0x1c
call fcn.004173af
pop ecx
call fcn.00419a89
test eax, eax
jne 0x4172fe
push 0x10
call fcn.004173af
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0041bd81
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x438ef8], eax
call fcn.0041bc4f
mov dword [0x4377f8], eax
call fcn.0041ba0a
call fcn.0041b951
call fcn.00417886
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0041b8f3
mov dword [ebp - 0x60], eax
test byte [ebp - 0x30], 1
je 0x41734d
movzx eax, word [ebp - 0x2c]
jmp 0x417350
push 0xa
pop eax
push eax
push dword [ebp - 0x60]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x64], eax
push eax
call fcn.004178b3
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
push eax
push ecx
call fcn.0041b77f
pop ecx
pop ecx
ret

Function at 0x4178d5
Capabilities:
Terminate process

Disassembly:
push edi
call fcn.00417979
xor edi, edi
inc edi
cmp dword [0x437844], edi
jne 0x4178f7
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [esp + 0xc], 0
push ebx
mov ebx, dword [esp + 0x14]
mov dword [0x437840], edi
mov byte [0x43783c], bl
jne 0x41794b
mov eax, dword [0x438ef4]
push esi
test eax, eax
je 0x417939
mov ecx, dword [0x438ef0]
lea esi, [ecx - 4]
cmp esi, eax
jb 0x417939
mov eax, dword [esi]
test eax, eax
je 0x41792e
call eax
sub esi, 4
cmp esi, dword [0x438ef4]
jae 0x417926
push 0x42c094
push 0x42c08c
call fcn.0041798b
pop ecx
pop ecx
pop esi
push 0x42c09c
push 0x42c098
call fcn.0041798b
pop ecx
pop ecx
test ebx, ebx
pop ebx
je 0x417967
pop edi
jmp fcn.00417982
push dword [esp + 8]
mov dword [0x437844], edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x419b13
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x430a40]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x419b70
push 0x74
push 1
call fcn.0041ee68
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x419b68
push esi
push dword [0x430a40]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x419b68
push esi
call fcn.00419b00
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x419b70
push 0x10
call fcn.0041738a
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret

Function at 0x41bf75
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, dword [eax*8 + 0x432e70]
je 0x41bf92
inc eax
cmp eax, 0x12
jb 0x41bf83
push esi
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x432e70]
jne 0x41c0c0
mov eax, dword [0x437800]
cmp eax, 1
je 0x41c09a
test eax, eax
jne 0x41bfc3
cmp dword [0x430674], 1
je 0x41c09a
cmp ecx, 0xfc
je 0x41c0c0
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41bffa
lea eax, [ebp - 0x1a4]
push 0x429150
push eax
call fcn.004167c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00416740
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41c03d
lea eax, [ebp - 0x1a4]
push eax
call fcn.00416740
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42914c
push edi
call fcn.004169b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x429130
push eax
call fcn.004167c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004167d0
lea eax, [ebp - 0xa0]
push 0x42912c
push eax
call fcn.004167d0
push dword [esi + 0x432e74]
lea eax, [ebp - 0xa0]
push eax
call fcn.004167d0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x429104
push eax
call fcn.0041f849
add esp, 0x2c
pop edi
jmp 0x41c0c0
lea eax, [ebp + 8]
lea esi, [esi + 0x432e74]
push 0
push eax
push dword [esi]
call fcn.00416740
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x41c2da
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x41c4a0
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x437da0]
shl esi, 2
mov eax, dword [edi]
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x41c4a0
test cl, 0x48
je 0x41c340
mov al, byte [eax + 5]
cmp al, 0xa
je 0x41c340
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
lea eax, [ebp - 0xc]
push 0
push eax
mov eax, dword [edi]
push dword [ebp + 0x10]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41c392
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x41c37a
call fcn.00417f6a
mov dword [eax], 9
call fcn.00417f73
mov dword [eax], esi
jmp 0x41c38a
cmp eax, 0x6d
je 0x41c4a0
push eax
call fcn.00417efc
pop ecx
or eax, 0xffffffff
jmp 0x41c4a2
mov eax, dword [edi]
mov edx, dword [ebp - 0xc]
add dword [ebp - 8], edx
lea ecx, [eax + esi + 4]
mov al, byte [ecx]
test al, al
jns 0x41c49b
test edx, edx
je 0x41c3b5
cmp byte [ebx], 0xa
jne 0x41c3b5
or al, 4
jmp 0x41c3b7
and al, 0xfb
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [ebp + 0x10], eax
add ecx, eax
cmp eax, ecx
mov dword [ebp - 8], ecx
jae 0x41c495
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x41c485
cmp al, 0xd
je 0x41c3eb
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x41c477
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x41c405
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x41c400
add dword [ebp + 0x10], 2
jmp 0x41c459
mov dword [ebp + 0x10], eax
jmp 0x41c473
lea eax, [ebp - 0xc]
push 0
push eax
inc dword [ebp + 0x10]
lea eax, [ebp - 1]
push 1
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41c42d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41c473
cmp dword [ebp - 0xc], 0
je 0x41c473
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x41c44e
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x41c459
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x41c476
cmp ebx, dword [ebp + 0xc]
jne 0x41c45e
cmp byte [ebp - 1], 0xa
jne 0x41c45e
mov byte [ebx], 0xa
jmp 0x41c476
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041c128
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x41c477
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x41c3cf
jmp 0x41c495
mov eax, dword [edi]
lea esi, [eax + esi + 4]
mov al, byte [esi]
test al, 0x40
jne 0x41c495
or al, 2
mov byte [esi], al
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x41c4a2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41d829
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
jne 0x41d849
xor eax, eax
jmp 0x41d9b2
mov eax, dword [ebp + 8]
sar eax, 5
lea ebx, [eax*4 + 0x437da0]
mov eax, dword [ebp + 8]
and eax, 0x1f
lea esi, [eax + eax*8]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x41d879
push 2
push edi
push dword [ebp + 8]
call fcn.0041c128
add esp, 0xc
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x41d94b
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], eax
mov dword [ebp + 8], edi
jbe 0x41d986
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x418]
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 4], edi
cmp ecx, dword [ebp + 0x10]
jae 0x41d8d4
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
inc ecx
mov dl, byte [edx]
cmp dl, 0xa
jne 0x41d8c5
inc dword [ebp - 0x10]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 4]
mov byte [eax], dl
inc eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x400
jl 0x41d8a8
mov edi, eax
lea eax, [ebp - 0x418]
sub edi, eax
lea eax, [ebp - 0x14]
push 0
push eax
lea eax, [ebp - 0x418]
push edi
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41d914
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
cmp eax, edi
jl 0x41d91d
mov eax, dword [ebp - 8]
xor edi, edi
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jb 0x41d899
jmp 0x41d91f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
xor edi, edi
mov eax, dword [ebp - 0xc]
cmp eax, edi
jne 0x41d9af
cmp dword [ebp + 8], edi
je 0x41d986
push 5
pop esi
cmp dword [ebp + 8], esi
jne 0x41d978
call fcn.00417f6a
mov dword [eax], 9
call fcn.00417f73
mov dword [eax], esi
jmp 0x41d981
lea ecx, [ebp - 0x14]
push edi
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41d96d
mov eax, dword [ebp - 0x14]
mov dword [ebp + 8], edi
mov dword [ebp - 0xc], eax
jmp 0x41d91f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
jmp 0x41d91f
push dword [ebp + 8]
call fcn.00417efc
pop ecx
or eax, 0xffffffff
jmp 0x41d9b2
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x41d99b
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
je 0x41d842
call fcn.00417f6a
mov dword [eax], 0x1c
call fcn.00417f73
mov dword [eax], edi
jmp 0x41d981
sub eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41efa1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
push edi
xor edi, edi
push edi
push 0x80
push 4
push edi
push 3
push 0x1f03ff
push 0x429208
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, edi
je 0x41f01f
push 2
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x804]
push dword [ebp + 8]
push eax
call fcn.00418471
add esp, 0xc
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
leave
ret

Function at 0x41f023
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov ebx, eax
push esi
push 0x80
push 4
push esi
push 3
push 0x1f03ff
push 0x429208
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push esi
lea eax, [ebp - 4]
push esi
push eax
push 0x400
push ebx
push esi
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp - 4]
lea eax, [ebp - 0x808]
push ebx
push 0x429230
push eax
call fcn.00416958
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp edi, esi
je 0x41f0cd
push 2
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x808]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x619f379f
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data_1
mov ebx, 0x42e1d0
nop
mov ecx, 0x1aae2e73
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40fa20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040fbd0
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40fb1e
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40fac1
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40fb04
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40fad8
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40faf3
test al, 0x40
je 0x40faea
mov ecx, dword [edi + 0x20]
jmp 0x40faf1
test al, 0x80
je 0x40fb04
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40fb04
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40fa90
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x41fef0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4beceb
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.004b2c07
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41ff72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b0400
mov eax, dword [eax]
push 0x50b264
push eax
call fcn.00490204
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b2e92
test bl, bl
je 0x41ff72
push 0x50b264
lea ecx, [esp + 0xc]
call fcn.004b3222
push 0x50ede4
lea ecx, [esp + 0xc]
call fcn.004b3222
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 0x41ffae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b2e92
jmp 0x420079
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 0x420032
lea edx, [esp + 0x7c]
push 0x50ede0
push edx
call fcn.00490204
add esp, 8
test eax, eax
je 0x420032
lea eax, [esp + 0x7c]
push 0x50eddc
push eax
call fcn.00490204
add esp, 8
test eax, eax
je 0x420032
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 0x41ffc2
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.004b2e92
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 0x420870
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bed6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x517a24]
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 0x4209a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4208d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b2e92
xor eax, eax
jmp 0x420a1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b2fcf
push esi
lea ecx, [esp + 0xc]
call fcn.004b325e
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x50ee1c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4209fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x50ee14
push closesocket
call fcn.0046ad00
test eax, eax
jne 0x4209fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x50ee00
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0046ad00
test eax, eax
jne 0x4209fd
lea eax, [esp + 0x14]
push 0x50edf8
push eax
call fcn.00491320
mov esi, eax
add esp, 8
test esi, esi
jne 0x4209dc
lea ecx, [esp + 0x14]
push 0x50edf4
push ecx
call fcn.004912a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4209dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4209df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b2f7f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4208ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b2e92
xor eax, eax
jmp 0x420a1f
mov byte [esi], 0
push 0x50edf0
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.004b2e92
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 0x432a40
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 0x432aae
cmp si, 0x69
ja 0x432aae
add esi, 0xffd0
cmp si, 0x11
je 0x432a7e
push 0x11
call edi
test ax, ax
jge 0x432a7e
or esi, 0x2000
cmp si, 0x10
je 0x432a93
push 0x10
call edi
test ax, ax
jge 0x432a93
or esi, 0x4000
cmp si, 0x12
je 0x432aa8
push 0x12
call edi
test ax, ax
jge 0x432aa8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x432abb
mov esi, 0xbd
jmp 0x432a6f
cmp si, 0x6e
jne 0x432ac8
mov esi, 0xbe
jmp 0x432a6f
cmp si, 0x6f
jne 0x432a69
mov esi, 0xbf
jmp 0x432a6f

Function at 0x434270
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x528fc0]
xor edx, edx
cmp eax, edx
jne 0x434296
xor eax, eax
mov byte [eax + 0x528ec0], al
inc eax
cmp eax, 0x100
jl 0x43427e
mov dword [0x528fc0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x528ec0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x434327
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 0x4342fa
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 0x4342c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4343a0
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 0x4343f3
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 0x4343da
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