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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push ebx
push esi
mov esi, dword [edx + 4]
mov edx, eax
shr edx, 4
xor edx, esi
and edx, 0xf0f0f0f
xor esi, edx
shl edx, 4
xor eax, edx
mov edx, eax
shr edx, 0x10
xor edx, esi
and edx, 0xffff
xor esi, edx
shl edx, 0x10
xor eax, edx
mov edx, esi
shr edx, 2
xor edx, eax
and edx, 0x33333333
xor eax, edx
add edx, edx
add edx, edx
xor esi, edx
mov edx, esi
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor eax, edx
shl edx, 8
xor esi, edx
rol esi, 1
mov edx, esi
xor edx, eax
and edx, 0xaaaaaaaa
xor esi, edx
xor edx, eax
rol edx, 1
push edi
mov ecx, 0x344d708
mov dword [ebp - 4], edx
mov dword [ebp - 8], 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx]
add ecx, 0x10
mov edx, eax
shr edx, 0x18
mov edi, eax
shr edi, 0x10
and edi, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x343d6a8]
or edx, dword [edi*4 + 0x343d8a8]
mov edi, eax
shr edi, 8
and edi, 0x3f
or edx, dword [edi*4 + 0x343daa8]
and eax, 0x3f
or edx, dword [eax*4 + 0x343dca8]
mov eax, dword [ecx - 0xc]
xor eax, esi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x343d7a8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x343d9a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x343dba8]
and eax, 0x3f
or edi, dword [eax*4 + 0x343dda8]
or edi, edx
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
xor edi, dword [ebp - 0xc]
mov eax, edi
ror eax, 4
xor eax, dword [ecx - 8]
mov dword [ebp - 4], edi
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x343d6a8]
or edx, dword [ebx*4 + 0x343d8a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x343daa8]
and eax, 0x3f
or edx, dword [eax*4 + 0x343dca8]
mov eax, dword [ecx - 4]
xor eax, edi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x343d7a8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x343d9a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x343dba8]
and eax, 0x3f
or edi, dword [eax*4 + 0x343dda8]
or edi, edx
xor esi, edi
dec dword [ebp - 8]
jne 0x10036403
mov ecx, dword [ebp - 4]
ror esi, 1
mov eax, esi
xor eax, ecx
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, ecx
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
add ecx, ecx
add ecx, ecx
xor eax, ecx
mov edx, dword [ebp + 8]
mov ecx, esi
shr ecx, 0x10
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
xor ecx, eax
pop esi
mov dword [edx + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10044900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x10044929
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + 0x343d100]
inc esi
xor eax, edx
dec ecx
jne 0x10044914
xor eax, 0xffffffff
pop esi
leave
ret 0xc

Function at 0x401000
Capabilities:
Allocate or change rwx memory
Check for foreground window switch
Check for time delay via gettickcount
Check for unmoving mouse cursor
Execute shellcode via indirect call

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x403008]
cmp eax, 0
jne 0x401021
mov eax, dword [0x40300c]
cmp eax, 0
jne 0x401021
jmp 0x4010b6
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 4], eax
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401021
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 4]
cmp eax, 0x1388
jl 0x401021
lea eax, [ebp - 8]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401021
mov eax, dword [0x403008]
cmp eax, 0
je 0x401093
push 0x3e8
call sub.KERNEL32.dll_Sleep
lea eax, [ebp - 0x10]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401067
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
je 0x401021
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
cmp eax, ebx
je 0x401067
mov eax, dword [0x40300c]
cmp eax, 0
je 0x4010b6
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401093
cmp eax, dword [ebp - 0x14]
je 0x401093
push dword [section.data]
mov eax, 0x40301a
mov ebx, 0x40322a
sub ebx, eax
push ebx
push 0x40301a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push 0x40
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
push dword [0x403004]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push dword [eax]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
cmp al, 0x2d
int 0
add byte [esp + ecx - 0x43ffff30], bh
invalid
Function at 0x110f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x110f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x110f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x110f06a
add dl, dl
jne 0x110f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x110f0dc
xor eax, eax
add dl, dl
jne 0x110f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x110f17d
add dl, dl
jne 0x110f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x110f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x110f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x110f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x110f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x110f075
mov eax, 1
add dl, dl
jne 0x110f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x110f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x110f0e1
sub eax, ebx
mov ebx, 1
jne 0x110f128
mov ecx, 1
add dl, dl
jne 0x110f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x110f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x110f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x110f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x110f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x110f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x110f136
cmp eax, 0x7d00
jae 0x110f16d
cmp eax, 0x500
jb 0x110f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x110f075
cmp eax, 0x7f
ja 0x110f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x110f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x110f19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x110f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x436309f4
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x247a74a1
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4044be
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4044f6
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4044e4
mov al, 1
jmp 0x404555
cmp dword [ebx + 0x54], ecx
jne 0x4044ed
mov al, 2
jmp 0x404555
cmp dword [ebx + 0x7c], ecx
jne 0x404555
mov al, 3
jmp 0x404555
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x40450b
mov al, 4
jmp 0x404555
cmp ecx, 5
jne 0x40452b
cmp ebx, 0
jne 0x404519
mov al, 5
jmp 0x404555
cmp ebx, 1
jne 0x404522
mov al, 6
jmp 0x404555
cmp ebx, 2
jne 0x40452b
mov al, 7
jmp 0x404555
cmp ecx, 6
jne 0x404553
cmp ebx, 0
jne 0x404539
mov al, 8
jmp 0x404555
cmp ebx, 1
jne 0x404540
mov al, 9
cmp ebx, 2
jne 0x404547
mov al, 0xa
cmp ebx, 3
jne 0x40454e
mov al, 0xb
cmp ebx, 4
jne 0x404555
mov al, 0xc
pop ebx
leave
ret

Function at 0x409aee
Capabilities:
Reference absolute stream path on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov eax, str.C:Wuyue.ini:txt
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409b14
push ebx
call fcn.0041842e
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x409b2d
mov eax, 0x4be108
push eax
push 1
mov ebx, 0x419830
call fcn.00418446
add esp, 0x10
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x409b56
mov eax, 0x4be115
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x409b6a
mov eax, 0x4be108
push eax
push 2
mov ebx, 0x41a7f0
call fcn.00418446
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x409b8d
push ebx
call fcn.0041842e
add esp, 4
push dword [ebp - 4]
push str.notepad
mov ecx, 2
call fcn.00402227
add esp, 8
mov dword [ebp - 8], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x409bca
mov eax, 0x4be108
push eax
push 3
mov ebx, 0x418710
call fcn.00418446
add esp, 0x28
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x409bed
push ebx
call fcn.0041842e
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409bfd
push ebx
call fcn.0041842e
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x423150
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b553b
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.004aa0c8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4231d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a7fa2
mov eax, dword [eax]
push 0x764ca4
push eax
call fcn.0049a0b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004aa353
test bl, bl
je 0x4231d2
push 0x764ca4
lea ecx, [esp + 0xc]
call fcn.004aa6e3
push 0x764cb0
lea ecx, [esp + 0xc]
call fcn.004aa6e3
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 0x42320e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004aa353
jmp 0x4232d9
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 0x423292
lea edx, [esp + 0x7c]
push 0x764cac
push edx
call fcn.0049a0b4
add esp, 8
test eax, eax
je 0x423292
lea eax, [esp + 0x7c]
push 0x764ca8
push eax
call fcn.0049a0b4
add esp, 8
test eax, eax
je 0x423292
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 0x423222
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.004aa353
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 0x423ae0
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 0x423b42
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 0x423b50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b55bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7a95c0]
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 0x423c88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x423bb6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aa353
xor eax, eax
jmp 0x423cff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004aa490
push esi
lea ecx, [esp + 0xc]
call fcn.004aa71f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x764ce4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x423cdd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00423ae0
test eax, eax
jne 0x423cdd
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 SysReAllocString
mov ecx, edi
call fcn.00423ae0
test eax, eax
jne 0x423cdd
lea eax, [esp + 0x14]
push 0x764cc0
push eax
call fcn.0049b200
mov esi, eax
add esp, 8
test esi, esi
jne 0x423cbc
lea ecx, [esp + 0x14]
push 0x764cbc
push ecx
call fcn.0049b180
mov esi, eax
add esp, 8
test esi, esi
jne 0x423cbc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x423cbf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004aa440
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x423bce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aa353
xor eax, eax
jmp 0x423cff
mov byte [esi], 0
push 0x764cb8
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.004aa353
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 0x435180
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 0x4351ee
cmp si, 0x69
ja 0x4351ee
add esi, 0xffd0
cmp si, 0x11
je 0x4351be
push 0x11
call edi
test ax, ax
jge 0x4351be
or esi, 0x2000
cmp si, 0x10
je 0x4351d3
push 0x10
call edi
test ax, ax
jge 0x4351d3
or esi, 0x4000
cmp si, 0x12
je 0x4351e8
push 0x12
call edi
test ax, ax
jge 0x4351e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4351fb
mov esi, 0xbd
jmp 0x4351af
cmp si, 0x6e
jne 0x435208
mov esi, 0xbe
jmp 0x4351af
cmp si, 0x6f
jne 0x4351a9
mov esi, 0xbf
jmp 0x4351af

Function at 0x436b10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7b9d88]
xor edx, edx
cmp eax, edx
jne 0x436b36
xor eax, eax
mov byte [eax + 0x7b9c88], al
inc eax
cmp eax, 0x100
jl 0x436b1e
mov dword [0x7b9d88], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7b9c88
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x436bc7
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 0x436b9a
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 0x436b68
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x436bd0
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 0x436c23
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 0x436c0a
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 0x43dc80
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 0x43de18
cmp ebp, ebx
jle 0x43de18
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 0x43dcde
dec eax
or eax, 0xfffffff8
inc eax
je 0x43dce5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x43dcf4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x43dcfb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004aa094
add esp, 4
cmp eax, ebx
je 0x43dd1c
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.004aa094
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 0x43de0e
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 0x43ddf5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x43dde1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x43ddd6
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 0x43dde4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x43dde4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x43dd80
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 0x43dd71
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 0x440660
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
call fcn.004ab92b
lea eax, [esp + 4]
mov dword [esi], method.CWnd.virtual_0
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
mov dword [esi + 0x44], 0x4d12
inc eax
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], eax
mov eax, esi
pop esi
add esp, 0x190
ret