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

Disassembly:
setge dh
sub esp, 4
stc
inc di
jmp 0x112514c3
push edx
mov edi, dword [esp + 4]
jmp 0x11251ce5
mov dword [esp], eax
lea esp, [esp + 3]
jmp 0x1125146f
jle 0x1122eca4
mov di, word [esp]
jmp 0x112514b6
lea esp, [esp + 4]
cmp eax, 1
jmp 0x11251459
mov ecx, 0xff
jmp 0x1122ec80
lea ecx, [eax - 1]
mov edx, dword [esp]
not edx
mov dword [ebp - 4], ecx
jmp 0x1125149e
lea esp, [esp + 4]
movzx ebx, byte [esi + 0x11]
lea edx, [eax*4]
jmp 0x11251517
rcl dh, 1
mov edx, dword [esi]
mov di, 0x85a9
mov edi, 0xb6645590
call fcn.11251540
cmp dword [edx - reloc.mscoree.dll__CorExeMain], edi
sbb esi, dword [edx + 0x6d]
jl 0x11251566
mov ebx, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
btr edx, ebx
mov di, 0x3f71
add esi, 0x10
jmp 0x112514fa
shr edi, 0x18
push esp
sub esp, 0
jmp 0x1125156c
lea esp, [esp + 2]
jmp 0x11251542
push ecx
mov ecx, edi
lea ecx, [ecx*4]
jmp 0x1125157c
lea ecx, reloc.mscoree.dll__CorExeMain
mov edi, dword [ecx]
pop ecx
pushal
jmp 0x112515e2
and ebx, ecx
jmp 0x112515f1
mov edi, dword [edi*4 + reloc.mscoree.dll__CorExeMain]
jmp 0x112515b3
and edi, ecx
sub esp, 0x1e
pop dword [esp + 0x10]
lea esp, [esp + 2]
jmp 0x112515c9
lea esp, [esp + 0x4c]
xor edi, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
movzx ebx, byte [esi + 2]
jmp 0x11251652
and ebx, ecx
sub esp, 0x1c
lea esp, [esp + 0x3c]
xor edi, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
jmp 0x112516aa
mov ebx, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
pushal
jmp 0x1125162f
sub bl, ah
movzx ebx, byte [esi + 5]
sub esp, 8
call fcn.11251687
shr edi, 0x18
call 0x112516c1
js 0x11251728
mov dword [esp], edi
call fcn.11251750
pop edx
fisttp word [edi + 0x2a]
fstpnce st(0), st(0)
mov al, 0x30
cmpsb byte [esi], byte es:[edi]
sal dword [eax], 0x36
lodsd eax, dword [esi]
pop dword [esp + 0x10]
push word [esp + 0x11]
add esp, 0x15
lea esp, [esp + 1]
jmp 0x112516b8
salc
mov cl, 0x40
dec ebp
jnp 0x1125172b
insd dword es:[edi], dx
hlt
lea esp, [esp + 8]
pop esi
lea ebx, [ebp - 0x57]
mov ebx, dword [esp]
call 0x11251cf6
mov ch, al
push edi
add byte [eax], al
add byte [eax], ah
movsd dword es:[edi], dword [esi]
xor eax, 0x52a0af5c
salc
inc esp
and ebx, esi
mov esi, 0xbedb4bc0
dec ebp
pop eax
outsb dx, byte [esi]
lea esp, [esp + 0x40]
jne 0x1122ec80
je 0x1122eca4
test byte [esi + 0x71fffdcf], al
stc
jno 0x11251d19
imul ecx, dword [eax], reloc.mscoree.dll__CorExeMain
dec eax
das
ficomp dword [ebp - 0x45]
xchg edx, eax
or eax, 0x7e89ef9c
or al, 0x60
pop dword [esp + 0xe]
push edx
pushal
jmp 0x11251d0e

Function at 0x112517a0
Capabilities:
Encrypt data using aes

Disassembly:
mov dword [esi], edi
mov ebx, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
mov edi, edx
pushal
jmp 0x112516d7
mov edx, dword [esi + 4]
sub esp, 0x1a
mov word [esp + 0xc], di
cmc
lea esp, [esp + 2]
jmp 0x112516ef
lea esp, [esp + 0x1c]
xor edi, dword [edx*4 + reloc.mscoree.dll__CorExeMain]
jmp 0x1125170f
Function at 0x11251af4
Capabilities:
Encrypt data using aes

Disassembly:
push word [esp + 1]
lea esp, [esp + 2]
jmp 0x11251b47
mov edx, dword [esi + 0xc]
stc
jmp 0x11251b75
sub esp, 0
lea esp, [esp + 0x20]
xor edi, dword [edx*4 + reloc.mscoree.dll__CorExeMain]
rol dh, 3
jmp 0x11251b12
mov edx, dword [edx*4 + reloc.mscoree.dll__CorExeMain]
stc
sub esp, 0x18
and edx, ecx
jmp 0x11251b28
lea esp, [esp + 1]
mov ebx, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
mov edi, 0xdb687c6a
bsf di, ax
bsf di, si
jmp 0x11251b82
mov dword [esi + 8], edi
push esp
stc
sub esp, 0x1a
add esp, 0x11
jmp 0x11251b56
mov di, word [esp]
mov edi, edx
pushal
push dword [esp + 0x16]
call fcn.11251c01
cmp bh, byte [edx + edx*2 + 0x9e0c435]
test al, 0xcb
bound ebx, qword [ebp + 0x5729a292]
and eax, 0xfb7de6c6
leave
xchg edi, eax
into
push esp
mov edx, 0x7b36da80
mov ah, 0x6c
inc ebp
sub ecx, edx
push edx
cli
stc
invalid

Function at 0x11251b0c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
movzx ebx, byte [esi + 0xa]
sub esp, 0x1a
lea esp, [esp + 0xf]
call fcn.11251ac9
insd dword es:[edi], dx
out 0x74, al
adc ebp, esi
imul edx, dword [edi - reloc.mscoree.dll__CorExeMain], 0x648dcb21
and al, 0x50
and ebx, ecx
lea esp, [esp + 0x50]
xor edi, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
lea ebx, [eax - 0x91]
jmp 0x11251a00
mov edi, dword [edi*4 + reloc.mscoree.dll__CorExeMain]
jmp 0x11251a1b
lea esp, [esp + 0xf]
add esp, 0xd
and edi, ecx
pushal
jmp 0x11251a35
pushal
jmp 0x11251a50

Function at 0x11251bc7
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov edi, dword [edi*4 + reloc.mscoree.dll__CorExeMain]
call 0x11251bc7
in al, dx
pop word [esp]
lea esp, [esp + 1]
lea esp, [esp + 1]
jmp 0x11251be9

Function at 0x11251cb4
Capabilities:
Encrypt data using aes

Disassembly:
mov word [esp], bx
lea esp, [esp + 3]
lea esp, [esp]
lea esp, [esp + 1]
jmp 0x11251d2f
mov dword [esi + 0xc], edi
pushal
Function at 0x11317396
Capabilities:
Parse pe header

Disassembly:
pop word [esp + 5]
mov word [esp + 0xa], di
lea esi, reloc.mscoree.dll__CorExeMain
jmp 0x11316602
rcl bp, cl
pop ax
push dword [esp + 4]
sub esp, 0x1c
setne dh
not cx
jmp 0x11316645
xchg byte [esp + 0x10], cl
mov ecx, dword [esp + 0xd]
mov cl, 0x5a
mov ebx, ebp
sub esp, 8
jmp 0x113165e4
btc esi, edi
cld
inc dl
push edx
bsf cx, si
pop edi
jmp 0x113166db
cmc
pop word [esp + 0x13]
mov cl, 0x8a
lea esp, [esp + 0x37]
pop word [esp]
cmc
jmp 0x11316628
pop dword [esp]
xchg dx, bx
mov byte [esp + 1], dh
lea esp, [esp + 4]
add esp, 0
mov byte [esp], dh
jmp 0x11316683
bswap esi
mov dx, 0xd905
mov cl, 0xf2
add eax, ebp
xchg edi, esi
neg ebx
jmp 0x11316658
inc esi
mov si, word [esp]
lea ebp, [eax + edi]
lea edi, [eax*4]
jmp 0x113166c2
push word [esp + 1]
xchg ch, dl
cld
push word [esp + 5]
cld
neg ecx
jmp 0x11316673
sub esp, 0x18
mov bx, word [esp + 0x14]
mov si, sp
xchg byte [esp + 0x10], al
jmp 0x1131670b
mov byte [esp], bh
setno bh
lea ebx, [esi + edi]
btc edx, ebx
add esp, 0
mov ax, word [esp]
jmp 0x113166ab
mov ebp, ecx
lea ebp, [ebx + edi]
push word [esp + 2]
bsf di, si
mov edi, dword [esp + 3]
mov bp, word [esp]
jmp 0x11316699
pop word [esp + 0xc]
xchg dword [esp + 6], ecx
lea ebp, [edi + ebp]
xchg edi, ebx
lea esp, [esp + 0x17]
jmp 0x11316720
mov bx, word [esp + 8]
lea ecx, [esi + 0x85]
push esp
xchg byte [esp + 8], al
pop dx
push esp
jmp 0x113166f3
pop word [esp + 1]
inc cx
inc dl
xchg ah, bl
pop ebp
ror ecx, 0x19
jmp 0x113168dc
xchg si, di
mov dx, sp
xchg ch, dl
mov eax, dword [esp]
mov ax, word [esp]
cmc
jmp 0x11316781
sub esp, 0
mov ebp, ecx
lea edi, [esi - 0xa5]
mov edi, dword [esp]
cmc
lea eax, [ebx + ebx]
jmp 0x11316748
neg ax
mov bp, dx
push edx
mov esi, dword [esp + 1]
push dword [esp + 2]
jmp 0x11316829
mov esi, ebp
lea edx, [esi - 0x35]
add ebp, ebp
btc esi, edi
xchg ah, bl
not ecx
jmp 0x1131676d
inc bl
push dword [esp + 6]
call fcn.113167d8
mov ecx, dword [esp + 0x29]
shl ax, cl
rcr ah, 1
pop edx
add al, dh
xchg ebp, ebx
jmp 0x113168bf
lea esi, [edx*4]
stc
push word [esp + 0x31]
mov cl, ch
xchg esi, edi
jmp 0x113168a7
mov dh, byte [esp + 2]
add al, dh
mov ebx, dword [esp + 0x37]
rol cx, cl
setae dh
xchg dword [esp + 0x35], edx
jmp 0x1131738c
and ax, 0x5662
cld
mov word [esp + 0x12], di
lea eax, [edx + ebx]
mov cl, 0x7a
jmp 0x1131688c
xchg di, bx
neg dh
mov ax, word [esp + 3]
not dx
mov ebp, 0x91aa2b14
jmp 0x11316844
bsf ax, si
lea ebx, [edi + ebp]
mov dl, byte [esp]
mov bp, 0x3a51
lea ebx, [esi - 0x65]
mov cx, dx
jmp 0x11316797
bswap edx
mov di, dx
call fcn.11316b31
lea esp, [esp + 3]
mov byte [esp], dh
call fcn.113173d2
add al, byte [ecx - 0x237c8fef]
les eax, [edx - 0x30]
mov bh, 0x42
or al, 0x83
Function at 0x113173b8
Capabilities:
Parse pe header

Disassembly:
push esp
mov byte [esp + 1], dh
call 0x1130dca9
mov dx, bp
jmp 0x1130dfe7
mov bx, 0xe669
jmp 0x1130fd0d
lea eax, [esi*4]
dec eax
jle 0x1130dfcf
mov bx, 0xe669
jmp 0x1130fd0d
jp 0x1130e019
mov edx, 0x1816029c
stc
jmp 0x1130e01f
mov edx, 0x1816029c
stc
jmp 0x1130e3c3
xchg edx, ebx
mov ebx, dword [eax]
mov dh, 0xe6
sub esp, 0x14
jmp 0x1130dffc
mov dword [esi], ebx
mov dh, 0xca
mov dl, byte [esp]
mov edx, 0xc05ad660
push esp
jmp fcn.1122b696
jmp 0x1130e04a
mov eax, dword [esi]
mov edx, dword [esp]
mov bx, word [esp]
dec dx
jne 0x1130e659
xchg edx, ebx
jmp 0x1130e04c
inc dword [eax + 0x1130c029]
pushfd
cmc
stc
call fcn.11313f2d
sub al, 0xaf
aas
pop edx
test eax, 0x56c04230
xor eax, eax
int1
std
int3
push eax
jmp 0x11314040
call 0x11314045
jmp 0x1131547e
lea esp, [esp + 4]
jmp 0x113154be
lea eax, [esi*4]
lea eax, [edx + edi]
push edx
pop eax
mov eax, dword [esp]
jmp 0x11315466
sub eax, 0x11314045
cmp dword [eax + reloc.mscoree.dll__CorExeMain], 0
jmp 0x1131552d
je 0x11313ee0
lea esp, [esp + 8]
popal
jmp 0x1130ddaa
movzx ebx, word [eax + 0x3c]
jmp 0x11317622
jmp 0x1131742e
pop dword [esp]
call fcn.113173ba
mov dword [esp + 4], eax
push edx
mov word [esp], di
lea esp, [esp + 3]
mov byte [esp], bh
lea esp, [esp]
jmp 0x11317658
cmp word [eax], 0x5a4d
jmp 0x1131769b
add ebx, eax
jmp 0x113176b3
push esp
mov byte [esp + 1], bh
push word [esp + 4]
mov dword [esp], esi
push dword [esp + 5]
call fcn.113174e5
insd dword es:[edi], dx
in al, dx
bound eax, qword [0xf97da9f4]
imul ecx, dword [eax], reloc.mscoree.dll__CorExeMain
dec eax
das
fisub dword [edi - reloc.mscoree.dll__CorExeMain]
cmp eax, eax
xchg ebp, eax
adc byte [esi + 0xd9710e1], al
lea ebx, reloc.mscoree.dll__CorExeMain
push ds
mov ebx, gs
add bh, ch
mul cl
je 0x11316158
sub eax, 0x10000
jmp 0x113175fc
cmp word [ebx], 0x4550
je 0x11313efc
jne 0x113176a1
div byte [ebp - 0x1b]
invalid

Function at 0x1131740b
Capabilities:
Parse pe header

Disassembly:
pop dword [esp]
mov word [esp], bx
push edx
lea esp, [esp + 0xc]
popfd
mov dword [esp], esi
push dword [esp + 2]
push dword [esp + 6]
jmp 0x113173ef

Function at 0x113175d0
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
mov word [esp + 4], bx
mov dword [esp + 0x34], edi
lea esp, [esp + 0x34]
jmp 0x11317614
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x113175ed

Function at 0x113175e8
Capabilities:
Parse pe header

Disassembly:
call fcn.1131612d
call 0x113175b9
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x11316128
Function at 0x401ff5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
call fcn.00401f2f
push 0x13
pop eax
xor esi, esi
mov dword [ebp - 0x2c], 2
push esi
push esi
push esi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0x23
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], 0xd
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 0x10], 0xa
mov dword [ebp - 0xc], 0xb
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xf
call dword [0x40e008]
call dword [0x40e01c]
cmp eax, 0x57
je 0x402066
push esi
call dword [0x40e024]
mov ecx, esi
mov edx, esi
mov al, byte [ebp + ecx*4 - 0x2c]
xor byte [edx + 0x414250], al
inc ecx
xor eax, eax
cmp ecx, 0xb
cmove ecx, eax
inc edx
cmp edx, 0x13000
jb 0x40206a
call fcn.00401e43
push esi
test eax, eax
jne 0x402060
call dword [0x40e018]
int3
Function at 0x409940
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47165b
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.00464232
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4099c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00461cb0
mov eax, dword [eax]
push 0x5c1200
push eax
call fcn.004546f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004644bd
test bl, bl
je 0x4099c2
push 0x5c1200
lea ecx, [esp + 0xc]
call fcn.00464899
push 0x5c4d6c
lea ecx, [esp + 0xc]
call fcn.00464899
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 0x4099fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004644bd
jmp 0x409ac9
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 0x409a82
lea edx, [esp + 0x7c]
push 0x5c4d68
push edx
call fcn.004546f4
add esp, 8
test eax, eax
je 0x409a82
lea eax, [esp + 0x7c]
push 0x5c4d64
push eax
call fcn.004546f4
add esp, 8
test eax, eax
je 0x409a82
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 0x409a12
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.004644bd
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 0x40a2c0
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 0x40a322
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 0x40a330
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4716db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5cbe80]
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 0x40a468
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a396
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004644bd
xor eax, eax
jmp 0x40a4df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00464646
push esi
lea ecx, [esp + 0xc]
call fcn.004648d5
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 0x40a4bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040a2c0
test eax, eax
jne 0x40a4bd
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.0040a2c0
test eax, eax
jne 0x40a4bd
lea eax, [esp + 0x14]
push 0x5c4d80
push eax
call fcn.004557d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a49c
lea ecx, [esp + 0x14]
push 0x5c4d7c
push ecx
call fcn.00455750
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a49c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a49f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004645f6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a3ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004644bd
xor eax, eax
jmp 0x40a4df
mov byte [esi], 0
push 0x5c4d78
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.004644bd
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 0x41af60
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 0x41afce
cmp si, 0x69
ja 0x41afce
add esi, 0xffd0
cmp si, 0x11
je 0x41af9e
push 0x11
call edi
test ax, ax
jge 0x41af9e
or esi, 0x2000
cmp si, 0x10
je 0x41afb3
push 0x10
call edi
test ax, ax
jge 0x41afb3
or esi, 0x4000
cmp si, 0x12
je 0x41afc8
push 0x12
call edi
test ax, ax
jge 0x41afc8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41afdb
mov esi, 0xbd
jmp 0x41af8f
cmp si, 0x6e
jne 0x41afe8
mov esi, 0xbe
jmp 0x41af8f
cmp si, 0x6f
jne 0x41af89
mov esi, 0xbf
jmp 0x41af8f

Function at 0x41c680
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5dcc40]
xor edx, edx
cmp eax, edx
jne 0x41c6a6
xor eax, eax
mov byte [eax + 0x5dcb40], al
inc eax
cmp eax, 0x100
jl 0x41c68e
mov dword [0x5dcc40], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5dcb40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41c737
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 0x41c70a
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 0x41c6d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41c7b0
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 0x41c803
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 0x41c7ea
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 0x423240
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 0x4233d8
cmp ebp, ebx
jle 0x4233d8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x42329e
dec eax
or eax, 0xfffffff8
inc eax
je 0x4232a5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4232b4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4232bb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004641fe
add esp, 4
cmp eax, ebx
je 0x4232dc
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.004641fe
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 0x4233ce
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 0x4233b5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4233a1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x423396
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 0x4233a4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4233a4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x423340
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 0x423331
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 0x4263d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x472be8
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 0x426409
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.0046bcd1
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0046bd59
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.00426490
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0046bd96
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24