Function at 0x4cd100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf8
shr edx, 2
mov dword [esp + 0xcc], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0xdc], edx
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx]
push ebx
push ebp
mov dword [esp + 0xec], edx
mov edx, dword [eax + 4]
cmp edx, dword [eax + 0x24]
mov dword [esp + 0xe8], ecx
lea ecx, [eax + 0x20]
lea ebp, [eax + 0x40]
push edi
mov edi, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], ebp
jle 0x4cd150
mov edi, ecx
mov dword [esp + 0x30], eax
mov ecx, eax
mov eax, dword [ecx + 4]
cmp eax, dword [ebp + 4]
jle 0x4cd166
mov dword [esp + 0x30], ebp
mov dword [esp + 0x58], ecx
mov ebp, ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 4]
cmp edx, dword [ecx + 4]
jle 0x4cd178
mov eax, edi
mov edi, ecx
mov dword [esp + 0x30], eax
mov ecx, eax
mov eax, dword [edi + 8]
imul eax, dword [esi]
shr eax, 8
mov dword [edi + 8], eax
mov edx, dword [esi + 4]
imul edx, dword [edi + 0xc]
shr edx, 8
mov dword [edi + 0xc], edx
mov eax, dword [esi + 8]
imul eax, dword [edi + 0x10]
shr eax, 8
mov dword [edi + 0x10], eax
mov edx, dword [esi + 0xc]
imul edx, dword [edi + 0x14]
shr edx, 8
mov dword [edi + 0x14], edx
mov eax, dword [ecx + 8]
imul eax, dword [esi]
mov edx, dword [ecx + 0xc]
shr eax, 8
mov dword [ecx + 8], eax
imul edx, dword [esi + 4]
mov eax, dword [ecx + 0x10]
shr edx, 8
mov dword [ecx + 0xc], edx
imul eax, dword [esi + 8]
shr eax, 8
mov dword [ecx + 0x10], eax
mov edx, dword [esi + 0xc]
imul edx, dword [ecx + 0x14]
shr edx, 8
mov dword [ecx + 0x14], edx
mov eax, dword [ebp + 8]
imul eax, dword [esi]
mov edx, dword [ebp + 0xc]
shr eax, 8
mov dword [ebp + 8], eax
imul edx, dword [esi + 4]
mov eax, dword [ebp + 0x10]
shr edx, 8
mov dword [ebp + 0xc], edx
imul eax, dword [esi + 8]
shr eax, 8
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0xc]
imul eax, dword [ebp + 0x14]
shr eax, 8
mov dword [ebp + 0x14], eax
mov edx, dword [edi + 4]
mov dword [esp + 0x10], eax
lea eax, [edx + 0xffff]
sar eax, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 4]
lea ebx, [eax + 0xffff]
sar ebx, 0x10
cmp dword [esp + 0x34], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0xb8], ebx
je 0x4ce798
mov ecx, dword [ecx + 4]
sub eax, edx
cdq
push edx
push eax
add ecx, 0xffff
push 0x10000
sar ecx, 0x10
push 0
mov dword [esp + 0x7c], ecx
call fcn.006372b0
mov ebx, eax
mov eax, dword [ebp]
mov ecx, edx
mov edx, dword [edi]
push ecx
sub eax, edx
mov dword [esp + 0x40], edx
cdq
push ebx
push edx
push eax
mov dword [esp + 0x28], ecx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [edi + 8]
mov dword [esp + 0xe4], eax
mov eax, dword [ebp + 8]
sub eax, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
push ecx
cdq
push ebx
push edx
push eax
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [edi + 0xc]
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
push ecx
cdq
push ebx
push edx
push eax
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [edi + 0x10]
mov dword [esp + 0xdc], eax
mov eax, dword [ebp + 0x10]
sub eax, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
push ecx
cdq
push ebx
push edx
push eax
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [edi + 0x14]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
push ecx
cdq
push ebx
push edx
push eax
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [edi + 0x18]
mov dword [esp + 0xcc], eax
mov eax, dword [ebp + 0x18]
sub eax, ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x18]
push ecx
cdq
push ebx
push edx
push eax
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov edi, dword [edi + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 0x1c]
push ecx
sub eax, edi
cdq
push ebx
push edx
push eax
mov dword [esp + 0x88], edi
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0xc]
mov dword [esp + 0xc8], eax
mov eax, dword [edx + 4]
sub eax, edi
cdq
mov ebp, eax
mov eax, dword [esp + 0xe4]
mov ecx, edx
cdq
push ecx
push ebp
push edx
push eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
cmp ecx, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], ecx
je 0x4ce798
mov eax, dword [esp + 0x34]
shl eax, 0x10
sub eax, edi
cdq
mov ebx, edx
mov edx, dword [esp + 0x18]
push ebx
mov edi, eax
mov eax, dword [esp + 0x18]
push edi
push edx
push eax
mov dword [esp + 0x110], ebx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x3c]
push ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xd8]
cdq
push edi
push edx
push eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x24]
push ebx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xe0]
cdq
push edi
push edx
push eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x28]
push ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xe4]
cdq
push edi
push edx
push eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x20]
push ebx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xd0]
cdq
push edi
push edx
push eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x1c]
push ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xd4]
cdq
push edi
push edx
push eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x74]
push ebx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xcc]
cdq
push edi
push edx
push eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
cdq
push edx
push eax
push 0x10000
push 0
call fcn.006372b0
mov ecx, dword [esp + 0x60]
push ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x94]
push ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x94]
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ebx, edx
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [edx + 8]
cdq
sub eax, ecx
sbb edx, ebx
mov ecx, eax
mov eax, dword [esp + 0x24]
mov ebx, edx
cdq
sub ecx, eax
mov eax, dword [esp + 0x14]
sbb ebx, edx
mov edx, dword [esp + 0x18]
push edx
push eax
push ebx
push ecx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x98]
push ecx
push ebp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x9c]
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ebx, edx
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [edx + 0xc]
cdq
sub eax, ecx
sbb edx, ebx
mov ecx, eax
mov eax, dword [esp + 0x28]
mov ebx, edx
cdq
sub ecx, eax
mov eax, dword [esp + 0x14]
sbb ebx, edx
mov edx, dword [esp + 0x18]
push edx
push eax
push ebx
push ecx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x88]
push ecx
push ebp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x8c]
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ebx, edx
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [edx + 0x10]
cdq
sub eax, ecx
sbb edx, ebx
mov ecx, eax
mov eax, dword [esp + 0x20]
mov ebx, edx
cdq
sub ecx, eax
mov eax, dword [esp + 0x14]
sbb ebx, edx
mov edx, dword [esp + 0x18]
push edx
push eax
push ebx
push ecx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x80]
push ecx
push ebp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x84]
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ebx, edx
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [edx + 0x14]
cdq
sub eax, ecx
sbb edx, ebx
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov ebx, edx
cdq
sub ecx, eax
mov eax, dword [esp + 0x14]
sbb ebx, edx
mov edx, dword [esp + 0x18]
push edx
push eax
push ebx
push ecx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0xf8]
push ecx
push ebp
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xfc]
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ebx, edx
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [edx + 0x18]
cdq
sub eax, ecx
sbb edx, ebx
mov ecx, eax
mov eax, dword [esp + 0x74]
mov ebx, edx
cdq
sub ecx, eax
mov eax, dword [esp + 0x14]
sbb ebx, edx
mov edx, dword [esp + 0x18]
push edx
push eax
push ebx
push ecx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0xc0]
push ecx
push ebp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xc4]
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ebx, edx
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [edx + 0x1c]
cdq
sub eax, ecx
sbb edx, ebx
mov ecx, eax
mov eax, dword [esp + 0x78]
mov ebx, edx
cdq
sub ecx, eax
mov eax, dword [esp + 0x14]
sbb ebx, edx
mov edx, dword [esp + 0x18]
push edx
push eax
push ebx
push ecx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [esp + 0x34]
mov edx, ecx
imul edx, dword [esp + 0xd8]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x108]
lea edx, [eax + edx*4]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], edx
sub eax, ecx
mov dword [esp + 0x2c], eax
je 0x4cdf8c
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x60]
push ecx
cdq
push ebp
mov ebx, eax
push 0x10000
mov eax, edx
push 0
mov dword [esp + 0x20], eax
call fcn.006372b0
push edx
push eax
mov eax, dword [esp + 0x18]
push eax
push ebx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, dword [esp + 0x100]
push ecx
mov dword [esp + 0x14], eax
cdq
push edi
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [edx]
mov edx, dword [esp + 0x68]
add ecx, dword [esp + 0x3c]
cmp edx, eax
jge 0x4cdbcb
cmp dword [esp + 0x2c], 0
jle 0x4cdf8c
mov eax, dword [esp + 0xa8]
cdq
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x80], edx
cdq
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x88], edx
cdq
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x98], edx
cdq
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x90], edx
cdq
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x60], edx
cdq
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x18], edx
lea edx, [eax*4]
mov eax, dword [esp + 0x38]
add ecx, 0xffff
add eax, 0xffff
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x80]
sub dword [esp + 0x2c], 1
and ebp, 0xffff0000
mov eax, ebp
sub eax, dword [esp + 0x38]
mov dword [esp + 0xf4], ebp
cdq
mov ebx, edx
mov edx, dword [esp + 0x7c]
push ebx
mov edi, eax
push edi
push ecx
push edx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x84]
push ebx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x8c]
push edi
push eax
push ecx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x98]
push ebx
push edi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x9c]
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, dword [esp + 0x90]
add eax, dword [esp + 0x54]
mov edx, dword [esp + 0x8c]
push ebx
push edi
push ecx
push edx
mov dword [esp + 0x84], eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
push ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x64]
push edi
push eax
push ecx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
push ebx
push edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov edx, dword [esp + 0x34]
mov ecx, eax
add ecx, dword [esp + 0x40]
sar ebp, 0x10
lea eax, [edx + ebp*4]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov dword [esp + 0xbc], eax
and ebp, 0xffff0000
sub ebp, dword [esp + 0xf4]
sar ebp, 0x10
test ebp, ebp
jle 0x4cdb5a
mov edi, dword [esp + 0x20]
mov edx, ecx
shr edx, 0x10
imul edx, dword [esp + 0xe8]
shr edi, 0x10
add edx, edi
sub ebp, 1
cmp edx, dword [esp + 0xf0]
jae 0x4cda0b
mov edi, dword [esp + 0xec]
mov ebx, dword [edi + edx*4]
jmp 0x4cda0d
xor ebx, ebx
mov edi, ebx
shr edi, 0x18
cmp edi, 8
jbe 0x4cdb06
mov ecx, dword [esi + 4]
imul ecx, dword [esp + 0x78]
mov edx, dword [esi]
imul edx, dword [esp + 0x70]
shr ecx, 0x18
mov eax, ebx
and eax, 0xff0000
imul ecx, eax
mov eax, dword [esi + 0xc]
imul eax, dword [esp + 0x1c]
shr edx, 0x18
imul edx, edi
shr eax, 0x18
movzx edi, bl
imul eax, edi
and ecx, 0xff0000ff
and eax, 0xff00
or ecx, eax
mov eax, dword [esi + 8]
imul eax, dword [esp + 0x74]
and ebx, 0xff00
shr eax, 0x18
imul eax, ebx
shr edx, 8
and eax, 0xff0000
or ecx, eax
mov eax, dword [esp + 0xbc]
mov ebx, dword [eax]
shr ecx, 8
mov edi, ecx
and ecx, 0xff00
imul ecx, edx
and edi, 0xff00ff
imul edi, edx
shr ecx, 8
and ecx, 0xff00
shr edi, 8
and edi, 0xff00ff
mov edx, ebx
and edx, 0xff00ff
add edx, edi
mov edi, edx
and ebx, 0xff00
add ebx, ecx
mov ecx, edx
shr ecx, 8
and ecx, 1
shr edi, 0x18
imul ecx, ecx, 0xff
and edi, 1
imul edi, edi, 0xffff0000
or ecx, edi
or ecx, edx
mov edx, ebx
shr edx, 0x10
and edx, 1
neg edx
shl edx, 8
or edx, ebx
and ecx, 0xffff00ff
and edx, 0xff00
or ecx, edx
or ecx, 0xff000000
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xa8]
add dword [esp + 0x70], edx
mov edx, dword [esp + 0xa4]
add dword [esp + 0x78], edx
mov edx, dword [esp + 0xb4]
add dword [esp + 0x74], edx
mov edx, dword [esp + 0xa0]
add dword [esp + 0x1c], edx
mov edx, dword [esp + 0xac]
add ecx, dword [esp + 0xb0]
add dword [esp + 0x20], edx
add eax, 4
test ebp, ebp
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc], ecx
jg 0x4cd9dd
mov eax, dword [esp + 0xe4]
add dword [esp + 0x38], eax
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x24], eax
add dword [esp + 0x34], ecx
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xe0]
add dword [esp + 0x48], edx
add dword [esp + 0x4c], eax
add dword [esp + 0x54], ecx
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc8]
add dword [esp + 0x50], edx
add dword [esp + 0x44], eax
add dword [esp + 0x40], ecx
cmp dword [esp + 0x2c], 0
jg 0x4cd8b2
jmp 0x4cdf8c
jle 0x4cdf8c
cmp dword [esp + 0x2c], 0
jle 0x4cdf8c
mov eax, dword [esp + 0xa8]
cdq
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x80], edx
cdq
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x88], edx
cdq
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x98], edx
cdq
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x90], edx
cdq
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x60], edx
cdq
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x14], eax
lea eax, [edx*4]
mov edx, dword [esp + 0x38]
add edx, 0xffff
add ecx, 0xffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x70], ecx
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
sub dword [esp + 0x2c], 1
and ebp, 0xffff0000
mov eax, ebp
sub eax, dword [esp + 0x38]
mov dword [esp + 0xf4], ebp
cdq
mov ebx, edx
push ebx
mov edi, eax
mov eax, dword [esp + 0x84]
push edi
push eax
push ecx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x48]
mov edx, dword [esp + 0x88]
push ebx
push edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x8c]
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, dword [esp + 0x98]
add eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x94]
push ebx
push edi
push ecx
push edx
mov dword [esp + 0x38], eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x8c]
push ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x94]
push edi
push eax
push ecx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
push ebx
push edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x64]
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, dword [esp + 0x18]
add eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
push ebx
push edi
push ecx
push edx
mov dword [esp + 0x84], eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, eax
add ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
sar ebp, 0x10
lea eax, [eax + ebp*4]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc], eax
and ebp, 0xffff0000
sub ebp, dword [esp + 0xf4]
sar ebp, 0x10
test ebp, ebp
jle 0x4cdf20
mov edi, dword [esp + 0x74]
mov edx, ecx
shr edx, 0x10
imul edx, dword [esp + 0xe8]
shr edi, 0x10
add edx, edi
sub ebp, 1
cmp edx, dword [esp + 0xf0]
jae 0x4cddd1
mov edi, dword [esp + 0xec]
mov ebx, dword [edi + edx*4]
jmp 0x4cddd3
xor ebx, ebx
mov edi, ebx
shr edi, 0x18
cmp edi, 8
jbe 0x4cdecc
mov ecx, dword [esi + 4]
imul ecx, dword [esp + 0x28]
mov edx, dword [esi]
imul edx, dword [esp + 0x24]
shr ecx, 0x18
mov eax, ebx
and eax, 0xff0000
imul ecx, eax
mov eax, dword [esi + 0xc]
imul eax, dword [esp + 0x1c]
shr edx, 0x18
imul edx, edi
shr eax, 0x18
movzx edi, bl
imul eax, edi
and ecx, 0xff0000ff
and eax, 0xff00
or ecx, eax
mov eax, dword [esi + 8]
imul eax, dword [esp + 0x20]
and ebx, 0xff00
shr eax, 0x18
imul eax, ebx
shr edx, 8
and eax, 0xff0000
or ecx, eax
mov eax, dword [esp + 0xc]
mov ebx, dword [eax]
shr ecx, 8
mov edi, ecx
and ecx, 0xff00
imul ecx, edx
and edi, 0xff00ff
imul edi, edx
shr ecx, 8
and ecx, 0xff00
shr edi, 8
and edi, 0xff00ff
mov edx, ebx
and edx, 0xff00ff
add edx, edi
mov edi, edx
and ebx, 0xff00
add ebx, ecx
mov ecx, edx
shr ecx, 8
and ecx, 1
shr edi, 0x18
imul ecx, ecx, 0xff
and edi, 1
imul edi, edi, 0xffff0000
or ecx, edi
or ecx, edx
mov edx, ebx
shr edx, 0x10
and edx, 1
neg edx
shl edx, 8
or edx, ebx
and ecx, 0xffff00ff
and edx, 0xff00
or ecx, edx
or ecx, 0xff000000
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xa8]
add dword [esp + 0x24], edx
mov edx, dword [esp + 0xa4]
add dword [esp + 0x28], edx
mov edx, dword [esp + 0xb4]
add dword [esp + 0x20], edx
mov edx, dword [esp + 0xa0]
add dword [esp + 0x1c], edx
mov edx, dword [esp + 0xac]
add ecx, dword [esp + 0xb0]
add dword [esp + 0x74], edx
add eax, 4
test ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0xbc], ecx
jg 0x4cdda3
mov eax, dword [esp + 0xe4]
add dword [esp + 0x38], eax
add dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x70], eax
add dword [esp + 0x34], ecx
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xe0]
add dword [esp + 0x48], edx
add dword [esp + 0x4c], eax
add dword [esp + 0x54], ecx
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc8]
add dword [esp + 0x50], edx
add dword [esp + 0x44], eax
add dword [esp + 0x40], ecx
cmp dword [esp + 0x2c], 0
jg 0x4cdc7b
mov eax, dword [esp + 0xb8]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
je 0x4ce798
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 4]
mov edi, dword [eax]
mov ebp, dword [esp + 0x58]
mov eax, dword [ebp + 4]
sub eax, ebx
cdq
push edx
push eax
push 0x10000
push 0
call fcn.006372b0
mov ecx, eax
mov eax, edx
mov dword [esp + 0xb8], eax
mov eax, dword [ebp]
sub eax, edi
cdq
push edx
push eax
mov eax, dword [esp + 0xc0]
push eax
push ecx
call fcn.0063a250
mov cl, 0x20
call fcn.00643e20
mov ecx, eax
mov eax, dword [esp + 0x6c]
shl eax, 0x10
sub eax, ebx
imul ecx
mov dword [esp + 0xbc], ecx
mov cl, 0x10
call fcn.00643e20
mov ecx, eax
mov eax, dword [esp + 0x68]
add ecx, edi
cmp eax, edi
jge 0x4ce3d4
cmp dword [esp + 0x2c], 0
jle 0x4ce798
mov eax, dword [esp + 0xa8]
cdq
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x80], edx
cdq
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x88], edx
cdq
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x98], edx
cdq
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x90], edx
cdq
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x60], edx
cdq
add ecx, 0xffff
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x14], eax
lea eax, [edx*4]
add ecx, 0xffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0x20]
sub dword [esp + 0x2c], 1
and ebp, 0xffff0000
mov eax, ebp
sub eax, dword [esp + 0x38]
mov dword [esp + 0xb8], ebp
cdq
mov ebx, edx
mov edx, dword [esp + 0x80]
push ebx
mov edi, eax
mov eax, dword [esp + 0x80]
push edi
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, dword [esp + 0x88]
add eax, dword [esp + 0x48]
mov edx, dword [esp + 0x84]
push ebx
push edi
push ecx
push edx
mov dword [esp + 0x78], eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x94]
push ebx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x9c]
push edi
push eax
push ecx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x54]
mov edx, dword [esp + 0x90]
push ebx
push edi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x94]
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, dword [esp + 0x60]
add eax, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
push ebx
push edi
push ecx
push edx
mov dword [esp + 0x34], eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
push edi
push eax
push ecx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov edx, dword [esp + 0x34]
mov ecx, eax
add ecx, dword [esp + 0x40]
sar ebp, 0x10
lea eax, [edx + ebp*4]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
and ebp, 0xffff0000
sub ebp, dword [esp + 0xb8]
sar ebp, 0x10
test ebp, ebp
jle 0x4ce35b
mov edi, dword [esp + 0x28]
mov edx, ecx
shr edx, 0x10
imul edx, dword [esp + 0xe8]
shr edi, 0x10
add edx, edi
sub ebp, 1
cmp edx, dword [esp + 0xf0]
jae 0x4ce212
mov edi, dword [esp + 0xec]
mov ebx, dword [edi + edx*4]
jmp 0x4ce214
xor ebx, ebx
mov edi, ebx
shr edi, 0x18
cmp edi, 8
jbe 0x4ce30a
mov ecx, dword [esi + 4]
imul ecx, dword [esp + 0x6c]
mov edx, dword [esi]
imul edx, dword [esp + 0x68]
shr ecx, 0x18
mov eax, ebx
and eax, 0xff0000
imul ecx, eax
mov eax, dword [esi + 0xc]
imul eax, dword [esp + 0x24]
shr edx, 0x18
imul edx, edi
shr eax, 0x18
movzx edi, bl
imul eax, edi
and ecx, 0xff0000ff
and eax, 0xff00
or ecx, eax
mov eax, dword [esi + 8]
imul eax, dword [esp + 0x58]
and ebx, 0xff00
shr eax, 0x18
imul eax, ebx
shr edx, 8
and eax, 0xff0000
or ecx, eax
mov eax, dword [esp + 0x10]
mov ebx, dword [eax]
shr ecx, 8
mov edi, ecx
and ecx, 0xff00
imul ecx, edx
and edi, 0xff00ff
imul edi, edx
shr ecx, 8
and ecx, 0xff00
shr edi, 8
and edi, 0xff00ff
mov edx, ebx
and edx, 0xff00ff
add edx, edi
mov edi, edx
and ebx, 0xff00
add ebx, ecx
mov ecx, edx
shr ecx, 8
and ecx, 1
shr edi, 0x18
imul ecx, ecx, 0xff
and edi, 1
imul edi, edi, 0xffff0000
or ecx, edi
or ecx, edx
mov edx, ebx
shr edx, 0x10
and edx, 1
neg edx
shl edx, 8
or edx, ebx
and ecx, 0xffff00ff
and edx, 0xff00
or ecx, edx
or ecx, 0xff000000
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xa8]
add dword [esp + 0x68], edx
mov edx, dword [esp + 0xa4]
add dword [esp + 0x6c], edx
mov edx, dword [esp + 0xb4]
add dword [esp + 0x58], edx
mov edx, dword [esp + 0xa0]
add dword [esp + 0x24], edx
mov edx, dword [esp + 0xac]
add ecx, dword [esp + 0xb0]
add dword [esp + 0x28], edx
add eax, 4
test ebp, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jg 0x4ce1e4
mov eax, dword [esp + 0xe4]
add dword [esp + 0x38], eax
add dword [esp + 0x20], eax
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x1c], eax
add dword [esp + 0x34], ecx
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xe0]
add dword [esp + 0x48], edx
add dword [esp + 0x4c], eax
add dword [esp + 0x54], ecx
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc8]
add dword [esp + 0x50], edx
add dword [esp + 0x44], eax
add dword [esp + 0x40], ecx
cmp dword [esp + 0x2c], 0
jg 0x4ce0bf
pop edi
pop ebp
pop ebx
add esp, 0xf8
ret
jle 0x4ce798
cmp dword [esp + 0x2c], 0
jle 0x4ce798
mov eax, dword [esp + 0xa8]
cdq
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x80], edx
cdq
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x88], edx
cdq
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x98], edx
cdq
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x90], edx
cdq
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x60], edx
cdq
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x14], eax
lea eax, [edx*4]
mov edx, dword [esp + 0x38]
add edx, 0xffff
add ecx, 0xffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
sub dword [esp + 0x2c], 1
and ebp, 0xffff0000
mov eax, ebp
sub eax, dword [esp + 0x38]
mov dword [esp + 0xb8], ebp
cdq
mov ebx, edx
push ebx
mov edi, eax
mov eax, dword [esp + 0x84]
push edi
push eax
push ecx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x48]
mov edx, dword [esp + 0x88]
push ebx
push edi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x8c]
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, dword [esp + 0x98]
add eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x94]
push ebx
push edi
push ecx
push edx
mov dword [esp + 0x7c], eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x8c]
push ebx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x94]
push edi
push eax
push ecx
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
add eax, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
push ebx
push edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x64]
push edx
push eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, dword [esp + 0x18]
add eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
push ebx
push edi
push ecx
push edx
mov dword [esp + 0x38], eax
call fcn.0063a250
mov cl, 0x10
call fcn.00643e20
mov ecx, edx
mov edx, eax
add edx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
sar ebp, 0x10
lea eax, [eax + ebp*4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x20]
and ebp, 0xffff0000
sub ebp, dword [esp + 0xb8]
sar ebp, 0x10
test ebp, ebp
jle 0x4ce729
jmp 0x4ce5b0
mov edi, dword [esp + 0x28]
mov ecx, edx
shr ecx, 0x10
imul ecx, dword [esp + 0xe8]
shr edi, 0x10
add ecx, edi
sub ebp, 1
cmp ecx, dword [esp + 0xf0]
jae 0x4ce5de
mov edi, dword [esp + 0xec]
mov ebx, dword [edi + ecx*4]
jmp 0x4ce5e0
xor ebx, ebx
mov ecx, ebx
shr ecx, 0x18
cmp ecx, 8
jbe 0x4ce6d8
mov edx, dword [esi]
imul edx, dword [esp + 0x68]
shr edx, 0x18
imul edx, ecx
mov ecx, dword [esi + 8]
imul ecx, dword [esp + 0x58]
shr ecx, 0x18
mov eax, ebx
and eax, 0xff00
imul ecx, eax
mov eax, dword [esi + 4]
imul eax, dword [esp + 0x6c]
shr eax, 0x18
mov edi, ebx
and edi, 0xff0000
imul eax, edi
and ecx, 0xff0000
and eax, 0xff0000ff
or ecx, eax
mov eax, dword [esi + 0xc]
imul eax, dword [esp + 0x24]
movzx edi, bl
shr eax, 0x18
imul eax, edi
shr edx, 8
and eax, 0xff00
or ecx, eax
mov eax, dword [esp + 0x10]
mov ebx, dword [eax]
shr ecx, 8
mov edi, ecx
and ecx, 0xff00
imul ecx, edx
and edi, 0xff00ff
imul edi, edx
shr ecx, 8
and ecx, 0xff00
shr edi, 8
and edi, 0xff00ff
mov edx, ebx
and edx, 0xff00ff
add edx, edi
mov edi, edx
and ebx, 0xff00
add ebx, ecx
mov ecx, edx
shr ecx, 8
and ecx, 1
shr edi, 0x18
imul ecx, ecx, 0xff
and edi, 1
imul edi, edi, 0xffff0000
or ecx, edi
or ecx, edx
mov edx, ebx
shr edx, 0x10
and edx, 1
neg edx
shl edx, 8
or edx, ebx
and edx, 0xff00
and ecx, 0xffff00ff
or ecx, edx
mov edx, dword [esp + 0xc]
or ecx, 0xff000000
mov dword [eax], ecx
mov ecx, dword [esp + 0xa8]
add dword [esp + 0x68], ecx
mov ecx, dword [esp + 0xa4]
add dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0xb4]
add dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xa0]
add dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xac]
add edx, dword [esp + 0xb0]
add dword [esp + 0x28], ecx
add eax, 4
test ebp, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
jg 0x4ce5b0
mov eax, dword [esp + 0xe4]
add dword [esp + 0x38], eax
add dword [esp + 0x20], eax
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x1c], edx
add dword [esp + 0x34], eax
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xe0]
add dword [esp + 0x48], ecx
add dword [esp + 0x4c], edx
add dword [esp + 0x54], eax
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xc8]
add dword [esp + 0x50], ecx
add dword [esp + 0x44], edx
add dword [esp + 0x40], eax
cmp dword [esp + 0x2c], 0
jg 0x4ce484
pop edi
pop ebp
pop ebx
add esp, 0xf8
ret