Function at 0x1037ed60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x106a6100]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2dc], ecx
mov ecx, 0x10a21b93
call fcn.103a4800
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1828]
mov dword [ebp - 0x2bc], ecx
mov edx, dword [0x10a10664]
sub edx, 0x5e
xor edx, 0x95641aba
mov dword [ebp - 0x284], edx
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2bc]
add ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x1c0], ecx
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], edx
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1c4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x2e0], ecx
mov edx, dword [0x109f27f8]
mov dword [ebp - 0x198], edx
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x198]
mov dword [ecx], edx
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x2e4], ecx
mov edx, dword [ebp - 0x1cc]
mov eax, dword [edx]
mov dword [ebp - 0x1d0], eax
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp - 0x1d0]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], edx
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e4], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c8], esp
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp - 0x1e0]
mov dword [edx], eax
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x2cc], ecx
mov ecx, dword [ebp - 0x198]
call dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], eax
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1ec], edx
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x17c], edx
cmp dword [ebp - 0x17c], 0
jne 0x1037eef9
jmp 0x1037f4ea
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ebp - 0x17c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f8]
mov dword [ebp - 0x2d0], ecx
mov edx, dword [ebp - 0x1fc]
mov eax, dword [edx]
mov dword [ebp - 0x200], eax
mov ecx, 0x1be
shl ecx, 2
mov edx, dword [ebp - 0x200]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
mov dword [ebp - 0x208], ecx
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x17c]
call dword [ebp - 0x210]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x178], ecx
cmp dword [ebp - 0x178], 0
jne 0x1037efa0
jmp 0x1037f4ea
mov edx, dword [ebp - 0x178]
cmp dword [edx + 0xc8], 9
je 0x1037efbe
mov eax, dword [ebp - 0x178]
cmp dword [eax + 0xc8], 6
jg 0x1037efcd
mov ecx, dword [ebp - 0x178]
cmp dword [ecx + 0xc8], 0
jg 0x1037efd2
jmp 0x1037f4ea
mov edx, dword [0x10a10700]
sub edx, 0x85
xor edx, 0x95641ae1
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x17c]
add ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x224]
vmovss xmm0, dword [eax]
vmovss dword [ebp - 0x228], xmm0
mov ecx, dword [0x109f2854]
vmovss xmm0, dword [ebp - 0x228]
vdivss xmm0, xmm0, dword [ecx + 0x20]
vmovss xmm1, dword [0x10686d28]
vaddss xmm0, xmm1, xmm0
vcvttss2si edx, xmm0
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp + 8]
mov edx, dword [0x109f2854]
vmovss xmm0, dword [ecx + 0x24]
vdivss xmm0, xmm0, dword [edx + 0x20]
vmovss xmm1, dword [0x10686d28]
vaddss xmm0, xmm1, xmm0
vcvttss2si eax, xmm0
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp + 8]
mov eax, dword [0x109f2854]
vmovss xmm0, dword [edx + 0x3490]
vdivss xmm0, xmm0, dword [eax + 0x20]
vmovss xmm1, dword [0x10686d28]
vaddss xmm0, xmm1, xmm0
vcvttss2si ecx, xmm0
mov dword [ebp - 0x234], ecx
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x1b0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x1a4], ecx
mov edx, dword [ebp - 0x1a4]
add edx, 8
mov dword [ebp - 0x238], edx
lea eax, [ebp - 0x240]
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x1a0]
mov dword [edx], ecx
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x2d4], ecx
mov edx, dword [ebp - 0x240]
mov eax, dword [edx]
mov dword [ebp - 0x244], eax
mov ecx, 0xa
shl ecx, 2
mov edx, dword [ebp - 0x244]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], edx
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x1a4]
add ecx, 8
mov dword [ebp - 0x254], ecx
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x258], edx
mov ecx, dword [ebp - 0x258]
call dword [ebp - 0x25c]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x27c], eax
mov ecx, dword [0x109f27f4]
mov dword [ebp - 0x1ac], ecx
lea edx, [ebp - 0x268]
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1ac]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x268]
mov edx, dword [ecx]
mov dword [ebp - 0x26c], edx
mov eax, 8
shl eax, 2
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x270], edx
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
mov dword [ebp - 0x278], ecx
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x280], edx
lea eax, [ebp - 0x16c]
push eax
mov ecx, dword [ebp - 0x27c]
push ecx
mov ecx, dword [ebp - 0x1ac]
call dword [ebp - 0x280]
nop
mov edx, dword [ebp - 0x174]
cmp edx, dword [ebp - 0x184]
jne 0x1037f26e
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 2
jg 0x1037f26e
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x34a1], 0
mov edx, dword [ebp + 8]
mov byte [edx + 0x34a2], 1
mov eax, dword [ebp + 8]
mov byte [eax + 0x34a0], 1
jmp 0x1037f2ec
mov ecx, dword [ebp - 0x174]
cmp ecx, dword [ebp - 0x1b0]
jle 0x1037f2a0
mov edx, dword [ebp - 0x184]
cmp edx, dword [ebp - 0x174]
jle 0x1037f2a0
mov eax, dword [ebp + 8]
mov byte [eax + 0x34a1], 1
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x34a0], 1
jmp 0x1037f2ec
mov edx, dword [ebp - 0x174]
cmp edx, dword [ebp - 0x1b0]
jne 0x1037f2ec
mov eax, dword [ebp - 0x174]
add eax, 1
cmp eax, dword [ebp - 0x184]
jne 0x1037f2d8
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x34a0], 1
mov edx, dword [ebp + 8]
mov byte [edx + 0x34a1], 0
jmp 0x1037f4ea
mov eax, dword [ebp + 8]
mov byte [eax + 0x34a1], 1
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x34a0], 1
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x34a1]
test eax, eax
je 0x1037f4ea
vmovss xmm0, dword [0x10686f7c]
vmovss dword [ebp - 0x1bc], xmm0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x188], ecx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp - 0x288]
mov dword [ebp - 0x294], edx
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
add ecx, 0xc
mov dword [ebp - 0x290], ecx
mov edx, dword [ebp - 0x290]
mov eax, dword [edx]
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x298]
mov dword [ebp - 8], edx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x188]
call fcn.1018d3e0
nop
jmp 0x1037f3a1
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jne 0x1037f3b5
mov dword [ebp - 0x1b4], 1
jmp 0x1037f3bf
mov dword [ebp - 0x1b4], 0
mov cl, byte [ebp - 0x1b4]
mov byte [ebp - 0x16d], cl
movzx edx, byte [ebp - 0x16d]
test edx, edx
jne 0x1037f3e2
mov dword [ebp - 0x1b8], 1
jmp 0x1037f3ec
mov dword [ebp - 0x1b8], 0
mov al, byte [ebp - 0x1b8]
mov byte [ebp - 0x16e], al
movzx ecx, byte [ebp - 0x16e]
test ecx, ecx
je 0x1037f4d7
lea ecx, [ebp - 0xc]
call fcn.100936a0
mov dword [ebp - 0x29c], eax
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 0x180], edx
mov eax, dword [ebp - 0x180]
mov ecx, dword [eax]
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x2a0]
cmp edx, dword [ebp + 8]
je 0x1037f462
mov eax, dword [ebp - 0x180]
mov ecx, dword [eax]
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], edx
mov eax, dword [ebp - 0x2a8]
movzx ecx, byte [eax + 0x14]
test ecx, ecx
je 0x1037f467
jmp 0x1037f398
mov edx, dword [ebp - 0x180]
mov eax, dword [edx]
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], ecx
mov edx, dword [ebp - 0x2b0]
movzx eax, byte [edx + 0x34a1]
test eax, eax
jne 0x1037f4d2
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x34a2]
test edx, edx
jne 0x1037f4d2
mov eax, dword [ebp - 0x180]
mov ecx, dword [eax]
mov dword [ebp - 0x2c4], ecx
mov edx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2b8], edx
mov eax, dword [ebp - 0x2b8]
vmovss xmm0, dword [eax + 0x88]
vmovss dword [ebp - 0x1bc], xmm0
jmp 0x1037f4d7
jmp 0x1037f398
mov ecx, dword [ebp + 8]
vmovss xmm0, dword [ebp - 0x1bc]
vmovss dword [ecx + 0x88], xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f5040
mov esp, ebp
pop ebp
ret 8