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

Disassembly:
jmp 0x64cebc
jmp 0x64cea0
lea esp, [esp + 4]
jmp 0x64ce67
jmp 0x64ced8
jmp 0x64cef4
push ebx
jmp 0x64cf10
jmp 0x64cf2c
push ebp
jmp 0x64cf48
jmp 0x64cf64
push esi
jmp 0x64cf80
jmp 0x6809ec
push edi
movzx edx, byte [eax]
jmp 0x680ca6
shl edx, 8
movzx esi, byte [eax + 1]
jmp 0x680cdb
xor edx, esi
movzx esi, byte [eax + 2]
jmp 0x680d3a
xor edx, esi
movzx esi, byte [eax + 7]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 9]
jmp 0x680f33
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 3]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 5]
mov dword [ecx], edx
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 6]
shl edx, 8
jmp 0x680d13
xor eax, 0x1000000
mov edi, edx
shr edi, 8
and edi, esi
mov edi, dword [edi*4 + 0x656804]
and edi, 0xff0000
mov ebx, dword [ecx + 4]
and eax, 0xff000000
xor eax, edi
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi*4 + 0x656804]
xor eax, edi
mov edi, edx
and edi, esi
mov edi, dword [edi*4 + 0x656804]
mov ebp, 0xff00
and edi, ebp
xor eax, edi
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
xor ebx, eax
mov dword [edi], eax
mov eax, dword [ecx + 8]
xor eax, ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], eax
xor edx, eax
mov dword [ecx + 0x1c], edx
call fcn.0066a3f1
mov eax, edi
mov edx, dword [eax + 0xc]
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, esi
mov ecx, dword [ecx*4 + 0x656804]
shr edi, 0x10
and edi, esi
mov edi, dword [edi*4 + 0x656804]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, esi
mov edx, dword [edx*4 + 0x656804]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x656804]
xor ecx, edi
and edx, ebp
xor ecx, edx
xor ecx, dword [ebx]
lea edi, [eax + 0x10]
xor ecx, dword [eax]
add ebx, 4
mov dword [edi], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x1c], edx
cmp ebx, 0x65802c
jne 0x680e15
push 0xa
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [ecx + 4], edx
movzx edx, byte [eax + 8]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xb]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xd]
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0xc]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edx, 8
xor edx, esi
shl edx, 8
xor edx, eax
mov dword [ecx + 0xc], edx
mov eax, edx
shr eax, 0x10
mov esi, 0xff
and eax, esi
mov eax, dword [eax*4 + 0x656804]
jmp 0x680dae
Function at 0x64e379
Capabilities:
Encode data using xor

Disassembly:
call 0x64e187
jmp 0x64e395
lea esp, [esp + 4]
jmp 0x64e491
jmp 0x64e3cd
jmp 0x64e3e9
mov al, byte [ecx]
jmp 0x64e405
jmp 0x64e421
push ebx
jmp 0x64e43d
jmp 0x64e459
cmp al, 0x41
jmp 0x6822f0
jmp 0x68230a
jmp 0x64e3b1
mov dl, byte [ecx + 1]
cmp dl, 0x41
jb 0x6823d4
cmp dl, 0x5a
jbe 0x6823b1
jmp 0x6823d4
add byte [eax], al
cmp al, 0x9d
or eax, 0x2522a754
movsd dword es:[edi], dword [esi]
xor eax, 0x4279af5c
invalid
jb 0x64e475
cmp al, 0x5a
jbe 0x6822bf
jmp 0x64e475
cmp al, 0x61
jb 0x68237b
cmp al, 0x7a
jbe 0x6822bf
jmp 0x68237b
cmp al, 0x2b
je 0x6822bf
jne 0x682357
push ebx
rol byte [eax + 0x27], cl
sal byte [eax], cl
adc al, 0x92
add byte [edi - 0x6e], ah
jnp 0x68238a
in eax, 0x75
sbb al, 0xef
or eax, 0xbd11a296
rcl al, 0xc6
inc edx
add bh, byte [0xfffdd2e9]
dec esp
dec eax
fidivr word [ecx - 0x6fea59b8]
push es
popal
nop
jns 0x6822d7
push es
xchg esp, eax
push cs
in al, dx
jb 0x682351
jmp [edi + 0xa]
outsd dx, dword [esi]
or bh, cl
mov al, byte [0x2ff88020]
cmp al, 0x2f
jne 0x682392
jmp 0x6822bf
cmp al, 0x30
jb 0x682316
cmp al, 0x39
jbe 0x6822bf
jmp 0x682316
mov ebx, ebx
push ebp
lds ebp, [edi + ebx*2 - 0x3f38af4c]
add eax, dword [eax + eax]
add cl, ch
lodsb al, byte [esi]
add byte [eax], al
add byte [esi - 7], dh
imul ecx, dword [eax], 0xa30f0dfb
xor edx, dword [esi - 0x5b]
mov eax, 0x403
jmp 0x682449
movsd dword es:[edi], dword [esi]
dec ebx
out dx, al
adc dword [ebx], 0x76
test dword [esi + 0x56], esi
sbb ecx, dword [edx - 0x47ffda7]
inc ecx
mov bl, byte [ecx + 2]
cmp bl, 0x41
jb 0x684622
jae 0x6835c4
jb 0x6823a7
jo 0x6823de
loop 0x68240e
sbb ecx, dword [edx + 0x498a7f18]
sbb dword [ebp + eax*4 + 0x36], edi
push ecx
cmp dl, 0x61
jb 0x68581a
cmp dl, 0x7a
jbe 0x6823b1
cli
jp 0x682457
iretd
jmp 0x68581a
cmp dl, 0x2b
jmp 0x6855ca
invalid
cmp al, 0x2f
jne 0x6824dd
push 0x3f
jmp 0x682493
push esi
cmp dl, 0x2b
jne 0x682685
push 0x3e
jmp 0x682620
pop ebx
ret
sbb cl, byte [eax + 0x9a51aef]
xchg ebp, eax
add eax, 0x3a349f6c
stosd dword es:[edi], eax
cmp ebx, dword [esi - 0x53]
sbb al, 0xc6
pop ss
test byte [eax - 0x7bf0d407], al
dec edi
add dword [eax], eax
add byte [eax - 0x7bf0d007], al
inc esi
add dword [eax], eax
add cl, ch
adc bh, bh
invalid
cmp cl, 0x2b
je 0x6825c3
cmp cl, 0x2f
je 0x6825c3
jmp 0x682392
pop eax
jmp 0x682421
cmp cl, 0x30
jb 0x68246b
cmp cl, 0x39
jbe 0x6825c3
jmp 0x68246b
cmp al, 0x39
ja 0x682573
jbe 0x68253d
invalid
movzx eax, al
add eax, 4
jmp 0x682421
sub eax, 0x47
jmp 0x682421
cmp al, 0x5a
movzx eax, al
ja 0x682554
sub eax, 0x41
jmp 0x682421
cmp al, 0x2b
jne 0x682411
push 0x3e
jmp 0x682493
cmp dl, 0x2f
cmp cl, 0x61
jb 0x6824b5
cmp cl, 0x7a
jbe 0x6825c3
jmp 0x6824b5
cmp bl, 0x2b
je 0x683592
cmp bl, 0x2f
jne 0x682392
jmp 0x683592
cmp bl, 0x30
jb 0x682de6
cmp bl, 0x39
jbe 0x683592
jmp 0x682de6
mov cl, byte [ecx + 3]
cmp cl, 0x41
jb 0x6827b4
cmp cl, 0x5a
jbe 0x6825c3
jmp 0x6827b4
cmp bl, 0x5a
jbe 0x683592
jmp 0x684622
cmp bl, 0x61
jb 0x6831f8
cmp bl, 0x7a
jbe 0x683592
jmp 0x6831f8
je 0x6823b1
cmp dl, 0x2f
jne 0x682392
jmp 0x6823b1
cmp dl, 0x30
jb 0x6823e7
cmp dl, 0x39
jbe 0x6823b1
jmp 0x6823e7
Function at 0x64efc8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x683295
lea esp, [esp + 4]
jmp fcn.0068333f
Function at 0x67b8f1
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x67b904
xor edx, edx
mov ecx, 0x10b
jmp 0x67b9a8
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x67b8c4
xor eax, eax
pop ebp
ret
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret

Function at 0x67b96e
Capabilities:
Enumerate pe sections

Disassembly:
jbe 0x67b941
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x67b9c0
mov ebx, dword [eax + 8]
add ebx, ecx
jmp 0x67b9f7
xor eax, eax
jmp 0x67ba85
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jmp 0x67b912
inc edx
add eax, 0x28
cmp edx, esi
jb 0x67b917
jmp 0x67b941
cmp edi, ebx
jb 0x67ba85
jmp 0x67b9c0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x6e4db7
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
pop ebp
pop ebx
outsb dx, byte [esi]
invalid
add eax, 0x67fd3024
stc
mov bl, 0x8a
mov ebx, 0x917dce7d
xor dword [ebp + 0x6538dc30], 0x35bf15cd
stc
ja 0x6e0d84
xor dl, al
nop
sbb al, 0x4b
mov dh, 0x25
iretd
push eax
jmp 0x6e1d5e
pop eax
sub eax, 0x6e1d63
jmp 0x6e1fbe
call 0x6e1d63
jmp 0x6e1d41
inc dword [eax + 0x646621]
push 0x887a7680
add dword [esp], 0x77e962a5
push 0
push 0
push 0x881d6b3c
add dword [esp], 0x78465ed3
call 0x653bbe
jmp 0x6e4b25
cmp dword [eax + 0x646621], 0
je 0x6e1f7b
lea esp, [esp + 8]
popal
jmp 0x6e0dd3
call 0x6e4b2a
add dword [esp], 0xffffee2f
call fcn.00651974
jmp 0x6e4b6e
call 0x6e4b3d
jmp 0x6e4c46
call 0x652f8f
popal
jmp 0x6e0dd3
movzx ebx, word [eax + 0x3c]
add ebx, eax
cmp word [ebx], 0x4550
je 0x6e1d3e
jmp 0x6e4c51
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
je 0x6e4c11
sub eax, 0x10000
jmp 0x6e4c4a
call 0x6e4db7
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x63694c20
outsb dx, byte gs:[esi]
jae 0x6e4e16
jb 0x6e4dc9
inc esp
insd dword es:[edi], dx
outsd dx, dword [esi]
and byte [esi + 0x31], dh
cmp byte cs:[esi], ch
xor byte [esi], ch
xor byte [eax], al
lea esp, [esp + 4]
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x6e4b38
ror byte [edx + eax*8 - 0x5b], cl
push esp
std
stosb byte es:[edi], al
cmp ebp, dword [ebx + 0x18c3dce]
mov dword [0xaa55633], eax
xor eax, dword [ecx]
test al, 0xf1
or edi, edx
dec ecx
insd dword es:[edi], dx
popal
dec esp
imul esi, dword [ebx + 0x74], 0x7075445f
insb byte es:[edi], dx
imul esp, dword [ebx + 0x61], 0x45006574
fmul dword [esi + 0x29]
fsubr dword [edi + 0x5a]
je 0x6e4ea6
add byte [ebp - 0x28], al
dec esi
sub eax, ebx
outsd dx, dword [esi]
pop edx
clc
outsb dx, byte [esi]
or eax, edi
jg 0x6e4e3f
push ecx
shl dword [eax + 0x1a98d653], 0x88
out dx, eax
sbb cl, dh
or cl, byte [edi + 0x71897a1f]
rcl dword [ecx - 0x3f], cl
mov al, byte [0x57d0b053]
invalid
push edx
mov al, 0x81
adc eax, dword [ebx + 0x23fa15e6]
scasb al, byte es:[edi]
cmp al, 0x5b
mov dh, 0x42
stosd dword es:[edi], eax
aas
scasd eax, dword es:[edi]
retf 0xaf39
Function at 0x411d80
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4838dd
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor edi, edi
cmp dword [ebx + 0x78], edi
jne 0x411dee
push 8
call fcn.00477f49
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x154], edi
je 0x411dca
mov ecx, eax
call fcn.00476bcc
jmp 0x411dcc
xor eax, eax
push 0xff00ff
push edi
push 0x10
push 0x407
mov ecx, eax
mov dword [esp + 0x164], 0xffffffff
mov dword [ebx + 0x78], eax
call fcn.00476c91
mov eax, dword [ebx + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffff0000
push edi
push 0x1101
push eax
mov dword [esp + 0x20], edi
call ebp
mov eax, dword [ebx + 0x40]
lea esi, [ebx + 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x411e3c
lea ecx, [esp + 0x48]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x411f4e
lea edx, [esp + 0x48]
mov ecx, esi
push edx
call fcn.00478345
jmp 0x411e63
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x411e6d
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x1c]
push eax
push 0
push 0x1109
push ecx
call ebp
push eax
call fcn.00476c5e
lea edx, [esp + 0x48]
push 0x4a31e0
push edx
mov esi, 0xffff0000
call fcn.0046936b
add esp, 8
test eax, eax
je 0x411ef0
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
push 0
push 0x1100
push ecx
mov dword [esp + 0x28], 0xffff0002
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], 3
mov dword [esp + 0x2c], 0x23
call ebp
push 0x4a31e0
push 0
mov esi, eax
inc edi
call fcn.0046936b
add esp, 8
test eax, eax
jne 0x411e9c
mov dword [esp + 0x10], edi
mov edx, dword [ebx + 0x1c]
xor edi, edi
push edi
push edi
push 0x110a
push edx
call ebp
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x411f38
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1c]
push esi
push 2
push 0x1102
push eax
mov edi, esi
call ebp
mov ecx, dword [ebx + 0x1c]
push esi
push 4
push 0x110a
push ecx
call ebp
mov esi, eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x411f0d
mov edx, dword [ebx + 0x1c]
push edi
push 9
push 0x110b
push edx
call ebp
push edi
mov ecx, ebx
call fcn.00411f70
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret
Function at 0x411f70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4838fb
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.00477f7d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x411ff2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047573d
mov eax, dword [eax]
push 0x4a31e0
push eax
call fcn.004683b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00478208
test bl, bl
je 0x411ff2
push 0x4a31e0
lea ecx, [esp + 0xc]
call fcn.00478598
push 0x4a6de0
lea ecx, [esp + 0xc]
call fcn.00478598
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 0x41202e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00478208
jmp 0x4120f9
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 0x4120b2
lea edx, [esp + 0x7c]
push 0x4a6ddc
push edx
call fcn.004683b4
add esp, 8
test eax, eax
je 0x4120b2
lea eax, [esp + 0x7c]
push 0x4a6dd8
push eax
call fcn.004683b4
add esp, 8
test eax, eax
je 0x4120b2
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 0x412042
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.00478208
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 0x4128f0
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 0x412952
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 0x412960
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48397b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b2bc8]
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 0x412a98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4129c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00478208
xor eax, eax
jmp 0x412b0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00478345
push esi
lea ecx, [esp + 0xc]
call fcn.004785d4
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 0x412aed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004128f0
test eax, eax
jne 0x412aed
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.004128f0
test eax, eax
jne 0x412aed
lea eax, [esp + 0x14]
push 0x4a6df4
push eax
call fcn.004694a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x412acc
lea ecx, [esp + 0x14]
push 0x4a6df0
push ecx
call fcn.00469420
mov esi, eax
add esp, 8
test esi, esi
jne 0x412acc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x412acf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004782f5
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4129de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00478208
xor eax, eax
jmp 0x412b0f
mov byte [esi], 0
push 0x4a6dec
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.00478208
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 0x424170
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 0x4241de
cmp si, 0x69
ja 0x4241de
add esi, 0xffd0
cmp si, 0x11
je 0x4241ae
push 0x11
call edi
test ax, ax
jge 0x4241ae
or esi, 0x2000
cmp si, 0x10
je 0x4241c3
push 0x10
call edi
test ax, ax
jge 0x4241c3
or esi, 0x4000
cmp si, 0x12
je 0x4241d8
push 0x12
call edi
test ax, ax
jge 0x4241d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4241eb
mov esi, 0xbd
jmp 0x42419f
cmp si, 0x6e
jne 0x4241f8
mov esi, 0xbe
jmp 0x42419f
cmp si, 0x6f
jne 0x424199
mov esi, 0xbf
jmp 0x42419f

Function at 0x4261b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4c3308]
xor edx, edx
cmp eax, edx
jne 0x4261d6
xor eax, eax
mov byte [eax + 0x4c3208], al
inc eax
cmp eax, 0x100
jl 0x4261be
mov dword [0x4c3308], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4c3208
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x426267
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 0x42623a
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 0x426208
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4262e0
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 0x426333
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 0x42631a
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 0x42cd70
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 0x42cf08
cmp ebp, ebx
jle 0x42cf08
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 0x42cdce
dec eax
or eax, 0xfffffff8
inc eax
je 0x42cdd5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x42cde4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42cdeb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00477f49
add esp, 4
cmp eax, ebx
je 0x42ce0c
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.00477f49
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 0x42cefe
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 0x42cee5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42ced1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42cec6
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 0x42ced4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42ced4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42ce70
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 0x42ce61
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
Function at 0x430150
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x484fe8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x430189
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.0047f8f6
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0047f942
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00430210
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0047f97f
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24