joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4599f0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x459af3
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0xf0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.0045a120
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x6de4c0]
mov dword [esp], ecx
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax + 4], ecx
lea ecx, [0x9d0cdc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.00459300
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00458750
add esp, 0x28
ret
call fcn.00467050
jmp fcn.004599f0

Function at 0x45cd00
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45cd9b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x9ec7ac]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.004686f7
lea ecx, [0x45cdb0]
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.00466f60
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00467050
jmp fcn.0045cd00
Function at 0x4647c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x464920
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x18], ecx
nop
mov dword [esp], ecx
call fcn.0040a400
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x464909
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call fcn.00432c50
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call fcn.00433330
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call fcn.00433330
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x464890
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call fcn.00456220
mov eax, dword [0x9eca70]
test eax, eax
jne 0x464877
mov eax, dword [esp + 0x20]
jmp 0x464885
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
call fcn.00468450
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x4648c7
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call fcn.00456220
mov eax, dword [0x9eca70]
test eax, eax
jne 0x4648b2
mov eax, dword [esp + 0x20]
jmp 0x4648c0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x78]
call fcn.00468450
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040a600
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4648ed
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00433110
mov eax, dword [esp + 0x10]
test eax, eax
je 0x464905
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00433110
add esp, 0x1c
ret
lea eax, [0x743220]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00438dd0
nop
call fcn.00467050
jmp fcn.004647c0
Function at 0x468300
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x9eccc0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x466a8b
je 0x466ade
cmp ebx, 0x20
jbe 0x466ae4
cmp ebx, 0x40
jbe 0x466b2a
jmp 0x466bcb
test ebx, ebx
je 0x466ad4
add eax, 0x10
test ax, 0xff0
je 0x466ac0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x7ad5e0]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x7ad6e0]
jmp 0x466aa8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x466aa8
pxor xmm1, xmmword [0x9eccd0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x9eccd0]
pxor xmm2, xmmword [0x9ecce0]
pxor xmm3, xmmword [0x9eccf0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x9eccd0]
pxor xmm2, xmmword [0x9ecce0]
pxor xmm3, xmmword [0x9eccf0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x466c2a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x9ec5e9], 0
je 0x46831a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x466a50
jmp fcn.00408bb0
Function at 0x468320
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40373c
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00408bb0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.00467050
jmp 0x403700
cmp byte [0x9ec5e9], 0
je 0x46833b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x466a50
jmp 0x403700

Function at 0x469290
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x4692aa
mov ecx, 0x14
jmp 0x4692b3
shl ecx, 2
add ecx, 0xe10
mov dword [0x9ec7ac], ecx
ret
Function at 0x4ab690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ab81b
sub esp, 0x50
lea edi, [esp + 0x64]
xor eax, eax
call fcn.004686fb
mov ecx, dword [esp + 0x58]
cmp ecx, 0x19
je 0x4ab6bf
xor edx, edx
jmp 0x4ab6ea
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x73c948]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x19
call fcn.00403590
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, eax
xor eax, eax
test dl, dl
je 0x4ab6f5
mov edx, 1
jmp 0x4ab729
cmp ecx, 0x23
je 0x4ab6fe
xor edx, edx
jmp 0x4ab729
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x74258a]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x23
call fcn.00403590
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, eax
xor eax, eax
test dl, dl
je 0x4ab783
lea edi, [esp + 0x3c]
call fcn.004686fb
mov ecx, dword [0x9a3448]
lea edx, [0x7aafb0]
mov dword [esp], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004b5e10
movzx ecx, byte [esp + 0x24]
mov byte [esp + 0x37], cl
lea edi, [esp + 0x3c]
lea esi, [esp + 0x10]
call fcn.00468bde
movzx ecx, byte [esp + 0x37]
test cl, cl
jne 0x4ab7fa
xor eax, eax
mov ecx, dword [esp + 0x58]
lea edi, [esp + 0x3c]
call fcn.004686fb
mov ecx, dword [0x9a3444]
mov edx, dword [0x9a3448]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004ab830
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x30]
lea edi, [esp + 0x3c]
lea esi, [esp + 0x18]
call fcn.00468bde
lea edi, [esp + 0x64]
lea esi, [esp + 0x3c]
call fcn.00468bde
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x50
ret
lea edi, [esp + 0x64]
lea esi, [esp + 0x3c]
call fcn.00468bde
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
call fcn.00467050
jmp fcn.004ab690
Function at 0x4b4e30
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b501a
sub esp, 0x48
mov eax, dword [0x9a3444]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 0xa]
movzx ebx, word [ecx + 0xc]
movzx ebp, word [ecx + 2]
movzx esi, word [ecx + 8]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call fcn.004b1700
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.00468bde
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.00468bde
call fcn.004af4a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call fcn.004602b0
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
lea eax, [ebp + edx]
sar eax, 0x10
sar ebp, 0x1f
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x4b4f07
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x4b4f21
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x4b4f98
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x4b4f6e
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x4b4f6a
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x4b4f63
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x4b4f70
mov ebx, 0x1d
jmp 0x4b4f8e
mov ebp, eax
jmp 0x4b4f70
mov ebp, eax
cmp ebp, 0xd
jae 0x4b500d
lea eax, [ebp - 1]
lea edx, [0x975580]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x4b5003
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x4b4f98
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x4b4fca
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x4b4fd2
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
add esp, 0x48
ret
mov ecx, 0xd
call fcn.004684c0
mov eax, ebp
mov ecx, 0xd
call fcn.004684c0
nop
call fcn.00467050
jmp fcn.004b4e30
Function at 0x4e1080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e12e3
sub esp, 0x54
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
movzx eax, word [esp + 0x60]
movzx ecx, ax
mov dword [esp + 0x20], ecx
lea edx, [0x6f8a00]
mov dword [esp], edx
lea ebx, [esp + 0x24]
mov dword [esp + 4], ebx
call fcn.004d7ff0
mov eax, dword [esp + 8]
mov ecx, eax
sar eax, 0x1f
mov edx, eax
mov eax, dword [esp + 0x64]
mov ebx, edx
mov ebp, eax
mul ecx
imul ebx, ebp
lea ecx, [edx + ebx]
mov edx, dword [esp + 0x20]
cmp eax, edx
setne al
test ecx, ecx
setne cl
or ecx, eax
test cl, cl
jne 0x4e122b
lea eax, [0x6f8a00]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call fcn.0044e0b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
lea edx, [0x6f0360]
mov dword [esp], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
call fcn.00409ef0
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
lea eax, [0x7acb88]
mov dword [esp + 8], eax
lea eax, [0x9ec5e0]
mov dword [esp + 0xc], eax
lea eax, [0x6d5fe0]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x14], eax
call fcn.004d6ea0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x4e1203
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test eax, eax
je 0x4e11a1
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
lea eax, [0x742fe0]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c3fd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x54
ret
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x54
ret
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
movzx eax, word [esp + 0x60]
mov word [esp], ax
call fcn.00409c70
mov eax, dword [esp + 4]
lea ecx, [0x6e4640]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.00409ce0
mov eax, dword [esp + 4]
lea ecx, [0x6e44c0]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
lea eax, [0x7521b1]
mov dword [esp], eax
mov dword [esp + 4], 0x50
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c3fd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x54
ret
call fcn.00467050
jmp fcn.004e1080
Function at 0x4e21e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e2420
sub esp, 0x60
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4e2213
mov ecx, dword [esp + 0x64]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
lea esi, [0x9ec5e0]
xor edi, edi
jmp 0x4e2263
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
mov edi, dword [esp + 0x5c]
add edi, 0x14
inc edx
mov dword [esp + 0x34], eax
mov eax, ecx
mov ecx, edi
mov edi, ebx
mov ebx, eax
mov eax, dword [esp + 0x34]
cmp eax, edx
jle 0x4e23f4
mov dword [esp + 0x24], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x5c], ecx
lea edi, [esp + 0x3c]
mov esi, ecx
call fcn.00468bde
test bl, bl
jbe 0x4e2293
lea ecx, [ebx - 1]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x50]
jmp 0x4e224b
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ebp
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], edx
call fcn.004e2100
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4e23bc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
movzx ecx, byte [esp + 0x4d]
mov byte [esp + 0x23], cl
mov edx, dword [esp + 0x10]
mov dword [esp + 0x58], edx
lea ebx, [0x70e4a0]
mov dword [esp], ebx
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x9eca70]
test ecx, ecx
jne 0x4e230d
mov ecx, dword [esp + 0x58]
jmp 0x4e2318
call fcn.00468450
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
movzx ecx, word [esp + 0x48]
mov word [eax + 0xc], cx
movzx ecx, word [esp + 0x4a]
mov word [eax + 0xe], cx
movzx ecx, byte [esp + 0x4c]
mov byte [eax + 0x10], cl
mov ecx, dword [esp + 0x24]
inc ecx
mov edx, dword [esp + 0x28]
cmp edx, ecx
jb 0x4e234e
mov esi, dword [esp + 0x50]
jmp 0x4e238a
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6ce1c0]
mov dword [esp + 0x10], eax
call fcn.0044e230
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
mov edx, ebp
mov ebx, dword [0x9eca70]
test ebx, ebx
je 0x4e23a2
call fcn.00468460
mov dword [edi], eax
mov ebx, dword [esi + ecx*4 - 4]
mov dword [edi + 4], ebx
mov dword [esi + ecx*4 - 4], eax
mov eax, dword [esp + 0x68]
mov ebp, edx
mov ebx, ecx
mov edx, dword [esp + 0x30]
movzx ecx, byte [esp + 0x23]
jmp 0x4e224b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x60
ret
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
call fcn.00467050
jmp fcn.004e21e0
Function at 0x4f79c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f7ab1
sub esp, 0x1c
mov ecx, dword [esp + 0x20]
test byte [ecx], al
mov edx, dword [esp + 0x24]
and edx, 0x7f
shl edx, 5
add ecx, edx
mov dword [esp + 0x18], ecx
xor eax, eax
jmp 0x4f79fc
mov ebx, dword [esp + 0xc]
inc ebx
mov ecx, dword [esp + 0x18]
mov eax, ebx
cmp eax, 4
jge 0x4f7a35
mov dword [esp + 0xc], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call fcn.0046cd60
mov eax, dword [esp + 0x24]
cmp dword [esp + 4], eax
sete cl
mov edx, dword [esp + 0x28]
cmp dword [esp + 8], edx
sete bl
and ebx, ecx
test bl, bl
je 0x4f79f1
mov byte [esp + 0x2c], 1
add esp, 0x1c
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x4f7a3f
inc eax
cmp eax, 4
jge 0x4f7a54
mov dword [esp + 0x14], eax
lea ebx, [ecx + eax*8]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
xor esi, esi
jmp 0x4f7aaa
and edx, 3
lea eax, [ecx + edx*8]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0046cdb0
mov byte [esp + 0x2c], 0
add esp, 0x1c
ret
mov edi, ebp
and edi, 0xff
xor edx, edi
shr ebp, 8
mov edi, ebx
shl edi, 0x18
mov dword [esp + 0x10], edi
mov eax, edx
mov edi, 0x1b3
mul edi
inc esi
mov edi, dword [esp + 0x10]
or ebp, edi
shr ebx, 8
mov edx, eax
mov eax, dword [esp + 0x14]
cmp esi, 8
jl 0x4f7a7b
jmp 0x4f7a3e
call fcn.00467050
jmp fcn.004f79c0
Function at 0x4f9090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f923a
sub esp, 0x54
lea edi, [esp + 0x60]
xor eax, eax
call fcn.004686fb
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
xor ebx, ebx
jmp 0x4f90bf
inc ebx
cmp edx, ebx
jle 0x4f91de
movzx ebp, byte [ecx + ebx]
xchg ebp, eax
cmp al, 0x25
xchg ebp, eax
je 0x4f9182
xchg ebp, eax
cmp al, 0x2e
xchg ebp, eax
je 0x4f9133
xchg ebp, eax
cmp al, 0x3a
xchg ebp, eax
jne 0x4f90be
lea edi, [esp + 0x28]
call fcn.004686fb
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004f9a00
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
lea edi, [esp + 0x28]
lea esi, [esp + 8]
call fcn.00468bde
lea edi, [esp + 0x60]
lea esi, [esp + 0x28]
call fcn.00468bde
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x54
ret
lea edi, [esp + 0x28]
call fcn.004686fb
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004f95f0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
lea edi, [esp + 0x28]
lea esi, [esp + 8]
call fcn.00468bde
lea edi, [esp + 0x60]
lea esi, [esp + 0x28]
call fcn.00468bde
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x54
ret
lea edi, [esp + 0x3c]
call fcn.004686fa
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
lea ecx, [0x739f69]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0x14
lea edi, [esp + 0x60]
call fcn.004686fb
lea ecx, [0x70cba0]
mov dword [esp], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.00409bb0
mov ecx, dword [esp + 8]
lea edx, [0x7ab58c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
add esp, 0x54
ret
lea edi, [esp + 0x3c]
call fcn.004686fa
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
lea ecx, [0x738aab]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0x12
lea edi, [esp + 0x60]
call fcn.004686fb
lea ecx, [0x70cba0]
mov dword [esp], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.00409bb0
mov ecx, dword [esp + 8]
lea edx, [0x7ab58c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
add esp, 0x54
ret
call fcn.00467050
jmp fcn.004f9090