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

Disassembly:
mov ecx, dword [0x1ac47f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x98]
cmp eax, dword [ecx + 8]
jbe 0x66a8d9
sub esp, 0x118
mov eax, dword [esp + 0x13c]
mov ecx, eax
and eax, 0x40
mov dword [esp + 0xe8], eax
test eax, eax
jne 0x669548
mov edx, dword [esp + 0x11c]
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 4]
mov esi, dword [esp + 0x138]
lea edi, [esi + ebp]
mov eax, dword [edx]
cmp ebx, edi
jae 0x6694c8
mov dword [esp + 0xe4], ebp
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xe4]
mov esi, dword [esp + 0x138]
mov dword [esp + 0xe4], ebx
mov dword [esp + 0x114], eax
mov dword [esp + 0xe0], edi
lea ecx, [eax + ebp]
mov dword [esp], ecx
mov ecx, dword [esp + 0x134]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00479570
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [ecx + 8], eax
mov eax, dword [0x1ac4dc0]
test eax, eax
jne 0x669525
mov eax, dword [esp + 0x114]
jmp 0x669538
call fcn.00478bc0
mov eax, dword [esp + 0x114]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x13c]
test ecx, 7
je 0x66964d
test ecx, 0x20
je 0x6695f4
lea edi, [esp + 0x100]
lea esi, [esp + 0x120]
call fcn.0047935e
mov ecx, dword [esp + 0x104]
nop
nop
test ecx, 0x80000000
je 0x6695cf
mov edx, dword [esp + 0x100]
mov ebx, edx
shl edx, 1
shl ecx, 1
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
shl ecx, 1
shr edx, 0x1f
or edx, ecx
shr ebx, 0x1f
add edx, 0xd7b17f80
mov dword [esp + 0x108], edx
adc ebx, 0xd
mov dword [esp + 0x10c], ebx
and dword [esp + 0x100], 0x3fffffff
mov dword [esp + 0x104], 0
mov dword [esp + 0x110], 0
lea edi, [esp + 0x120]
lea esi, [esp + 0x100]
call fcn.0047935e
mov ecx, dword [esp + 0x13c]
test ecx, 1
je 0x66a04b
nop
lea edi, [esp]
lea esi, [esp + 0x120]
call fcn.0047935e
mov byte [esp + 0x14], 1
call fcn.004f3de0
nop
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xcc], ecx
mov edx, dword [esp + 0x20]
lea edi, [esp + 0xb4]
mov ebx, eax
xor eax, eax
call fcn.00478e7b
mov ecx, 4
mov ebp, 0x13
jmp 0x669ae4
test ecx, 0x18
je 0x669686
test ecx, 0x10
je 0x669673
mov ecx, dword [esp + 0x144]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x140]
jmp 0x669aa5
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x140]
jmp 0x669763
test eax, eax
je 0x66975c
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x138]
lea ebp, [edx + ebx]
mov esi, dword [eax]
cmp ecx, ebp
jae 0x6696ea
mov dword [esp + 0xe8], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xe8]
mov ebx, dword [esp + 0x138]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0x114], esi
mov dword [esp + 0xe4], ebp
lea eax, [esi + edx]
mov dword [esp], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00479570
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xe8]
mov dword [ecx + 8], eax
mov eax, dword [0x1ac4dc0]
test eax, eax
jne 0x669747
mov eax, dword [esp + 0x114]
jmp 0x66975a
call fcn.00478bc0
mov eax, dword [esp + 0x114]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
add esp, 0x118
ret
mov ebx, dword [esp + 0x11c]
mov ebp, dword [ebx + 8]
mov esi, dword [ebx + 4]
lea edi, [ecx + esi]
mov eax, dword [ebx]
cmp ebp, edi
jae 0x6697cd
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe0], esi
mov dword [esp + 0x114], edx
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0x114]
mov esi, dword [esp + 0xe0]
mov dword [esp + 0xe4], ebp
mov dword [esp + 0x114], eax
mov dword [esp + 0xe0], edi
lea ebx, [eax + esi]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00479570
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xe4]
mov dword [ecx + 8], edx
mov ebx, dword [0x1ac4dc0]
test ebx, ebx
jne 0x669823
mov ebx, dword [esp + 0x114]
jmp 0x669836
call fcn.00478bc0
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
lea ebp, [eax + 1]
cmp edx, ebp
jae 0x66989a
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x1ac4dc0]
test eax, eax
je 0x66988d
call fcn.00478bc0
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], ebp
mov byte [ebp + ebx - 1], 0x3a
nop
lea edi, [esp + 0x28]
xor eax, eax
call fcn.00478e7b
mov ecx, dword [esp + 0x148]
mov eax, 0xffffffff
mov edx, 0x13
jmp 0x6698d4
add esi, 0x30
xchg esi, eax
mov byte [esp + ebp + 0x28], al
xchg esi, eax
lea eax, [ebx - 1]
lea ebx, [ebp - 1]
mov ecx, edx
mov edx, ebx
cmp ecx, 0xa
jge 0x6698de
cmp eax, 1
jle 0x669906
mov ebx, eax
mov eax, 0xcccccccd
mov ebp, edx
imul ecx
add edx, ecx
sar edx, 3
mov esi, ecx
sar ecx, 0x1f
sub edx, ecx
lea edi, [edx + edx*4]
shl edi, 1
sub esi, edi
cmp ebp, 0x14
jb 0x6698c1
jmp 0x669a98
cmp edx, 0x14
jae 0x669a8c
lea eax, [ecx + 0x30]
mov byte [esp + edx + 0x28], al
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov ebp, ebx
sub ebx, edx
add ebx, 0x14
lea esi, [edx - 0x14]
xchg esi, ebx
neg ebx
xchg esi, ebx
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
mov eax, dword [eax]
and edx, esi
cmp ecx, ebx
jae 0x66999a
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], edx
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xe4]
mov edi, dword [esp + 0xe0]
mov dword [esp + 0xe4], ebx
mov dword [esp + 0x114], eax
mov dword [esp + 0xe0], ecx
add ebp, eax
mov dword [esp], ebp
lea edx, [esp + edx + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], edi
call fcn.00479570
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xe0]
mov dword [ecx + 8], edx
mov ebx, dword [0x1ac4dc0]
test ebx, ebx
jne 0x6699f3
mov ebx, dword [esp + 0x114]
jmp 0x669a06
call fcn.00478bc0
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
lea ebp, [eax + 2]
cmp edx, ebp
jae 0x669a4f
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov edx, ecx
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x11c]
mov word [ebx + eax], 0x203a
mov dword [ecx + 4], ebp
mov dword [ecx + 8], edx
mov eax, dword [0x1ac4dc0]
test eax, eax
jne 0x669a70
mov eax, dword [esp + 0xe8]
test eax, eax
jmp 0x669a85
call fcn.00478bc0
mov dword [edi], ebx
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xe8]
test eax, eax
mov dword [ecx], ebx
jmp 0x669688
mov eax, edx
mov ecx, 0x14
call fcn.00478c30
mov eax, ebp
mov ecx, 0x14
call fcn.00478c30
dec edx
test edx, edx
jle 0x669ac3
lea ebp, [ebx + edx]
cmp byte [ebp], 0x2f
jne 0x669aa4
sub ecx, edx
dec ecx
mov ebp, ecx
neg ecx
sar ecx, 0x1f
inc edx
and ecx, edx
add ecx, ebx
jmp 0x669ac7
mov ebp, ecx
mov ecx, ebx
mov edx, ecx
mov ecx, ebp
jmp 0x669763
add edi, 0x30
xchg edi, eax
mov byte [esp + ebp + 0xb4], al
xchg edi, eax
dec ecx
dec ebp
xor eax, eax
mov ebx, edx
mov edx, esi
cmp ebx, 0xa
jge 0x669aee
cmp ecx, 1
jle 0x669b14
mov eax, 0xcccccccd
mov esi, edx
imul ebx
add edx, ebx
sar edx, 3
mov edi, ebx
sar ebx, 0x1f
sub edx, ebx
lea ebx, [edx + edx*4]
shl ebx, 1
sub edi, ebx
cmp ebp, 0x14
jb 0x669ad0
jmp 0x66a8cc
cmp ebp, 0x14
jae 0x66a8c0
mov dword [esp + 0xd4], edx
lea ecx, [ebx + 0x30]
mov byte [esp + ebp + 0xb4], cl
mov ecx, dword [esp + 0x11c]
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 4]
mov edi, esi
sub esi, ebp
add esi, 0x14
lea edx, [ebp - 0x14]
neg edx
mov dword [esp + 0xe4], edx
neg edx
sar edx, 0x1f
mov eax, dword [ecx]
and ebp, edx
cmp ebx, esi
jae 0x669ba8
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], edi
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
lea ecx, [0xe6dd20]
mov dword [esp + 0x10], ecx
call fcn.004739f0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xe0]
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x114], eax
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
lea ecx, [eax + edi]
mov dword [esp], ecx
lea ecx, [esp + ebp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 8], ecx
call fcn.00479570
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xdc]
mov dword [ecx + 8], edx
mov ebx, dword [0x1ac4dc0]
test ebx, ebx
jne 0x669c0c
mov ebx, dword [esp + 0x114]
jmp 0x669c1f
call fcn.00478bc0
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
lea ebp, [eax + 1]
cmp edx, ebp
jae 0x669c83
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x1ac4dc0]
test eax, eax
je 0x669c76
call fcn.00478bc0
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], ebp
mov byte [ebp + ebx - 1], 0x2f
nop
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.00478e7b
mov ecx, dword [esp + 0xcc]
mov edx, 2
mov ebx, 0x13
jmp 0x669cc1
add esi, 0x30
xchg esi, eax
mov byte [esp + ebx + 0xa0], al
xchg esi, eax
dec ebp
dec ebx
xor eax, eax
mov ecx, edx
mov edx, ebp
cmp ecx, 0xa
jge 0x669ccb
cmp edx, 1
jle 0x669cf1
mov eax, 0xcccccccd
mov ebp, edx
imul ecx
add edx, ecx
sar edx, 3
mov esi, ecx
sar ecx, 0x1f
sub edx, ecx
lea edi, [edx + edx*4]
shl edi, 1
sub esi, edi
cmp ebx, 0x14
jb 0x669cad
jmp 0x66a8b4
cmp ebx, 0x14
jae 0x66a8a8
add ecx, 0x30
mov byte [esp + ebx + 0xa0], cl
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
mov esi, ebp
sub ebp, ebx
add ebp, 0x14
lea edi, [ebx - 0x14]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [esp + 0xe4], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
mov eax, dword [ecx]
and ebx, edi
cmp edx, ebp
jae 0x669d86
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], esi
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
lea ecx, [0xe6dd20]
mov dword [esp + 0x10], ecx
call fcn.004739f0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xe0]
mov esi, dword [esp + 0xdc]
mov dword [esp + 0xe0], ebp
mov dword [esp + 0x114], eax
mov dword [esp + 0xdc], edx
lea ecx, [eax + esi]
mov dword [esp], ecx
lea ecx, [esp + ebx + 0xa0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 8], ecx
call fcn.00479570
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xdc]
mov dword [ecx + 8], edx
mov ebx, dword [0x1ac4dc0]
test ebx, ebx
jne 0x669dea
mov ebx, dword [esp + 0x114]
jmp 0x669dfd
call fcn.00478bc0
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
lea ebp, [eax + 1]
cmp edx, ebp
jae 0x669e61
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x1ac4dc0]
test eax, eax
je 0x669e54
call fcn.00478bc0
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], ebp
mov byte [ebp + ebx - 1], 0x2f
nop
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.00478e7b
mov edx, dword [esp + 0xd4]
mov eax, 2
mov ecx, 0x13
jmp 0x669e9b
lea ebp, [esi + 0x30]
xchg ebp, eax
mov byte [esp + ecx + 0x8c], al
xchg ebp, eax
lea eax, [ebx - 1]
dec ecx
cmp edx, 0xa
jge 0x669ea5
cmp eax, 1
jle 0x669ecd
mov ebx, eax
mov eax, 0xcccccccd
mov ebp, edx
imul edx
add edx, ebp
sar edx, 3
mov esi, ebp
sar ebp, 0x1f
sub edx, ebp
lea ebp, [edx + edx*4]
shl ebp, 1
sub esi, ebp
cmp ecx, 0x14
jb 0x669e8b
jmp 0x66a89c
cmp ecx, 0x14
jae 0x66a890
lea eax, [edx + 0x30]
mov byte [esp + ecx + 0x8c], al
mov eax, dword [esp + 0x11c]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov ebp, ebx
sub ebx, ecx
add ebx, 0x14
lea esi, [ecx - 0x14]
xchg esi, ebx
neg ebx
xchg esi, ebx
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
mov eax, dword [eax]
and ecx, esi
cmp edx, ebx
jae 0x669f64
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xdc], ebp
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xdc]
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x114], eax
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe0], edx
add ebp, eax
mov dword [esp], ebp
lea ecx, [esp + ecx + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.00479570
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xe0]
mov dword [ecx + 8], edx
mov ebx, dword [0x1ac4dc0]
test ebx, ebx
jne 0x669fc0
mov ebx, dword [esp + 0x114]
jmp 0x669fd3
call fcn.00478bc0
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
inc eax
cmp edx, eax
jae 0x66a035
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x1ac4dc0]
test eax, eax
je 0x66a028
call fcn.00478bc0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov byte [eax + ebx - 1], 0x20
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x13c]
test ecx, 6
je 0x66964d
lea edi, [esp]
lea esi, [esp + 0x120]
call fcn.0047935e
call fcn.004f21d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xd0], ecx
mov edx, dword [esp + 0x1c]
nop
lea edi, [esp + 0x78]
mov ebx, eax
xor eax, eax
call fcn.00478e7b
mov ecx, 2
mov ebp, 0x13
jmp 0x66a0a9
add edi, 0x30
xchg edi, eax
mov byte [esp + ebp + 0x78], al
xchg edi, eax
dec ecx
dec ebp
xor eax, eax
mov ebx, edx
mov edx, esi
cmp ebx, 0xa
jge 0x66a0b3
cmp ecx, 1
jle 0x66a0d9
mov eax, 0xcccccccd
mov esi, edx
imul ebx
add edx, ebx
sar edx, 3
mov edi, ebx
sar ebx, 0x1f
sub edx, ebx
lea ebx, [edx + edx*4]
shl ebx, 1
sub edi, ebx
cmp ebp, 0x14
jb 0x66a098
jmp 0x66a884
cmp ebp, 0x14
jae 0x66a878
mov dword [esp + 0xc8], edx
lea ecx, [ebx + 0x30]
mov byte [esp + ebp + 0x78], cl
mov ecx, dword [esp + 0x11c]
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 4]
mov edi, esi
sub esi, ebp
add esi, 0x14
lea edx, [ebp - 0x14]
neg edx
mov dword [esp + 0xe4], edx
neg edx
sar edx, 0x1f
mov eax, dword [ecx]
and ebp, edx
cmp ebx, esi
jae 0x66a16a
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], edi
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
lea ecx, [0xe6dd20]
mov dword [esp + 0x10], ecx
call fcn.004739f0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xe0]
mov edi, dword [esp + 0xdc]
mov dword [esp + 0xe0], esi
mov dword [esp + 0x114], eax
mov dword [esp + 0xdc], ebx
lea ecx, [eax + edi]
mov dword [esp], ecx
lea ecx, [esp + ebp + 0x78]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 8], ecx
call fcn.00479570
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xdc]
mov dword [ecx + 8], edx
mov ebx, dword [0x1ac4dc0]
test ebx, ebx
jne 0x66a1cb
mov ebx, dword [esp + 0x114]
jmp 0x66a1de
call fcn.00478bc0
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
lea ebp, [eax + 1]
cmp edx, ebp
jae 0x66a242
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x1ac4dc0]
test eax, eax
je 0x66a235
call fcn.00478bc0
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], ebp
mov byte [ebp + ebx - 1], 0x3a
nop
lea edi, [esp + 0x64]
xor eax, eax
call fcn.00478e7b
mov ecx, dword [esp + 0xd0]
mov edx, 2
mov ebx, 0x13
jmp 0x66a27a
add esi, 0x30
xchg esi, eax
mov byte [esp + ebx + 0x64], al
xchg esi, eax
dec ebp
dec ebx
xor eax, eax
mov ecx, edx
mov edx, ebp
cmp ecx, 0xa
jge 0x66a284
cmp edx, 1
jle 0x66a2aa
mov eax, 0xcccccccd
mov ebp, edx
imul ecx
add edx, ecx
sar edx, 3
mov esi, ecx
sar ecx, 0x1f
sub edx, ecx
lea edi, [edx + edx*4]
shl edi, 1
sub esi, edi
cmp ebx, 0x14
jb 0x66a269
jmp 0x66a86c
cmp ebx, 0x14
jae 0x66a860
add ecx, 0x30
mov byte [esp + ebx + 0x64], cl
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
mov esi, ebp
sub ebp, ebx
add ebp, 0x14
lea edi, [ebx - 0x14]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [esp + 0xe4], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
mov eax, dword [ecx]
and ebx, edi
cmp edx, ebp
jae 0x66a33c
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], esi
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
lea ecx, [0xe6dd20]
mov dword [esp + 0x10], ecx
call fcn.004739f0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xe0]
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x114], eax
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], edx
lea ecx, [eax + esi]
mov dword [esp], ecx
lea ecx, [esp + ebx + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 8], ecx
call fcn.00479570
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xdc]
mov dword [ecx + 8], edx
mov ebx, dword [0x1ac4dc0]
test ebx, ebx
jne 0x66a39d
mov ebx, dword [esp + 0x114]
jmp 0x66a3b0
call fcn.00478bc0
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
lea ebp, [eax + 1]
cmp edx, ebp
jae 0x66a414
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x1ac4dc0]
test eax, eax
je 0x66a407
call fcn.00478bc0
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], ebp
mov byte [ebp + ebx - 1], 0x3a
nop
lea edi, [esp + 0x50]
xor eax, eax
call fcn.00478e7b
mov edx, dword [esp + 0xc8]
mov ecx, 2
mov ebx, 0x13
jmp 0x66a448
lea ebp, [esi + 0x30]
xchg ebp, eax
mov byte [esp + ebx + 0x50], al
xchg ebp, eax
dec ecx
dec ebx
xor eax, eax
cmp edx, 0xa
jge 0x66a452
cmp ecx, 1
jle 0x66a478
mov eax, 0xcccccccd
mov ebp, edx
imul edx
add edx, ebp
sar edx, 3
mov esi, ebp
sar ebp, 0x1f
sub edx, ebp
lea ebp, [edx + edx*4]
shl ebp, 1
sub esi, ebp
cmp ebx, 0x14
jb 0x66a43b
jmp 0x66a854
cmp ebx, 0x14
jae 0x66a848
lea ecx, [edx + 0x30]
mov byte [esp + ebx + 0x50], cl
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
mov esi, ebp
sub ebp, ebx
add ebp, 0x14
lea edi, [ebx - 0x14]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [esp + 0xe4], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
mov eax, dword [ecx]
and ebx, edi
cmp edx, ebp
jae 0x66a50a
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
lea ecx, [0xe6dd20]
mov dword [esp + 0x10], ecx
call fcn.004739f0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], edx
mov dword [esp + 0x114], eax
lea ecx, [eax + esi]
mov dword [esp], ecx
lea ecx, [esp + ebx + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 8], ecx
call fcn.00479570
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xdc]
mov dword [ecx + 8], edx
mov ebx, dword [0x1ac4dc0]
test ebx, ebx
jne 0x66a56b
mov ebx, dword [esp + 0x114]
jmp 0x66a57e
call fcn.00478bc0
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
mov ebp, dword [esp + 0x13c]
test ebp, 4
je 0x66a659
inc eax
cmp edx, eax
jae 0x66a5fa
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x1ac4dc0]
test eax, eax
je 0x66a5e6
call fcn.00478bc0
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, dword [esp + 0x13c]
mov eax, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov byte [eax + ebx - 1], 0x2e
lea edi, [esp + 0xec]
lea esi, [esp + 0x120]
call fcn.0047935e
mov eax, dword [esp + 0xec]
and eax, 0x3fffffff
mov dword [esp + 0xd8], eax
mov ecx, 0x4189374c
imul ecx
sar edx, 8
mov ecx, dword [esp + 0xd8]
sar ecx, 0x1f
sub edx, ecx
nop
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.00478e7b
mov eax, 6
mov ecx, 0x13
jmp 0x66a6e9
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
inc edx
mov ebx, dword [ecx]
cmp eax, edx
jae 0x66a6c6
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0xe6dd20]
mov dword [esp + 0x10], eax
call fcn.004739f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x1ac4dc0]
test eax, eax
je 0x66a6b4
call fcn.00478bc0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov ebp, dword [esp + 0x13c]
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], edx
mov byte [edx + ebx - 1], 0x20
mov eax, dword [esp + 0xe8]
mov ecx, ebp
jmp 0x66964d
lea esi, [edi + 0x30]
xchg esi, eax
mov byte [esp + ecx + 0x3c], al
xchg esi, eax
lea eax, [ebx - 1]
dec ecx
cmp edx, 0xa
jge 0x66a6f3
cmp eax, 1
jle 0x66a71b
mov ebx, eax
mov eax, 0xcccccccd
mov esi, edx
imul edx
add edx, esi
sar edx, 3
mov edi, esi
sar esi, 0x1f
sub edx, esi
lea esi, [edx + edx*4]
shl esi, 1
sub edi, esi
cmp ecx, 0x14
jb 0x66a6dc
jmp 0x66a83c
cmp ecx, 0x14
jae 0x66a830
lea eax, [edx + 0x30]
mov byte [esp + ecx + 0x3c], al
mov eax, dword [esp + 0x11c]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov esi, ebx
sub ebx, ecx
add ebx, 0x14
lea edi, [ecx - 0x14]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [esp + 0xe4], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
mov ebp, dword [eax]
and ecx, edi
cmp edx, ebx
jae 0x66a7ad
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
lea ecx, [0xe6dd20]
mov dword [esp + 0x10], ecx
call fcn.004739f0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
mov dword [esp + 0x114], ebp
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], edx
lea eax, [ebp + esi]
mov dword [esp], eax
lea eax, [esp + ecx + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 8], eax
call fcn.00479570
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xdc]
mov dword [ecx + 8], eax
mov eax, dword [0x1ac4dc0]
test eax, eax
jne 0x66a80f
mov eax, dword [esp + 0x114]
jmp 0x66a822
call fcn.00478bc0
mov eax, dword [esp + 0x114]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
mov ebp, dword [esp + 0x13c]
jmp 0x66a659
mov eax, ecx
mov ecx, 0x14
call fcn.00478c30
mov eax, ecx
mov ecx, 0x14
call fcn.00478c30
mov eax, ebx
mov ecx, 0x14
call fcn.00478c30
mov eax, ebx
mov ecx, 0x14
call fcn.00478c30
mov eax, ebx
mov ecx, 0x14
call fcn.00478c30
mov eax, ebx
mov ecx, 0x14
call fcn.00478c30
mov eax, ebp
mov ecx, 0x14
call fcn.00478c30
mov eax, ebp
mov ecx, 0x14
call fcn.00478c30
mov eax, ecx
mov ecx, 0x14
call fcn.00478c30
mov eax, ecx
mov ecx, 0x14
call fcn.00478c30
mov eax, ebx
mov ecx, 0x14
call fcn.00478c30
mov eax, ebx
mov ecx, 0x14
call fcn.00478c30
mov eax, ebp
mov ecx, 0x14
call fcn.00478c30
mov eax, ebp
mov ecx, 0x14
call fcn.00478c30
nop
call fcn.004777b0
jmp fcn.00669430