joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a03a0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x10226c14]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x101a03b3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x101a03f4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x10226cbc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x101a0426
mov bl, byte [esp + ecx + 0x4c]
jmp 0x101a042a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x101a041b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x101a0448
mov bl, byte [esp + ecx + 0x4c]
jmp 0x101a044c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x101a043d
xor ecx, ecx
mov eax, 0x10226c24
xor ebx, ebx
mov bl, byte [ecx + 0x10226ccc]
cmp byte [esp + ebx + 0x14], 0
je 0x101a0477
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x10226ce4]
cmp byte [esp + ebx + 0x14], 0
je 0x101a048e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x101a045e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x101a03e7
lea edx, [esp + 0x84]
push edx
call fcn.101a04d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x101b6c50
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x101b6c88
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.101b4cf2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.101b4cca
jmp 0x101b6c94
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x101b844c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x101b848e
call fcn.101beeea
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x101b848e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x101b8485
xor eax, eax
jmp 0x101b8496
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.101b849c
pop edi
pop esi
pop ebx
ret 4
Function at 0xc54a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0xc7b010]
push edi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0x5d03d6
nop
push eax
nop
call 0x77e3e026
mov ebx, eax
push 0xc849f0
mov dword [ebp - 4], ebx
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
mov byte [ebx + edi], 0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0xc54b7a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
nop
call 0x779143d3
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0xc849f0
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0xc54b06
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
push 0xc849f0
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0x5d03db
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xc56ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0xc56f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
call 0x77909910
nop
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0xc56fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0xc56fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0xc56f91
mov ecx, dword [ebx]
push edi
push 0xf8
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
call 0x77909910
nop
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0xc56fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0xc56fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0xc56fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [fcn.00e890f4]
push eax
call dword [fcn.00e89088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0xc56f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00c57590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x1143d00
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0xe890e0]
test esi, esi
jne 0x1143d18
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1143d11
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x1143d11
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x1143d7a
jmp 0x1143d60
mov eax, dword [ebx + edi*4]
mov ecx, dword [0xe88bf0]
add eax, esi
call fcn.011417e0
test eax, eax
je 0x1143d83
inc edi
cmp edi, dword [ebp - 4]
jb 0x1143d60
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x44a15d
Capabilities:
Encode data using xor

Disassembly:
mov bl, 0x7a
cmp cl, byte [esi + 2]
mov bh, byte [ebx]
xor esi, ebx
inc esi
xchg bl, bh
test byte [ecx], 0x23
or dword [ebx], esp
jg 0x44a138
test bh, al
invalid
dec esp

Function at 0x494c25
Capabilities:
Encode data using add xor sub operations

Disassembly:
jns 0x494c1e
ret
pop ds
popal
dec esi
mov ebx, 0xb399e314
and byte [edi - 0x6a], 4
xchg esi, eax
add al, 0x71
invalid
cwde

Function at 0x494c7d
Capabilities:
Encode data using xor

Disassembly:
aad 0xdb
jnp 0x494c33
adc al, 0x18
inc esp
jb fcn.00494c35
jo 0x494c1f

Function at 0x4c7f91
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d23e8
cmp edx, dword [eax]
je 0x4c7fb3
add eax, 8
inc ecx
cmp eax, 0x4d2478
jl 0x4c7fa4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d23e8]
jne 0x4c80e1
mov eax, dword [0x4d7e10]
cmp eax, 1
je 0x4c80bb
test eax, eax
jne 0x4c7fe4
cmp dword [0x4d2310], 1
je 0x4c80bb
cmp edx, 0xfc
je 0x4c80e1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c801b
lea eax, [ebp - 0x1a4]
push 0x4cddd0
push eax
call fcn.004c8970
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c8e00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c805e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c8e00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cddcc
push edi
call fcn.004cacd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4cddb0
push eax
call fcn.004c8970
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c8980
lea eax, [ebp - 0xa0]
push 0x4cddac
push eax
call fcn.004c8980
push dword [esi + 0x4d23ec]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c8980
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cdd84
push eax
call fcn.004cac44
add esp, 0x2c
pop edi
jmp 0x4c80e1
lea eax, [ebp + 8]
lea esi, [esi + 0x4d23ec]
push 0
push eax
push dword [esi]
call fcn.004c8e00
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 0x40555f
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x405588
mov eax, 0xfffffffd
jmp 0x405729
mov ebx, dword [0x4b9634]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x4056f7
mov ebx, dword [0x4b9634]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0xa
jne 0x4055d7
mov ebx, dword [0x4b9634]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x4055d7
mov eax, 1
jmp 0x4055dc
mov eax, 0
test eax, eax
je 0x40560c
call fcn.0040572f
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4055f9
mov eax, dword [ebp + 8]
call dword [ebp - 4]
nop
nop
leave
ret 4
mov ebx, dword [0x4b9634]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x405643
mov ebx, dword [0x4b9634]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x405643
mov eax, 1
jmp 0x405648
mov eax, 0
test eax, eax
jne 0x405698
mov ebx, dword [0x4b9634]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 6
jne 0x405687
mov ebx, dword [0x4b9634]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 3
jne 0x405687
mov eax, 1
jmp 0x40568c
mov eax, 0
test eax, eax
jne 0x405698
xor eax, eax
jmp 0x40569d
mov eax, 1
test eax, eax
je 0x4056c9
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4056b2
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x4b9634]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x40571f
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x405729
mov esp, ebp
pop ebp
ret 4

Function at 0x40634a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004063ac
test eax, eax
je 0x40638d
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x40638d
cmp word [eax], 0x5a4d
jne 0x40638d
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x40638d
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0040647e
mov eax, dword [ebp + 8]
jmp 0x4063a6
mov esp, ebp
pop ebp
ret 4

Function at 0x4063ac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x40645f
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x413abe
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x413aea
add dword [esp], 5
retf
Function at 0x41753d
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x417547
add dword [esp], 5
retf

Function at 0x4176fa
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ax, 0x53
mov fs, eax
push 0x33
call 0x41770a
add dword [esp], 5
retf

Function at 0x417870
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x41787a
add dword [esp], 5
retf

Function at 0x417a8b
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x417ab7
add dword [esp], 5
retf
Function at 0x41f5e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49075b
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.0048581b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41f662
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048372d
mov eax, dword [eax]
push 0x4abc98
push eax
call fcn.004762e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00485aa6
test bl, bl
je 0x41f662
push 0x4abc98
lea ecx, [esp + 0xc]
call fcn.00485e36
push 0x4abca4
lea ecx, [esp + 0xc]
call fcn.00485e36
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 0x41f69e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00485aa6
jmp 0x41f769
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 0x41f722
lea edx, [esp + 0x7c]
push 0x4abca0
push edx
call fcn.004762e4
add esp, 8
test eax, eax
je 0x41f722
lea eax, [esp + 0x7c]
push 0x4abc9c
push eax
call fcn.004762e4
add esp, 8
test eax, eax
je 0x41f722
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 0x41f6b2
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.00485aa6
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 0x41ff60
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 0x41ffc2
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 0x41ffd0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4907db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b55cc]
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 0x420108
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x420036
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00485aa6
xor eax, eax
jmp 0x42017f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00485be3
push esi
lea ecx, [esp + 0xc]
call fcn.00485e72
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 0x42015d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041ff60
test eax, eax
jne 0x42015d
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 closesocket
mov ecx, edi
call fcn.0041ff60
test eax, eax
jne 0x42015d
lea eax, [esp + 0x14]
push 0x4abcb4
push eax
call fcn.004773c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42013c
lea ecx, [esp + 0x14]
push 0x4abcb0
push ecx
call fcn.00477340
mov esi, eax
add esp, 8
test esi, esi
jne 0x42013c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42013f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00485b93
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42004e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00485aa6
xor eax, eax
jmp 0x42017f
mov byte [esi], 0
push 0x4abcac
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.00485aa6
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 0x42f500
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 0x42f56e
cmp si, 0x69
ja 0x42f56e
add esi, 0xffd0
cmp si, 0x11
je 0x42f53e
push 0x11
call edi
test ax, ax
jge 0x42f53e
or esi, 0x2000
cmp si, 0x10
je 0x42f553
push 0x10
call edi
test ax, ax
jge 0x42f553
or esi, 0x4000
cmp si, 0x12
je 0x42f568
push 0x12
call edi
test ax, ax
jge 0x42f568
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42f57b
mov esi, 0xbd
jmp 0x42f52f
cmp si, 0x6e
jne 0x42f588
mov esi, 0xbe
jmp 0x42f52f
cmp si, 0x6f
jne 0x42f529
mov esi, 0xbf
jmp 0x42f52f

Function at 0x430d50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4c5e50]
xor edx, edx
cmp eax, edx
jne 0x430d76
xor eax, eax
mov byte [eax + 0x4c5d50], al
inc eax
cmp eax, 0x100
jl 0x430d5e
mov dword [0x4c5e50], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4c5d50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x430e07
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 0x430dda
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 0x430da8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x430e80
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 0x430ed3
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 0x430eba
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 0x437ef0
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 0x438088
cmp ebp, ebx
jle 0x438088
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 0x437f4e
dec eax
or eax, 0xfffffff8
inc eax
je 0x437f55
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x437f64
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x437f6b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004857e7
add esp, 4
cmp eax, ebx
je 0x437f8c
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.004857e7
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 0x43807e
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 0x438065
mov al, byte [edx]
cmp al, 0xc0
jbe 0x438051
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x438046
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 0x438054
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x438054
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x437ff0
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 0x437fe1
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