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

Disassembly:
mov dl, byte [ecx + 0x6a037403]
xlatb
rol dword [ecx], cl
scasd eax, dword es:[edi]
jle 0x44fa0b
test byte [eax - 0x42], ah
invalid
sub ah, byte [ecx + 0x3ecf9bdb]
dec edi
cmp ah, dl
push esp
xchg ecx, eax
mov edx, 0x88e7d459
les esi, [ecx + 8]
cmp esp, edi
push ecx
mov dword [ecx], ecx
xchg edi, eax
xchg ecx, eax
rol byte [ecx], 0xa3
add dl, byte [esp + eax - 0x3476ca97]
out dx, al
test ebx, ebp
loopne 0x44fa84
xlatb
jl 0x44f9ff
das
inc eax
clc
push edx
int3
cld
mov byte [edi + esi*2 - 0x4518f21a], al
xchg esi, eax
mov ebp, 0x4e8498da
dec esi
js 0x44f9f6
mov ecx, 0x4ef13977
xchg edi, eax
mov ebx, 0xfaa35447
in al, 0x5e
cmp eax, 0x41a9b99d
mov byte [edi - 0x7f2aafb7], dh
cmp bl, byte [esi + edi*8 - 0x6d]
int3
sub dword [eax + 0x6e750ef], 0x63
push eax
call 0x70f38962
pop ds
invalid
arpl word [eax - 0x18], dx
ror byte [esi + 0x621f70ae], 1
les edi, [eax + 9]
insb byte es:[edi], dx
je 0x44fa62
imul esi, dword [esi + ebx - 0x7638bb18], 0x1f9221a
pop ss
or ah, bl
mov al, 0xe4
jmp 0xa51d6ede
imul esi, dword [edx], 0xadd57949
ret 0x8269
fisttp word [edx + 0x7e]
loope 0x44fab4
pop ds
or dword [ecx], edx
and dh, byte [edx]
pop esp
sub cl, byte [esi]
jg 0x44fa55
push edx
jl 0x44fa8b
cmp dword [ebx + 0x4f23645e], edx
cmp dword [ecx + 0xdf00a5], edi
call 0xff25e2dd
sbb byte [edi], 0x55
mov dword ds:[edi + 0x66], esi
invalid

Function at 0x45caaa
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push dword [ebp + 8]
lea eax, [ebx + 0x90]
push eax
call fcn.0046a4d6
mov eax, dword [ebp + 0xc]
and dword [ebp + 0xc], 0
mov dword [ebx + 0x94], eax
lea eax, [ebp - 4]
push eax
lea esi, [ebx + 0x60]
push 0
lea edi, [ebp - 8]
lea eax, [ebp - 0xc]
mov ecx, esi
call fcn.00468c36
test eax, eax
je 0x45caf4
push 0
call fcn.004683ab
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
lea edi, [ebx + 4]
push edi
push 0x5c
push 0x11
call dword [0x4970f8]
push eax
call dword [fcn.004970d8]
mov eax, dword [ebx + 0x94]
push dword [ebx + 0x90]
mov dword [edi], eax
lea eax, [ebx + 0x20]
push 0x20
push eax
call sym.imp.ADVAPI32.dll_RegSetValueExW
add esp, 0xc
push 0x4a194c
lea eax, [ebx + 0x90]
push eax
call fcn.00466322
test eax, eax
je 0x45cb55
push 0x4a196c
lea eax, [ebx + 0x90]
push eax
call fcn.00466322
test eax, eax
je 0x45cb55
mov byte [ebx + 0x1e], 4
jmp 0x45cb59
mov byte [ebx + 0x1e], 5
push edi
call dword [fcn.004970a4]
push 0
mov edi, eax
call fcn.004683ab
cmp dword [ebp + 0xc], 0
mov dword [eax], edi
je 0x45cb7a
push dword [ebp + 0xc]
call dword [int.004970e8]
push dword [ebp + 8]
lea esi, [ebx + 0x98]
push esi
call fcn.0046a4d6
mov ecx, esi
call fcn.0045c165
pop edi
pop esi
leave
ret 8
Function at 0x45e0bb
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4933c6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4bf2d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.0045e2ae
mov esi, dword [ebp + 8]
mov ecx, eax
lea eax, [esp + 0x14]
push eax
add ecx, 8
lea edi, [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.00468e03
xor ebx, ebx
cmp eax, ebx
jne 0x45e269
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push dword [ebp + 0xc]
mov dword [esp + 0x3c], ebx
call fcn.0045e2ae
mov ecx, eax
lea eax, [esp + 0x18]
add ecx, 0x38
push eax
call int.00465ae2
mov byte [esp + 0x40], 1
mov esi, dword [eax]
push ebx
push esi
xor edi, edi
call 0x4b73d7
add esp, 0x10
test eax, eax
jne 0x45e184
push esi
call fcn.0045b76d
mov esi, eax
cmp esi, ebx
pop ecx
je 0x45e184
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esi + 8], ebx
je 0x45e16f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x45e184
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x45e17d
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [esp + 0x28], esi
inc edi
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x14]
cmp edi, ebx
sete byte [esp + 0x13]
add eax, 0xfffffff0
call int.0046a316
cmp byte [esp + 0x13], bl
je 0x45e1b4
push dword [ebp + 0x14]
lea eax, [esp + 0x24]
push eax
push dword [ebp + 8]
call fcn.0045e2eb
add esp, 0xc
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x45e224
push 0x14
call fcn.004b6644
cmp eax, ebx
pop ecx
je 0x45e1de
mov dword [eax + 4], ebx
mov dword [eax], 0x4a2934
mov dword [eax + 0x10], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov edi, eax
jmp 0x45e1e0
xor edi, edi
cmp edi, ebx
je 0x45e224
push esi
push edi
call fcn.0045d811
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
push eax
call fcn.0045d8d9
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0045da02
add esp, 0x18
call fcn.0045e2ae
mov ebx, eax
mov eax, dword [ebp + 8]
add ebx, 8
call fcn.004684d0
mov dword [eax], edi
xor ebx, ebx
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x45e23b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x45e24d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x20], ebx
je 0x45e290
push dword [esp + 0x20]
call dword [fcn.00497258]
push dword [esp + 0x20]
call dword [fcn.00497250]
jmp 0x45e290
mov edi, dword [eax + 4]
push dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
call fcn.0045d8d9
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0045da02
add esp, 0x18
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ecx + 4], ebx
setne al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474cbb
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4933c6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4bf2d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.00474eae
mov esi, dword [ebp + 8]
mov ecx, eax
lea eax, [esp + 0x14]
push eax
add ecx, 8
lea edi, [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.0047fa03
xor ebx, ebx
cmp eax, ebx
jne 0x474e69
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push dword [ebp + 0xc]
mov dword [esp + 0x3c], ebx
call fcn.00474eae
mov ecx, eax
lea eax, [esp + 0x18]
add ecx, 0x38
push eax
call fcn.0047c6e2
mov byte [esp + 0x40], 1
mov esi, dword [eax]
push ebx
push esi
xor edi, edi
call 0x4cdfd7
add esp, 0x10
test eax, eax
jne 0x474d84
push esi
call fcn.0047236d
mov esi, eax
cmp esi, ebx
pop ecx
je 0x474d84
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esi + 8], ebx
je 0x474d6f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x474d84
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x474d7d
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [esp + 0x28], esi
inc edi
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x14]
cmp edi, ebx
sete byte [esp + 0x13]
add eax, 0xfffffff0
call fcn.00480f16
cmp byte [esp + 0x13], bl
je 0x474db4
push dword [ebp + 0x14]
lea eax, [esp + 0x24]
push eax
push dword [ebp + 8]
call fcn.00474eeb
add esp, 0xc
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x474e24
push 0x14
call 0x4cd244
cmp eax, ebx
pop ecx
je 0x474dde
mov dword [eax + 4], ebx
mov dword [eax], 0x4a2934
mov dword [eax + 0x10], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov edi, eax
jmp 0x474de0
xor edi, edi
cmp edi, ebx
je 0x474e24
push esi
push edi
call fcn.00474411
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
push eax
call fcn.004744d9
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.00474602
add esp, 0x18
call fcn.00474eae
mov ebx, eax
mov eax, dword [ebp + 8]
add ebx, 8
call fcn.0047f0d0
mov dword [eax], edi
xor ebx, ebx
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x474e3b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x474e4d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x20], ebx
je 0x474e90
push dword [esp + 0x20]
call dword [fcn.00497258]
push dword [esp + 0x20]
call dword [fcn.00497250]
jmp 0x474e90
mov edi, dword [eax + 4]
push dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
call fcn.004744d9
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.00474602
add esp, 0x18
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ecx + 4], ebx
setne al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47b5c5
Capabilities:
Encode data using xor

Disassembly:
xchg edi, eax
add ah, al
pop es
out 0xb6, eax
call 0x9a4b8314
push ss
fcmovbe st(0), st(0)
inc ebp
cdq
inc ebx
invalid
Function at 0x48bb5b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4933c6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4bf2d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.0048bd4e
mov esi, dword [ebp + 8]
mov ecx, eax
lea eax, [esp + 0x14]
push eax
add ecx, 8
lea edi, [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.004968a3
xor ebx, ebx
cmp eax, ebx
jne 0x48bd09
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push dword [ebp + 0xc]
mov dword [esp + 0x3c], ebx
call fcn.0048bd4e
mov ecx, eax
lea eax, [esp + 0x18]
add ecx, 0x38
push eax
call fcn.00493582
mov byte [esp + 0x40], 1
mov esi, dword [eax]
push ebx
push esi
xor edi, edi
call 0x4e4e77
add esp, 0x10
test eax, eax
jne 0x48bc24
push esi
call fcn.0048920d
mov esi, eax
cmp esi, ebx
pop ecx
je 0x48bc24
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esi + 8], ebx
je 0x48bc0f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x48bc24
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x48bc1d
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [esp + 0x28], esi
inc edi
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x14]
cmp edi, ebx
sete byte [esp + 0x13]
add eax, 0xfffffff0
call int.00497db6
cmp byte [esp + 0x13], bl
je 0x48bc54
push dword [ebp + 0x14]
lea eax, [esp + 0x24]
push eax
push dword [ebp + 8]
call fcn.0048bd8b
add esp, 0xc
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x48bcc4
push 0x14
call 0x4e40e4
cmp eax, ebx
pop ecx
je 0x48bc7e
mov dword [eax + 4], ebx
mov dword [eax], 0x4a2934
mov dword [eax + 0x10], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov edi, eax
jmp 0x48bc80
xor edi, edi
cmp edi, ebx
je 0x48bcc4
push esi
push edi
call fcn.0048b2b1
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
push eax
call fcn.0048b379
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0048b4a2
add esp, 0x18
call fcn.0048bd4e
mov ebx, eax
mov eax, dword [ebp + 8]
add ebx, 8
call fcn.00495f70
mov dword [eax], edi
xor ebx, ebx
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x48bcdb
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x48bced
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x20], ebx
je 0x48bd30
push dword [esp + 0x20]
call dword [fcn.00497258]
push dword [esp + 0x20]
call dword [fcn.00497250]
jmp 0x48bd30
mov edi, dword [eax + 4]
push dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
call fcn.0048b379
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0048b4a2
add esp, 0x18
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ecx + 4], ebx
setne al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4966d6
Capabilities:
Encode data using xor

Disassembly:
mov bl, 2
aaa
jmp 0xb50fcaaf
xchg dword [ebx - 0x3d], ebp
adc dl, ch
daa
xlatb
clc
inc ebx
xor dword [edi - 0x7120393d], ebp
loop 0x4966d9
xor bl, al
and ecx, edx
std
pushal
mov ecx, 0x3a54fff1
and al, byte [ecx + 0x9b733e9]
adc al, 0xc0
ficom word [esi - 0x7ad006c1]
adc bl, byte [eax - 0x3f]
out 0x43, eax
mov edx, 0xdd1405c7
add dword [edi], ebp
aam 0x31
or dword [esi - 0x2ccfc811], esi
lea esi, [edx]
sbb ecx, ebp
inc ebp
inc edi
and byte [esi + 0x4f47d296], dh
jp 0x4966b1
ror byte [ebx + 0x56], 1
mov ch, 0x37
xchg ecx, eax
mov eax, 0x1d0d8b19
sar byte [esi - 0x6d], 1
ja 0x496776
jno 0x496745
stc
int3
movsd dword es:[edi], dword [esi]
popal
leave
mov esi, 0xddeed1d9
inc edi
invalid
adc byte [ecx + 0xd2105e3], 0x11
jbe 0x4967f8
out 0xd5, eax
pop eax
inc edi
insb byte es:[edi], dx
adc byte [ecx - 0xe66f84a], 0x2a
test ecx, ecx
push eax
sub edi, edi
out dx, al
mov ecx, 0x29aa0bbe
lodsd eax, dword [esi]
in al, 0xc0
dec esi
jo 0x4967fb
loope 0x4967cf
or dword [ebx + eax*8 + 0x11be8c35], esp
and byte [ebp - 0x4c72e39], al
rol byte [eax + 0x32c9b894], 0x48
invalid
das
int3
invalid
inc eax
push eax
test eax, 0x77b0dc5a
mov edi, 0x802620b8
inc edx
into
mov ebp, 0xa6d61632
add dword [edi + 0x77], 0x59
into
pop ss
sub eax, 0x8e77a3d6
add edi, dword [eax - 0x3c]
jns 0x49684c
cli
popal
repne lodsd eax, dword [esi]
xor ch, byte [edx]
ret
ret
Function at 0x44ba10
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
mov dword [esi], 0
mov eax, dword [0x7d5a8c]
push eax
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
mov cl, byte [0x7d204a]
mov dl, byte [0x7d204d]
mov eax, dword [0x7d2034]
mov edi, dword [0x7d2030]
and dl, cl
mov ecx, dword [0x7d2038]
mov byte [0x7d204d], dl
mov edx, eax
shr edx, 2
sub edi, edx
xor edx, edx
mov dl, byte [0x7d2043]
or ecx, 7
imul ecx, edx
mov dword [0x7d2030], edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
and eax, ecx
push 0x10
mov dword [0x7d2034], eax
call edi
test ax, ax
jge 0x44ba87
or dword [esi], 0x2000000
mov eax, dword [0x7d2030]
mov ecx, dword [0x7d2034]
shr eax, 0xc
or eax, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
push 0x11
fild qword [esp + 0xc]
fadd qword [0x7d2050]
fstp qword [0x7d2050]
call edi
test ax, ax
jge 0x44bac2
or dword [esi], 0x4000000
push 0x12
call edi
test ax, ax
jge 0x44bad1
or dword [esi], 0x8000000
mov eax, esi
pop edi
pop esi
add esp, 8
ret 4

Function at 0x7c85dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7d2378
cmp edx, dword [eax]
je 0x7c85ff
add eax, 8
inc ecx
cmp eax, 0x7d2408
jl 0x7c85f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7d2378]
jne 0x7c872d
mov eax, dword [0xbd9cd0]
cmp eax, 1
je 0x7c8707
test eax, eax
jne 0x7c8630
cmp dword [0x7d22a4], 1
je 0x7c8707
cmp edx, 0xfc
je 0x7c872d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c8667
lea eax, [ebp - 0x1a4]
push 0x7cddc0
push eax
call fcn.007c8fc0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c9450
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c86aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c9450
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7cddbc
push edi
call fcn.007cb320
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7cdda0
push eax
call fcn.007c8fc0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c8fd0
lea eax, [ebp - 0xa0]
push 0x7cdd9c
push eax
call fcn.007c8fd0
push dword [esi + 0x7d237c]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c8fd0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7cdd74
push eax
call fcn.007cb294
add esp, 0x2c
pop edi
jmp 0x7c872d
lea eax, [ebp + 8]
lea esi, [esi + 0x7d237c]
push 0
push eax
push dword [esi]
call fcn.007c9450
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 0x469b90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xa8fd58]
xor edx, edx
cmp eax, edx
jne 0x469bb6
xor eax, eax
mov byte [eax + 0xa8fc58], al
inc eax
cmp eax, 0x100
jl 0x469b9e
mov dword [0xa8fd58], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xa8fc58
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x469c47
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 0x469c1a
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 0x469be8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x469c50
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 0x469ca3
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 0x469c8a
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 0x46e010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x46e231
cmp eax, 8
jg 0x46e231
cmp dword [esp + 0x8c], 2
jl 0x46e231
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x46e231
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x46e231
mov eax, dword [esp + 0x80]
test eax, eax
je 0x46e097
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x46e21a
mov ebp, dword [0x54c6a4]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x46e0c9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x46e201
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x46e0e9
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x54c694]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x46e128
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x54c698]
lea ecx, [esp + 0x28]
push ecx
call dword [0x54c6d8]
test eax, eax
jne 0x46e1e8
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.0046d620
cmp eax, 1
jne 0x46e212
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0046ded0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x46e0dd
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x46e21a
jmp 0x46e0b4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.0046d220
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x470cb0
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 0x470e48
cmp ebp, ebx
jle 0x470e48
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 0x470d0e
dec eax
or eax, 0xfffffff8
inc eax
je 0x470d15
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x470d24
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x470d2b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00536b7d
add esp, 4
cmp eax, ebx
je 0x470d4c
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.00536b7d
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 0x470e3e
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 0x470e25
mov al, byte [edx]
cmp al, 0xc0
jbe 0x470e11
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x470e06
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 0x470e14
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x470e14
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x470db0
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 0x470da1
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