Function at 0x437a42
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x14], eax
push esi
mov esi, edx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x14]
push edi
mov edi, dword [ebx + 0xc]
shr eax, 2
test ecx, ecx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x30], eax
jbe 0x437bc3
mov eax, dword [ebp - 0x1c]
movzx edx, word [eax + 2]
mov eax, dword [eax + 4]
movzx ecx, word [edi + 2]
shl eax, 0x10
or edx, eax
mov eax, dword [edi + 4]
shl eax, 0x10
or ecx, eax
lea eax, [edx + 1]
mov dword [ebp - 4], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 1]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4aaa97
test edx, edx
jl 0x437bd4
cmp edx, dword [esi + 0x18]
jge 0x437afe
cmp dword [ebp - 4], eax
jl 0x437afe
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x18]
jl 0x4aa85b
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x60]
dec eax
cmp edx, eax
jg 0x4aaa48
test ecx, ecx
jl 0x4aaa4f
mov eax, dword [ebp - 0x5c]
dec eax
cmp ecx, eax
jg 0x4aaa56
cmp dword [ebp - 4], 0
jl 0x4aaa5d
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x10]
dec eax
cmp dword [ebp - 4], eax
jle 0x437b37
mov dword [ebp - 4], eax
cmp dword [ebp - 0x18], 0
jl 0x4aaa66
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x10]
dec eax
cmp dword [ebp - 0x18], eax
jg 0x4aaa6f
imul ecx, dword [ebp - 0x30]
cmp edx, dword [ebp - 4]
mov eax, dword [ebp - 0x34]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx + edx*4]
jne 0x4aaa77
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x30]
add eax, edx
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x114], eax
movzx eax, byte [edi + 1]
push eax
lea eax, [ebp - 0x118]
call fcn.00437971
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0x14], 4
mov dword [ecx], eax
mov eax, dword [esi + 0x84]
mov ecx, dword [ebp - 0x1c]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
mov eax, dword [esi + 0x88]
cdq
add dword [edi], eax
adc dword [edi + 4], edx
dec dword [ebx + 0x10]
cmp dword [ebx + 0x10], 0
ja 0x437aa1
mov eax, dword [ebp - 0x64]
sub eax, dword [ebx + 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
xor edx, edx
jmp 0x437b0a
cmp ecx, dword [esi + 0xa8]
jae 0x437bb9
jmp 0x437bc3
test ecx, ecx
jl 0x437afb
mov eax, dword [esi + 0x1c]
cmp ecx, eax
jge 0x437afb
mov edi, dword [ebp - 0x18]
test edi, edi
jl 0x437afb
cmp edi, eax
jge 0x437afb
imul edi, dword [ebp - 0x30]
imul ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
lea ecx, [eax + ecx*4]
lea eax, [eax + edi*4]
mov edi, edx
shl edi, 2
mov edx, dword [edi + ecx]
mov edi, dword [edi + eax]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 4]
shl edx, 2
cmp byte [0x54188233], 0
mov ecx, dword [edx + ecx]
mov eax, dword [edx + eax]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], eax
je 0x4aa8e5
mov edi, dword [ebp - 0x10]
movzx edx, byte [edi + 1]
movd xmm3, dword [ebp - 0x6c]
movd xmm0, edx
pshuflw xmm1, xmm0, 0
movd xmm0, dword [ebp - 0x74]
movd xmm2, ecx
movd xmm4, eax
jmp 0x4aab72
xor eax, eax
mov edx, 0xff
mov ecx, dword [ebp + eax - 0x74]
mov edi, ecx
shr edi, 0x18
mov dword [ebp + eax - 0x140], edi
mov edi, ecx
shr edi, 0x10
and edi, edx
mov dword [ebp + eax - 0x94], edi
movzx edi, ch
and ecx, edx
mov dword [ebp + eax - 0xe0], edi
mov dword [ebp + eax - 0x130], ecx
add eax, 4
cmp eax, 0x10
jl 0x4aa8ec
mov eax, dword [ebp - 0x10]
movzx edi, byte [eax + 1]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
sub ecx, eax
imul ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x13c]
shl eax, 8
add ecx, eax
mov eax, dword [ebp - 0x140]
imul ecx, edi
sub edx, eax
imul edx, dword [ebp - 0xc]
shl eax, 8
add edx, eax
mov dword [ebp - 4], 0x100
sub dword [ebp - 4], edi
imul edx, dword [ebp - 4]
lea eax, [ecx + edx + 0x8000]
mov edx, dword [ebp - 0x88]
sar eax, 0x10
xor ecx, ecx
mov ch, al
mov eax, dword [ebp - 0x8c]
sub edx, eax
imul edx, dword [ebp - 0xc]
shl eax, 8
add edx, eax
imul edx, edi
mov edi, dword [ebp - 0x90]
sub edi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x94]
imul edi, dword [ebp - 0xc]
shl eax, 8
add edi, eax
imul edi, dword [ebp - 4]
lea eax, [edx + edi + 0x8000]
mov edx, dword [ebp - 0xd4]
mov edi, dword [ebp - 0xdc]
sub edi, dword [ebp - 0xe0]
sar eax, 0x10
imul edi, dword [ebp - 0xc]
mov cl, al
mov eax, dword [ebp - 0xd8]
sub edx, eax
imul edx, dword [ebp - 0xc]
shl eax, 8
add edx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 1]
imul edx, eax
mov eax, dword [ebp - 0xe0]
shl eax, 8
add edi, eax
imul edi, dword [ebp - 4]
lea eax, [edx + edi + 0x8000]
mov edx, dword [ebp - 0x124]
sar eax, 0x10
mov edi, dword [ebp - 0x12c]
movzx eax, al
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 0x128]
sub edx, eax
imul edx, dword [ebp - 0xc]
shl eax, 8
add edx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 1]
imul edx, eax
sub edi, dword [ebp - 0x130]
mov eax, dword [ebp - 0x130]
jmp 0x4aad3e
mov edx, eax
jmp 0x437b0a
xor ecx, ecx
jmp 0x437b1e
mov ecx, eax
jmp 0x437b1e
and dword [ebp - 4], 0
jmp 0x437b37
and dword [ebp - 0x18], 0
jmp 0x437b51
mov dword [ebp - 0x18], eax
jmp 0x437b51
push dword [ebp - 0xc]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 4]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x120]
jmp 0x437b8d
cmp eax, 5
jne 0x4aad6d
cmp dword [ebp - 4], 0
jl 0x4aad65
cmp edx, dword [esi + 0x18]
jge 0x4aad65
cmp dword [ebp - 0x18], 0
jl 0x4aad65
cmp ecx, dword [esi + 0x1c]
jge 0x4aad65
mov eax, dword [esi + 0x68]
and dword [ebp - 8], 0
and dword [ebp - 0x2c], 0
cmp ecx, dword [esi + 0x1c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
jae 0x4aaaef
imul ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
lea eax, [eax + ecx*4]
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x1c]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
jae 0x4aab06
imul eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x2c], eax
cmp edx, dword [esi + 0x18]
mov ecx, dword [ebp - 8]
jae 0x4aab25
test ecx, ecx
je 0x4aab18
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4aab25
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x18]
jae 0x4aab44
test ecx, ecx
je 0x4aab37
mov ecx, dword [ecx + eax*4]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4aab44
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x48], eax
cmp byte [0x54188233], 0
je 0x4aabe0
movzx eax, byte [edi + 1]
movd xmm2, dword [ebp - 0x50]
movd xmm3, dword [ebp - 0x4c]
movd xmm4, dword [ebp - 0x48]
movd xmm0, eax
pshuflw xmm1, xmm0, 0
movd xmm0, dword [ebp - 0x54]
punpckldq xmm0, xmm2
movdqa xmm2, xmmword [0x5402ba20]
punpcklbw xmm0, xmm2
punpckldq xmm3, xmm4
punpcklbw xmm3, xmm2
psubw xmm3, xmm0
punpcklqdq xmm1, xmm1
pmullw xmm3, xmm1
movdqa xmm1, xmmword [0x5402c2c0]
paddw xmm3, xmm1
psrlw xmm3, 8
paddb xmm0, xmm3
movd xmm3, dword [ebp - 0xc]
movdqa xmm2, xmm0
psrldq xmm2, 8
psubw xmm2, xmm0
pshuflw xmm3, xmm3, 0
pmullw xmm2, xmm3
paddw xmm2, xmm1
psrlw xmm2, 8
paddb xmm0, xmm2
packuswb xmm0, xmm0
movd eax, xmm0
jmp 0x437b92
xor eax, eax
mov ecx, dword [ebp + eax - 0x54]
mov edx, ecx
shr edx, 0x18
mov dword [ebp + eax - 0x150], edx
mov edx, ecx
shr edx, 0x10
and edx, 0xff
mov dword [ebp + eax - 0x100], edx
movzx edx, ch
and ecx, 0xff
mov dword [ebp + eax - 0xa4], edx
mov dword [ebp + eax - 0xb4], ecx
add eax, 4
cmp eax, 0x10
jl 0x4aabe2
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x144]
sub ecx, eax
imul ecx, dword [ebp - 0xc]
movzx edi, byte [edi + 1]
mov edx, dword [ebp - 0x14c]
shl eax, 8
add ecx, eax
mov eax, dword [ebp - 0x150]
imul ecx, edi
sub edx, eax
imul edx, dword [ebp - 0xc]
shl eax, 8
add edx, eax
mov dword [ebp - 4], 0x100
sub dword [ebp - 4], edi
imul edx, dword [ebp - 4]
lea eax, [ecx + edx + 0x8000]
mov edx, dword [ebp - 0xf4]
sar eax, 0x10
xor ecx, ecx
mov ch, al
mov eax, dword [ebp - 0xf8]
sub edx, eax
imul edx, dword [ebp - 0xc]
shl eax, 8
add edx, eax
imul edx, edi
mov edi, dword [ebp - 0xfc]
sub edi, dword [ebp - 0x100]
mov eax, dword [ebp - 0x100]
imul edi, dword [ebp - 0xc]
shl eax, 8
add edi, eax
imul edi, dword [ebp - 4]
lea eax, [edx + edi + 0x8000]
mov edx, dword [ebp - 0x98]
mov edi, dword [ebp - 0xa0]
sub edi, dword [ebp - 0xa4]
sar eax, 0x10
imul edi, dword [ebp - 0xc]
mov cl, al
mov eax, dword [ebp - 0x9c]
sub edx, eax
imul edx, dword [ebp - 0xc]
shl eax, 8
add edx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 1]
imul edx, eax
mov eax, dword [ebp - 0xa4]
shl eax, 8
add edi, eax
imul edi, dword [ebp - 4]
lea eax, [edx + edi + 0x8000]
mov edx, dword [ebp - 0xa8]
sar eax, 0x10
mov edi, dword [ebp - 0xb0]
movzx eax, al
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 0xac]
sub edx, eax
imul edx, dword [ebp - 0xc]
shl eax, 8
add edx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 1]
imul edx, eax
sub edi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xb4]
imul edi, dword [ebp - 0xc]
shl eax, 8
add edi, eax
imul edi, dword [ebp - 4]
lea eax, [edx + edi + 0x8000]
mov edi, dword [ebp - 0x10]
sar eax, 0x10
movzx eax, al
shl ecx, 8
or eax, ecx
jmp 0x437b92
mov eax, dword [esi + 0x68]
jmp 0x437b92
mov eax, dword [esi + 0xd0]
cmp edx, eax
mov dword [ebp - 8], eax
jb 0x4aadb4
add eax, eax
cmp edx, eax
jae 0x4aad85
sub edx, dword [ebp - 8]
jmp 0x4aadb4
mov eax, dword [ebp - 8]
mov edi, edx
neg edi
cmp edi, eax
mov edi, dword [ebp - 0x10]
ja 0x4aad97
add edx, eax
jmp 0x4aadb4
test edx, edx
jl 0x4aada3
mov eax, edx
cdq
idiv dword [ebp - 8]
jmp 0x4aadb4
or eax, 0xffffffff
sub eax, edx
cdq
idiv dword [ebp - 8]
mov eax, edx
mov edx, dword [ebp - 8]
sub edx, eax
dec edx
cmp edx, dword [esi + 0x18]
mov dword [ebp - 0x28], edx
jb 0x4aadc5
mov eax, dword [ebp - 8]
sub eax, edx
dec eax
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp edx, eax
jb 0x4aae10
add eax, eax
cmp edx, eax
jae 0x4aadda
sub edx, dword [ebp - 8]
jmp 0x4aae10
mov eax, edx
mov edx, dword [ebp - 8]
neg eax
cmp eax, edx
ja 0x4aadec
mov eax, dword [ebp - 4]
add edx, eax
jmp 0x4aae10
cmp dword [ebp - 4], 0
mov edi, dword [ebp - 0x10]
jl 0x4aadfe
mov eax, dword [ebp - 4]
cdq
idiv dword [ebp - 8]
jmp 0x4aae10
or eax, 0xffffffff
sub eax, dword [ebp - 4]
cdq
idiv dword [ebp - 8]
mov eax, edx
mov edx, dword [ebp - 8]
sub edx, eax
dec edx
cmp edx, dword [esi + 0x18]
mov dword [ebp - 4], edx
jb 0x4aae21
mov eax, dword [ebp - 8]
sub eax, edx
dec eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xd4]
cmp ecx, eax
mov dword [ebp - 8], eax
mov edx, ecx
jb 0x4aae6a
lea edx, [eax + eax]
cmp ecx, edx
jae 0x4aae3d
sub ecx, eax
mov edx, ecx
jmp 0x4aae6a
mov edx, ecx
neg edx
cmp edx, eax
ja 0x4aae4a
lea edx, [ecx + eax]
jmp 0x4aae6a
test ecx, ecx
jl 0x4aae56
mov eax, ecx
cdq
idiv dword [ebp - 8]
jmp 0x4aae67
or eax, 0xffffffff
sub eax, ecx
cdq
idiv dword [ebp - 8]
mov eax, edx
mov edx, dword [ebp - 8]
sub edx, eax
dec edx
mov eax, dword [ebp - 8]
cmp edx, dword [esi + 0x1c]
mov ecx, edx
mov dword [ebp - 0x2c], edx
jb 0x4aae7c
mov ecx, eax
sub ecx, edx
dec ecx
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
cmp edx, eax
jb 0x4aaec5
mov eax, dword [ebp - 8]
add eax, eax
cmp edx, eax
jae 0x4aae91
sub edx, dword [ebp - 8]
jmp 0x4aaec5
mov eax, dword [ebp - 8]
neg edx
cmp edx, eax
ja 0x4aaea1
mov edx, dword [ebp - 0x18]
add edx, eax
jmp 0x4aaec5
cmp dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x2c]
jl 0x4aaeb3
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 8]
jmp 0x4aaec5
or eax, 0xffffffff
sub eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 8]
mov eax, edx
mov edx, dword [ebp - 8]
sub edx, eax
dec edx
cmp edx, dword [esi + 0x1c]
mov eax, edx
jb 0x4aaed2
mov eax, dword [ebp - 8]
sub eax, edx
dec eax
imul ecx, dword [ebp - 0x30]
imul eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
lea ecx, [edx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x28]
shl edx, 2
mov dword [ebp - 0x28], edx
mov edx, dword [edx + ecx]
mov dword [ebp - 0x84], edx
mov edx, dword [ebp - 4]
shl edx, 2
cmp byte [0x54188233], 0
mov ecx, dword [edx + ecx]
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + eax]
mov eax, dword [edx + eax]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], eax
je 0x4aafad
movzx edx, byte [edi + 1]
movd xmm2, dword [ebp - 0x80]
movd xmm0, edx
pshuflw xmm1, xmm0, 0
movd xmm0, dword [ebp - 0x84]
punpckldq xmm0, xmm2
movdqa xmm2, xmmword [0x5402ba20]
punpcklbw xmm0, xmm2
movd xmm4, eax
movd xmm3, ecx
punpckldq xmm3, xmm4
punpcklbw xmm3, xmm2
psubw xmm3, xmm0
punpcklqdq xmm1, xmm1
pmullw xmm3, xmm1
movdqa xmm1, xmmword [0x5402c2c0]
paddw xmm3, xmm1
psrlw xmm3, 8
paddb xmm0, xmm3
movd xmm3, dword [ebp - 0xc]
movdqa xmm2, xmm0
psrldq xmm2, 8
psubw xmm2, xmm0
pshuflw xmm3, xmm3, 0
pmullw xmm2, xmm3
paddw xmm2, xmm1
psrlw xmm2, 8
paddb xmm0, xmm2
packuswb xmm0, xmm0
movd eax, xmm0
jmp 0x4ab130
xor eax, eax
mov ecx, dword [ebp + eax - 0x84]
mov edx, ecx
shr edx, 0x18
mov dword [ebp + eax - 0x160], edx
mov edx, ecx
shr edx, 0x10
and edx, 0xff
mov dword [ebp + eax - 0xd0], edx
movzx edx, ch
and ecx, 0xff
mov dword [ebp + eax - 0xf0], edx
mov dword [ebp + eax - 0x110], ecx
add eax, 4
cmp eax, 0x10
jl 0x4aafaf
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
sub ecx, eax
imul ecx, dword [ebp - 0xc]
movzx edi, byte [edi + 1]
shl eax, 8
add ecx, eax
mov eax, dword [ebp - 0x160]
imul ecx, edi
mov edx, dword [ebp - 0x15c]
sub edx, eax
imul edx, dword [ebp - 0xc]
shl eax, 8
add edx, eax
mov dword [ebp - 4], 0x100
sub dword [ebp - 4], edi
imul edx, dword [ebp - 4]
lea eax, [ecx + edx + 0x8000]
mov edx, dword [ebp - 0xc4]
sar eax, 0x10
xor ecx, ecx
mov ch, al
mov eax, dword [ebp - 0xc8]
sub edx, eax
imul edx, dword [ebp - 0xc]
shl eax, 8
add edx, eax
imul edx, edi
mov edi, dword [ebp - 0xcc]
sub edi, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd0]
imul edi, dword [ebp - 0xc]
shl eax, 8
add edi, eax
imul edi, dword [ebp - 4]
lea eax, [edx + edi + 0x8000]
mov edx, dword [ebp - 0xe4]
sar eax, 0x10
mov cl, al
mov eax, dword [ebp - 0xe8]
sub edx, eax
imul edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0xec]
sub edi, dword [ebp - 0xf0]
shl eax, 8
imul edi, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 1]
imul edx, eax
mov eax, dword [ebp - 0xf0]
shl eax, 8
add edi, eax
imul edi, dword [ebp - 4]
lea eax, [edx + edi + 0x8000]
mov edx, dword [ebp - 0x104]
mov edi, dword [ebp - 0x10c]
sub edi, dword [ebp - 0x110]
sar eax, 0x10
imul edi, dword [ebp - 0xc]
movzx eax, al
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 0x108]
sub edx, eax
imul edx, dword [ebp - 0xc]
shl eax, 8
add edx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 1]
imul edx, eax
mov eax, dword [ebp - 0x110]
shl eax, 8
add edi, eax
imul edi, dword [ebp - 4]
lea eax, [edx + edi + 0x8000]
mov edi, dword [ebp - 0x10]
sar eax, 0x10
movzx eax, al
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add dword [ebp - 0x14], 4
mov dword [edx], eax
mov eax, dword [esi + 0x84]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
mov eax, dword [esi + 0x88]
cdq
add dword [edi], eax
adc dword [edi + 4], edx
mov eax, dword [esi + 0xd0]
mov edx, dword [ecx]
dec dword [ebx + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
mov eax, dword [ebp - 8]
cmp edx, eax
jb 0x4ab22b
lea ecx, [eax + eax]
cmp edx, ecx
jae 0x4ab199
xor ecx, ecx
shld ecx, eax, 0x10
shl eax, 0x10
sub dword [ebp - 0x24], eax
sbb dword [ebp - 0x20], ecx
jmp 0x4ab228
neg edx
cmp edx, eax
ja 0x4ab1ae
mov ecx, 0x10000
mul ecx
add dword [ebp - 0x24], eax
adc dword [ebp - 0x20], edx
jmp 0x4ab228
cmp dword [ebp - 0x20], 0
jl 0x4ab1d7
jg 0x4ab1bc
cmp dword [ebp - 0x24], 0
jb 0x4ab1d7
mov eax, dword [ebp - 8]
xor ecx, ecx
shld ecx, eax, 0x10
push ecx
shl eax, 0x10
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.00495edd
jmp 0x4ab222
mov edx, dword [ebp - 8]
push 0xffffffffffffffff
pop ecx
or eax, 0xffffffff
xor esi, esi
sub eax, dword [ebp - 0x24]
mov edi, esi
sbb ecx, dword [ebp - 0x20]
shld edi, edx, 0x10
push edi
shl edx, 0x10
push edx
push ecx
push eax
call fcn.00495edd
push esi
push 0x10000
push esi
push dword [ebp - 8]
mov edi, eax
mov eax, edx
mov dword [ebp - 0x28], eax
call fcn.00412e05
sub eax, edi
mov edi, dword [ebp - 0x28]
sbb edx, edi
mov edi, dword [ebp - 0x10]
sub eax, 1
sbb edx, esi
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 4], eax
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [esi + 0xd4]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
shr ecx, 0x10
shl edx, 0x10
or ecx, edx
cmp ecx, eax
mov dword [ebp - 0x28], eax
jb 0x4ab317
lea edx, [eax + eax]
cmp ecx, edx
jae 0x4ab279
mov ecx, dword [ebp - 0x3c]
xor edx, edx
shld edx, eax, 0x10
shl eax, 0x10
sub ecx, eax
mov eax, dword [ebp - 0x38]
sbb eax, edx
jmp 0x4ab31d
neg ecx
cmp ecx, eax
ja 0x4ab295
mov ecx, 0x10000
mul ecx
mov ecx, dword [ebp - 0x3c]
add ecx, eax
mov eax, dword [ebp - 0x38]
adc eax, edx
jmp 0x4ab31d
cmp dword [ebp - 0x38], 0
jl 0x4ab2bf
jg 0x4ab2a3
cmp dword [ebp - 0x3c], 0
jb 0x4ab2bf
xor ecx, ecx
shld ecx, eax, 0x10
push ecx
shl eax, 0x10
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.00495edd
mov ecx, eax
mov eax, edx
jmp 0x4ab31d
and dword [ebp - 0xbc], 0
mov ecx, dword [ebp - 0xbc]
shld ecx, eax, 0x10
push 0xffffffffffffffff
pop esi
shl eax, 0x10
or edx, 0xffffffff
sub edx, dword [ebp - 0x3c]
push ecx
sbb esi, dword [ebp - 0x38]
push eax
push esi
push edx
call fcn.00495edd
push 0
push 0x10000
push dword [ebp - 0xbc]
mov esi, eax
push dword [ebp - 0x28]
mov edi, edx
call fcn.00412e05
sub eax, esi
mov esi, dword [ebp - 0x58]
sbb edx, edi
mov edi, dword [ebp - 0x10]
sub eax, 1
sbb edx, 0
mov ecx, eax
mov eax, edx
jmp 0x4ab31d
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x1c]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [edx]
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 4]
cmp edx, dword [esi + 0xc4]
mov dword [ebp - 0x40], edx
jg 0x437bb9
jl 0x4ab353
mov edx, dword [ebp - 0x44]
cmp edx, dword [esi + 0xc0]
jae 0x437bb9
mov edx, dword [ebp - 0x40]
cmp eax, dword [esi + 0xcc]
jg 0x437bb9
jl 0x4ab36d
cmp ecx, dword [esi + 0xc8]
jae 0x437bb9
cmp edx, dword [esi + 0xb4]
jg 0x4ab3a2
jl 0x4ab385
mov edx, dword [ebp - 0x44]
cmp edx, dword [esi + 0xb0]
jae 0x4ab3a2
mov edx, dword [ebp - 0x40]
cmp edx, dword [esi + 0xa4]
jg 0x437bb9
jl 0x4ab3a2
mov edx, dword [ebp - 0x44]
cmp edx, dword [esi + 0xa0]
jae 0x437bb9
cmp eax, dword [esi + 0xbc]
jg 0x437bc3
jl 0x4ab3bc
cmp ecx, dword [esi + 0xb8]
jae 0x437bc3
cmp eax, dword [esi + 0xac]
jl 0x437bc3
jle 0x437bdb
jmp 0x437bb9