joyce8/EMBER2024-capa huggingface dataset:
Function at 0xca0735
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.00c9f577
mov dl, 0x46
mov bp, 0xff92
lea esi, [esi*4]
inc bl
setno al
mov edi, dword [esp + 5]
jmp 0xca051b
sub esp, 4
lea ecx, reloc.KERNEL32.dll_HeapSize
add esp, 0x17
mov cl, 0x3c
stc
lea ebx, reloc.KERNEL32.dll_HeapSize
jmp 0xca04c5
neg ch
sub esp, 0xb
xchg dword [esp + 3], ebx
sete dl
jmp 0xca0531
shl di, 0
rdtsc
btr cx, di
lea esp, [esp + 7]
lea esp, [esp]
mov dh, byte [esp]
jmp 0xca0505
mov bp, word [esp + 9]
pop si
bswap edx
pop di
not ah
pop ecx
jmp 0xca0673
pop dx
xchg byte [esp + 3], dh
setnp bh
shr esi, cl
pop word [esp + 0xc]
not di
jmp 0xca04ee
setne bl
cld
popal
lea esp, [esp + 2]
mov dh, byte [esp + 0xa]
jmp 0xca05a5
mov bl, al
xchg dword [esp + 0x11], ecx
pop dx
lea edx, [edi - 0x7b]
mov edi, dword [esp + 0x16]
bt edx, esi
jmp 0xca0565
lea ebx, reloc.KERNEL32.dll_HeapSize
mov bp, word [esp + 0x10]
neg bp
jmp 0xca05d8
bt si, di
mov dword [esp + 1], esi
push dword [esp + 8]
push word [esp + 8]
ror dl, cl
bswap edi
jmp 0xca058f
mov word [esp + 2], di
neg dx
mov di, word [esp]
cld
xchg cl, bh
lea esp, [esp + 3]
jmp 0xca05e9
mov word [esp + 1], sp
add esp, 0xd
xchg ebx, edx
xchg ebp, eax
pop esi
push dword [esp]
jmp 0xca05bc
xchg dword [esp], eax
mov ebp, dword [esp + 2]
mov byte [esp + 2], ah
mov di, word [esp + 5]
lea esp, [esp + 3]
lea esp, [esp + 4]
jmp 0xca061c
mov byte [esp], ch
xchg bh, cl
pushal
xchg al, dl
mov bx, bp
mov di, word [esp + 1]
jmp 0xca057b
popal
push ecx
pop word [esp]
mov byte [esp], dl
cmc
add esp, 0
jmp 0xca0652
bsf esi, eax
push word [esp + 3]
sub esp, 0xf
mov ax, sp
mov si, 0x658b
mov bx, ax
jmp 0xca0607
lea esp, [esp + 2]
popfd
lea esp, [esp + 4]
push si
jmp 0xca0762
pop ebp
push edx
cmp dh, 0x36
dec ebx
xchg word [esp], ax
mov word [esp], di
jmp 0xca063b
mov dword [esp], ebp
mov dword [esp + 0x60], ebp
call 0xca0737
lahf
and esi, dword [ebx - reloc.KERNEL32.dll_HeapSize]
adc dword [eax - reloc.KERNEL32.dll_HeapSize], edx
jmp 0xca071f
mov byte [esp], dl
mov dword [esp], edi
mov dword [esp + 0x60], esi
pushfd
jmp 0xca0748
jmp 0xca071f
mov word [esp], bx
mov dword [esp], ebx
mov word [esp + 1], cx
mov byte [esp], dh
call fcn.00ca0790
outsb dx, byte [esi]
jns 0xca07b7
mov ebx, 0x248d0d92
and al, 0xe8
mov byte [0x89ffffff], al
jl 0xca0791
lea esp, [esp]
call 0xca070c
mov dword [esp + 0x68], edi
jmp 0xca0774
push 0xef9c04eb
mul cl
lea esp, [esp + 0x68]
mov eax, dword fs:[0x30]
jmp 0xca079a
mov dword [esp + 3], ebx
call 0xca076a
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0xca0845
push 0xffffffffffffff8a
or esp, dword [edx + reloc.KERNEL32.dll_HeapSize]
jns 0xca07eb
mov dh, byte [esp]
rdtsc
mov byte [esp], dh
sub esp, 0x1d
neg bl
jmp 0xca0550
xor eax, eax
mov eax, dword [eax + 8]
push eax
jmp 0xc9f572
Function at 0xca0737
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.00c9f577
mov dl, 0x46
mov bp, 0xff92
lea esi, [esi*4]
inc bl
setno al
mov edi, dword [esp + 5]
jmp 0xca051b
sub esp, 4
lea ecx, reloc.KERNEL32.dll_HeapSize
add esp, 0x17
mov cl, 0x3c
stc
lea ebx, reloc.KERNEL32.dll_HeapSize
jmp 0xca04c5
neg ch
sub esp, 0xb
xchg dword [esp + 3], ebx
sete dl
jmp 0xca0531
shl di, 0
rdtsc
btr cx, di
lea esp, [esp + 7]
lea esp, [esp]
mov dh, byte [esp]
jmp 0xca0505
mov bp, word [esp + 9]
pop si
bswap edx
pop di
not ah
pop ecx
jmp 0xca0673
pop dx
xchg byte [esp + 3], dh
setnp bh
shr esi, cl
pop word [esp + 0xc]
not di
jmp 0xca04ee
setne bl
cld
popal
lea esp, [esp + 2]
mov dh, byte [esp + 0xa]
jmp 0xca05a5
mov bl, al
xchg dword [esp + 0x11], ecx
pop dx
lea edx, [edi - 0x7b]
mov edi, dword [esp + 0x16]
bt edx, esi
jmp 0xca0565
lea ebx, reloc.KERNEL32.dll_HeapSize
mov bp, word [esp + 0x10]
neg bp
jmp 0xca05d8
bt si, di
mov dword [esp + 1], esi
push dword [esp + 8]
push word [esp + 8]
ror dl, cl
bswap edi
jmp 0xca058f
mov word [esp + 2], di
neg dx
mov di, word [esp]
cld
xchg cl, bh
lea esp, [esp + 3]
jmp 0xca05e9
mov word [esp + 1], sp
add esp, 0xd
xchg ebx, edx
xchg ebp, eax
pop esi
push dword [esp]
jmp 0xca05bc
xchg dword [esp], eax
mov ebp, dword [esp + 2]
mov byte [esp + 2], ah
mov di, word [esp + 5]
lea esp, [esp + 3]
lea esp, [esp + 4]
jmp 0xca061c
mov byte [esp], ch
xchg bh, cl
pushal
xchg al, dl
mov bx, bp
mov di, word [esp + 1]
jmp 0xca057b
popal
push ecx
pop word [esp]
mov byte [esp], dl
cmc
add esp, 0
jmp 0xca0652
bsf esi, eax
push word [esp + 3]
sub esp, 0xf
mov ax, sp
mov si, 0x658b
mov bx, ax
jmp 0xca0607
lea esp, [esp + 2]
popfd
lea esp, [esp + 4]
push si
jmp 0xca0762
pop ebp
push edx
cmp dh, 0x36
dec ebx
xchg word [esp], ax
mov word [esp], di
jmp 0xca063b
mov dword [esp], ebp
mov dword [esp + 0x60], ebp
call 0xca0737
lahf
and esi, dword [ebx - reloc.KERNEL32.dll_HeapSize]
adc dword [eax - reloc.KERNEL32.dll_HeapSize], edx
jmp 0xca071f
mov byte [esp], dl
mov dword [esp], edi
mov dword [esp + 0x60], esi
pushfd
jmp 0xca0748
jmp 0xca071f
mov word [esp], bx
mov dword [esp], ebx
mov word [esp + 1], cx
mov byte [esp], dh
call fcn.00ca0790
outsb dx, byte [esi]
jns 0xca07b7
mov ebx, 0x248d0d92
and al, 0xe8
mov byte [0x89ffffff], al
jl 0xca0791
lea esp, [esp]
call 0xca070c
mov dword [esp + 0x68], edi
jmp 0xca0774
push 0xef9c04eb
mul cl
lea esp, [esp + 0x68]
mov eax, dword fs:[0x30]
jmp 0xca079a
mov dword [esp + 3], ebx
call 0xca076a
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0xca0845
push 0xffffffffffffff8a
or esp, dword [edx + reloc.KERNEL32.dll_HeapSize]
jns 0xca07eb
mov dh, byte [esp]
rdtsc
mov byte [esp], dh
sub esp, 0x1d
neg bl
jmp 0xca0550
xor eax, eax
mov eax, dword [eax + 8]
push eax
jmp 0xc9f572
Function at 0xca076a
Capabilities:
Parse pe header

Disassembly:
call fcn.00c9f577
mov dl, 0x46
mov bp, 0xff92
lea esi, [esi*4]
inc bl
setno al
mov edi, dword [esp + 5]
jmp 0xca051b
sub esp, 4
lea ecx, reloc.KERNEL32.dll_HeapSize
add esp, 0x17
mov cl, 0x3c
stc
lea ebx, reloc.KERNEL32.dll_HeapSize
jmp 0xca04c5
neg ch
sub esp, 0xb
xchg dword [esp + 3], ebx
sete dl
jmp 0xca0531
shl di, 0
rdtsc
btr cx, di
lea esp, [esp + 7]
lea esp, [esp]
mov dh, byte [esp]
jmp 0xca0505
mov bp, word [esp + 9]
pop si
bswap edx
pop di
not ah
pop ecx
jmp 0xca0673
pop dx
xchg byte [esp + 3], dh
setnp bh
shr esi, cl
pop word [esp + 0xc]
not di
jmp 0xca04ee
setne bl
cld
popal
lea esp, [esp + 2]
mov dh, byte [esp + 0xa]
jmp 0xca05a5
mov bl, al
xchg dword [esp + 0x11], ecx
pop dx
lea edx, [edi - 0x7b]
mov edi, dword [esp + 0x16]
bt edx, esi
jmp 0xca0565
lea ebx, reloc.KERNEL32.dll_HeapSize
mov bp, word [esp + 0x10]
neg bp
jmp 0xca05d8
bt si, di
mov dword [esp + 1], esi
push dword [esp + 8]
push word [esp + 8]
ror dl, cl
bswap edi
jmp 0xca058f
mov word [esp + 2], di
neg dx
mov di, word [esp]
cld
xchg cl, bh
lea esp, [esp + 3]
jmp 0xca05e9
mov word [esp + 1], sp
add esp, 0xd
xchg ebx, edx
xchg ebp, eax
pop esi
push dword [esp]
jmp 0xca05bc
xchg dword [esp], eax
mov ebp, dword [esp + 2]
mov byte [esp + 2], ah
mov di, word [esp + 5]
lea esp, [esp + 3]
lea esp, [esp + 4]
jmp 0xca061c
mov byte [esp], ch
xchg bh, cl
pushal
xchg al, dl
mov bx, bp
mov di, word [esp + 1]
jmp 0xca057b
popal
push ecx
pop word [esp]
mov byte [esp], dl
cmc
add esp, 0
jmp 0xca0652
bsf esi, eax
push word [esp + 3]
sub esp, 0xf
mov ax, sp
mov si, 0x658b
mov bx, ax
jmp 0xca0607
lea esp, [esp + 2]
popfd
lea esp, [esp + 4]
push si
jmp 0xca0762
pop ebp
push edx
cmp dh, 0x36
dec ebx
xchg word [esp], ax
mov word [esp], di
jmp 0xca063b
mov dword [esp], ebp
mov dword [esp + 0x60], ebp
call 0xca0737
lahf
and esi, dword [ebx - reloc.KERNEL32.dll_HeapSize]
adc dword [eax - reloc.KERNEL32.dll_HeapSize], edx
jmp 0xca071f
mov byte [esp], dl
mov dword [esp], edi
mov dword [esp + 0x60], esi
pushfd
jmp 0xca0748
jmp 0xca071f
mov word [esp], bx
mov dword [esp], ebx
mov word [esp + 1], cx
mov byte [esp], dh
call fcn.00ca0790
outsb dx, byte [esi]
jns 0xca07b7
mov ebx, 0x248d0d92
and al, 0xe8
mov byte [0x89ffffff], al
jl 0xca0791
lea esp, [esp]
call 0xca070c
mov dword [esp + 0x68], edi
jmp 0xca0774
push 0xef9c04eb
mul cl
lea esp, [esp + 0x68]
mov eax, dword fs:[0x30]
jmp 0xca079a
mov dword [esp + 3], ebx
call 0xca076a
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0xca0845
push 0xffffffffffffff8a
or esp, dword [edx + reloc.KERNEL32.dll_HeapSize]
jns 0xca07eb
mov dh, byte [esp]
rdtsc
mov byte [esp], dh
sub esp, 0x1d
neg bl
jmp 0xca0550
xor eax, eax
mov eax, dword [eax + 8]
push eax
jmp 0xc9f572
Function at 0x4025b0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x4025fb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x4025f4
test esi, esi
je 0x4025f4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4025d0
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x4027e0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402830
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402908
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40286e
cmp eax, 4
jne 0x402890
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40287e
cmp edx, 4
je 0x40287e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.004027e0
Function at 0x46afb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x510cbb
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.00502ead
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x46b032
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00500600
mov eax, dword [eax]
push 0x6cb274
push eax
call fcn.004f1214
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00503138
test bl, bl
je 0x46b032
push 0x6cb274
lea ecx, [esp + 0xc]
call fcn.00503514
push 0x6ceddc
lea ecx, [esp + 0xc]
call fcn.00503514
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 0x46b06e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00503138
jmp 0x46b139
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 0x46b0f2
lea edx, [esp + 0x7c]
push 0x6cedd8
push edx
call fcn.004f1214
add esp, 8
test eax, eax
je 0x46b0f2
lea eax, [esp + 0x7c]
push 0x6cedd4
push eax
call fcn.004f1214
add esp, 8
test eax, eax
je 0x46b0f2
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 0x46b082
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.00503138
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 0x46b930
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 0x46b992
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 0x46b9a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x510d3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6e6c50]
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 0x46bad8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x46ba06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00503138
xor eax, eax
jmp 0x46bb4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005032c1
push esi
lea ecx, [esp + 0xc]
call fcn.00503550
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6cee14
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x46bb2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x6cee0c
push closesocket
call fcn.0046b930
test eax, eax
jne 0x46bb2d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x6cedf8
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0046b930
test eax, eax
jne 0x46bb2d
lea eax, [esp + 0x14]
push 0x6cedf0
push eax
call fcn.004f24f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x46bb0c
lea ecx, [esp + 0x14]
push 0x6cedec
push ecx
call fcn.004f2470
mov esi, eax
add esp, 8
test esi, esi
jne 0x46bb0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x46bb0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00503271
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x46ba1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00503138
xor eax, eax
jmp 0x46bb4f
mov byte [esi], 0
push 0x6cede8
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.00503138
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 0x47d530
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 0x47d59e
cmp si, 0x69
ja 0x47d59e
add esi, 0xffd0
cmp si, 0x11
je 0x47d56e
push 0x11
call edi
test ax, ax
jge 0x47d56e
or esi, 0x2000
cmp si, 0x10
je 0x47d583
push 0x10
call edi
test ax, ax
jge 0x47d583
or esi, 0x4000
cmp si, 0x12
je 0x47d598
push 0x12
call edi
test ax, ax
jge 0x47d598
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x47d5ab
mov esi, 0xbd
jmp 0x47d55f
cmp si, 0x6e
jne 0x47d5b8
mov esi, 0xbe
jmp 0x47d55f
cmp si, 0x6f
jne 0x47d559
mov esi, 0xbf
jmp 0x47d55f

Function at 0x47ed20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6f7c10]
xor edx, edx
cmp eax, edx
jne 0x47ed46
xor eax, eax
mov byte [eax + 0x6f7b10], al
inc eax
cmp eax, 0x100
jl 0x47ed2e
mov dword [0x6f7c10], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6f7b10
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x47edd7
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 0x47edaa
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 0x47ed78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x47ee50
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 0x47eea3
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 0x47ee8a
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 0x485d40
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 0x485ed8
cmp ebp, ebx
jle 0x485ed8
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 0x485d9e
dec eax
or eax, 0xfffffff8
inc eax
je 0x485da5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x485db4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x485dbb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00502e79
add esp, 4
cmp eax, ebx
je 0x485ddc
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.00502e79
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 0x485ece
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 0x485eb5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x485ea1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x485e96
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 0x485ea4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x485ea4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x485e40
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 0x485e31
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 0x4880f0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
call fcn.0050479a
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