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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x544159
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0053ba38
xor eax, eax
push ebp
push 0x544239
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0054411c
mov eax, dword [0x68be0c]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.00539e7c
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.0053a218
call fcn.00539ba8
test eax, eax
jne 0x544216
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.00539fcc
mov dx, word [ebp - 8]
test dx, dx
jbe 0x544210
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x68c7a0]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x5441ec
cmp dword [ebp - 8], 0
jne 0x5441c3
lea eax, [ebp - 0x154]
call fcn.00539fec
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x544240
lea eax, [ebp - 4]
call fcn.0053b588
ret

Function at 0x54f718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x54f738
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x54f726
pop edi
pop esi
pop ebx
ret
Function at 0x557fd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0x68ccb4
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0x681670]
mov eax, dword [esi*4 + 0x6816b0]
xor eax, dword [esp]
call fcn.00557f70
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.00557fac
mov dword [ebx], eax
mov edx, dword [esi*4 + 0x681680]
mov eax, dword [esi*4 + 0x6816c0]
xor eax, dword [esp]
call fcn.00557f70
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.00557fac
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0x681690]
mov eax, dword [esi*4 + 0x6816d0]
xor eax, dword [esp]
call fcn.00557f70
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.00557fac
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0x6816a0]
mov eax, dword [esi*4 + 0x6816e0]
xor eax, dword [esp]
call fcn.00557f70
mov edi, eax
mov eax, edi
call fcn.00557fac
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x557fe0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x558138
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
cmp ebx, 3
jne 0x55816d
xor ebx, ebx
mov eax, ebx
mov esi, 3
xor edx, edx
div esi
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [eax + ecx]
and edx, 3
mov esi, dword [ebp - 8]
lea edx, [esi + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
mov dx, word [edx]
and dx, 1
movzx edx, dx
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
add esi, esi
or esi, edx
mov edi, dword [ebp - 0x18]
mov dword [edi], esi
mov esi, dword [ebp - 0x1c]
movzx esi, word [esi]
shr esi, 1
xor dx, 1
shl edx, 0xf
or si, dx
mov edx, dword [ebp - 0x1c]
mov word [edx], si
inc eax
cmp eax, 4
jne 0x558193
inc ebx
cmp ebx, 0xf
jne 0x55817d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x55814f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x6b4dfd
Capabilities:
Execute anti-debugging instructions

Disassembly:
neg bl
jae 0x6b4d7e
neg ch
jmp 0x6b4d80
not ebx
sub edi, 4
xchg bx, cx
mov bl, 0x90
jmp 0x6b4d57
neg ch
mov ebx, dword [eax + ebp]
jmp 0x6b4d9a
mov ecx, ebx
jmp 0x6b4d72
lea eax, [ebx*4]
mov cl, ch
mov ax, sp
setl cl
mov dword [edi], ebx
jmp 0x6b4f8b
les ecx, [edi]
pushfd
ror dword [ecx + 0x1dbe91f], 0
add byte [edi], bl
lcall 0xff73, 0x249a6f08
outsd dx, dword [esi]
or bh, cl
rcr dword [ebx - 0x30], 0x46
and eax, edx
outsd dx, dword [esi]
int 0x5c
and eax, 0x3c
mov cl, byte [esp]
inc ecx
jl 0x6b4d96
mov ecx, ebx
not ebx
jmp 0x6b4d74
mov cl, ch
lea eax, [ebp + 0x50]
mov cl, 0x22
call fcn.006b4e8a
fistp dword [ebx - 0x35]
scasb al, byte es:[edi]
pop ebp
in al, dx
xor edi, dword [edx + edx*2 + 0x700c435]
mov dword [ecx], ebx
js 0x6b4da5
aaa
test al, 0x66
mov ecx, dword [esp]
push esp
setbe bh
mov al, 0xb4
not bx
jmp fcn.006b4f4e

Function at 0x6b4e8a
Capabilities:
Execute anti-debugging instructions

Disassembly:
bt eax, esp
jp 0x6b4e25
lea ecx, [esi + 0xcd]
bswap eax
bts ebx, edi
jmp 0x6b4e6f
pop word [esp]
push word [esp + 1]
cmp edi, eax
ja fcn.006b3fed
jbe 0x6b4e3e
jmp 0x6b4e59

Function at 0x6d3d8b
Capabilities:
Encrypt data using aes

Disassembly:
shl edx, 8
bswap ebp
btr edi, edi
xchg bh, bl
jmp 0x6d3e18
xchg dword [esp], esi
xchg bl, bh
xor edx, esi
mov si, bx
pushal
dec ebx
jmp 0x6d3df3

Function at 0x6dc117
Capabilities:
Encode data using xor

Disassembly:
call fcn.006dc156
mov cs, word [eax]
sahf
stc
or ch, cl
and byte [ebp + 0x1aaf5c35], ah
push esp
invalid
pop word [esp]
lea esp, [esp + 2]
jmp 0x6dc1af
mov eax, dword [esp + 0x20]
jmp 0x6db4d0

Function at 0xc56845
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ebp, 0x15fb9f34
setne ch
xchg dword [esp + 0xa], ebx
mov di, word [esp + 0xa]
mov dx, di
add esp, 0x11
jmp 0xc5684b
mov bl, 0x18
setne ah
xchg dword [esp + 2], eax
push dword [esp + 8]
push dword [esp + 0xc]
mov bl, 0x70
jmp 0xc56801
push esp
lea ebp, [esp + ebx]
jmp 0xc56821
lea esp, [esp]
neg si
inc ebx
setg dh
rcl ax, cl
rdtsc
jmp 0xc568ea
bswap edx
mov ax, 0xce4b
mov bx, word [esp]
cmc
clc
add esp, 0
jmp 0xc56871
clc
mov bx, 0xa97d
not dh
mov esi, 0x764eff98
mov dl, 0xdc
xchg byte [esp], al
jmp 0xc5689c
mov ax, 0x81b1
mov cx, word [esp]
add esp, 0
mov di, 0xb0ad
mov esi, 0x61817516
neg si
jmp 0xc568bd
Function at 0xc56a01
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea ebp, [edi*4]
rdtsc
cpuid
rdtsc
jmp 0xc569a7
lea esi, [eax*4]
mov ecx, ebp
xchg edx, esi
push word [esp + 1]
jmp 0xc56950
lea esi, [esi - 0x57e7a983]
inc dl
push word [esp + 1]
jmp 0xc56967
pop edi
mov dword [esp + 0xc], eax
lea esp, [esp + 1]
not ebp
pop di
pop bx
jmp 0xc5697e
mov word [esp + 8], di
bswap edi
rdtsc
push word [esp + 0xb]
lea esi, [eax*4]
inc dx
jmp 0xc569ea
mov esi, 0x22afee58
sub esp, 0
add esp, 8
mov ebx, eax
sub esp, 2
pop word [esp + 3]
jmp 0xc56996
sub esp, 0xa
rdtsc
lea esp, [esp + 0xd]
add esp, 8
mov word [esp + 3], di
jmp 0xc56a05
pop si
jmp 0xc569d3
xchg word [esp + 4], ax
pop eax
mov di, sp
call 0xc56a14
dec esi
mov edx, dword [esp + 1]
not ch
xchg word [esp + 1], bx
call fcn.00c56b9a
xlatb
pop ecx
leave
test al, 0x5b
mov dl, 0x38

Function at 0xc57306
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bl, bh
sub esp, 4
xchg word [esp + 1], cx
xchg bx, di
rcr ebx, 5
mov byte [esp + 3], ah
jmp 0xc571df
lea esp, [esp + 2]
xchg edi, eax
not ah
xchg bh, cl
mov edx, dword [esp]
add esp, 2
jmp 0xc571fa
mov ebp, dword [esp + 4]
lea ebx, [esi*4]
inc ax
xchg dh, al
xchg bx, ax
xchg ch, dl
jmp 0xc57255
mov ebp, dword [esp + 2]
mov ah, byte [esp]
push dword [esp + 1]
mov ecx, 0xcdaa093c
pop edi
jmp 0xc572bb

Function at 0xc5754f
Capabilities:
Execute anti-debugging instructions

Disassembly:
push word [esp + 3]
mov byte [esp + 7], ch
cpuid
rdtsc
lea esp, [esp + 1]
mov word [esp + 4], sp
jmp 0xc574aa
mov bx, sp
mov byte [esp + 3], ch
mov eax, dword [esp + 1]
rdtsc
mov bp, 0x43f1
mov byte [esp + 3], bh
jmp 0xc574c6
lea edx, [ebp - 0x15c57921]
mov al, 0xae
neg dx
jmp 0xc574f9

Function at 0xc5759e
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], esi
mov ch, byte [esp]
lea esp, [esp + 4]
mov dh, byte [esp]
sub esp, 0
jmp 0xc575a0
jmp 0xc57588
rcr esi, 0x15
neg ebp
lea ecx, [eax*4]
xchg byte [esp], bl
jmp 0xc5763b
mov bx, word [esp]
btc ecx, ebx
mov ah, byte [esp]
pushal
mov bx, sp
bsf si, ax
jmp 0xc57625
mov di, 0x6123
lea esp, [esp + 0x22]
sub esp, 6
sub esp, 0x10
pushal
jmp 0xc576b0
lea esp, [esp]
shr esi, 0xd
rdtsc
mov ah, byte [esp]
btc ecx, edi
cpuid
jmp 0xc575e9
xchg dword [esp + 0x14], ecx
rdtsc
push edx
mov esi, 0xca527db6
jmp 0xc575fd
lea esp, [esp]
mov bx, 0xa6c1
rdtsc
btr edi, edx
xchg bx, bp
bswap ebx
jmp 0xc57613
mov dl, 0x9c
neg edi
xchg byte [esp + 0xc], dl
push dword [esp]
rcr ch, 5
sub esp, 0x18
jmp 0xc57692
cmc
popal
push dword [esp + 1]
stc
pop bx
push dword [esp + 5]
jmp 0xc5764e
xchg bh, cl
mov edx, dword [esp + 3]
cpuid
shr ebp, 0x15
lea esp, [esp + 0x23]
call fcn.00c576cb
popal
mov al, byte [0x310f1ae3]
rdtsc
mov di, word [esp + 0x19]
mov al, ah
mov byte [esp + 0x23], bh
pop word [esp + 6]
neg edi
jmp 0xc5767a
xchg word [esp + 0xb], di
lea esp, [esp + 0x14]
mov bp, 0x5c4f
mov byte [esp + 0x23], ah
xchg byte [esp + 0x10], cl
push dword [esp + 2]
jmp 0xc5766b

Function at 0xc576cb
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bp, 0x441d
jmp 0xc577c6
Function at 0xc57bf4
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push esp
push dword [esp + 0x19]
lea esp, [esp + 1]
mov dword [esp + 0x98], edi
jmp 0xc57c88
push eax
jmp 0xc57049
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0xc57c52
lea esp, [esp + 0x98]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0xc57c6d
Function at 0x421cb8
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 0x421cf0
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x421cde
mov al, 1
jmp 0x421d3a
cmp dword [ebx + 0x54], ecx
jne 0x421ce7
mov al, 2
jmp 0x421d3a
cmp dword [ebx + 0x7c], ecx
jne 0x421d3a
mov al, 3
jmp 0x421d3a
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x421d05
mov al, 4
jmp 0x421d3a
cmp ecx, 5
jne 0x421d25
cmp ebx, 0
jne 0x421d13
mov al, 5
jmp 0x421d3a
cmp ebx, 1
jne 0x421d1c
mov al, 6
jmp 0x421d3a
cmp ebx, 2
jne 0x421d25
mov al, 7
jmp 0x421d3a
cmp ecx, 6
jne 0x421d31
cmp ebx, 0
jne 0x421d33
mov al, 8
jmp 0x421d3a
cmp ebx, 1
jne 0x421d3a
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465300
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d655b
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.004c8d64
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x465382
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c63aa
mov eax, dword [eax]
push 0x4fa21c
push eax
call fcn.004b8f64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c8fef
test bl, bl
je 0x465382
push 0x4fa21c
lea ecx, [esp + 0xc]
call fcn.004c93cb
push 0x4fdedc
lea ecx, [esp + 0xc]
call fcn.004c93cb
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 0x4653be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c8fef
jmp 0x465489
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 0x465442
lea edx, [esp + 0x7c]
push 0x4fded8
push edx
call fcn.004b8f64
add esp, 8
test eax, eax
je 0x465442
lea eax, [esp + 0x7c]
push 0x4fded4
push eax
call fcn.004b8f64
add esp, 8
test eax, eax
je 0x465442
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 0x4653d2
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.004c8fef
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 0x465c80
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 0x465ce2
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 0x465cf0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d65db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x504e98]
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 0x465e28
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x465d56
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c8fef
xor eax, eax
jmp 0x465e9f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c9178
push esi
lea ecx, [esp + 0xc]
call fcn.004c9407
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 0x465e7d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00465c80
test eax, eax
jne 0x465e7d
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.00465c80
test eax, eax
jne 0x465e7d
lea eax, [esp + 0x14]
push 0x4fdef0
push eax
call fcn.004ba110
mov esi, eax
add esp, 8
test esi, esi
jne 0x465e5c
lea ecx, [esp + 0x14]
push 0x4fdeec
push ecx
call fcn.004ba090
mov esi, eax
add esp, 8
test esi, esi
jne 0x465e5c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x465e5f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c9128
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x465d6e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c8fef
xor eax, eax
jmp 0x465e9f
mov byte [esi], 0
push 0x4fdee8
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.004c8fef
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 0x47ac00
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 0x47ac6e
cmp si, 0x69
ja 0x47ac6e
add esi, 0xffd0
cmp si, 0x11
je 0x47ac3e
push 0x11
call edi
test ax, ax
jge 0x47ac3e
or esi, 0x2000
cmp si, 0x10
je 0x47ac53
push 0x10
call edi
test ax, ax
jge 0x47ac53
or esi, 0x4000
cmp si, 0x12
je 0x47ac68
push 0x12
call edi
test ax, ax
jge 0x47ac68
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x47ac7b
mov esi, 0xbd
jmp 0x47ac2f
cmp si, 0x6e
jne 0x47ac88
mov esi, 0xbe
jmp 0x47ac2f
cmp si, 0x6f
jne 0x47ac29
mov esi, 0xbf
jmp 0x47ac2f

Function at 0x47c700
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x515cb8]
xor edx, edx
cmp eax, edx
jne 0x47c726
xor eax, eax
mov byte [eax + 0x515bb8], al
inc eax
cmp eax, 0x100
jl 0x47c70e
mov dword [0x515cb8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x515bb8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x47c7b7
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 0x47c78a
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 0x47c758
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x47c830
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 0x47c883
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 0x47c86a
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 0x4832c0
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 0x483458
cmp ebp, ebx
jle 0x483458
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 0x48331e
dec eax
or eax, 0xfffffff8
inc eax
je 0x483325
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x483334
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x48333b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004c8d30
add esp, 4
cmp eax, ebx
je 0x48335c
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.004c8d30
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 0x48344e
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 0x483435
mov al, byte [edx]
cmp al, 0xc0
jbe 0x483421
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x483416
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 0x483424
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x483424
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4833c0
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 0x4833b1
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 0x486460
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d8158
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 0x486499
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.004d082d
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004d08b5
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.00486520
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004d08f2
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24