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

Disassembly:
sub esp, 0x80
mov eax, dword [esp + 0x90]
push ebx
mov ebx, ecx
push ebp
mov ecx, dword [ebx + eax*4 + 0x2f4]
push esi
lea esi, [ebx + eax*4 + 0x2f4]
push edi
test ecx, ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], 0
je 0x454669
mov eax, dword [ebx + 0x90]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x94]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x90]
push esi
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x10]
mov ebp, dword [esp + 0x94]
xor edi, edi
mov eax, dword [ebp + 0x528]
test eax, eax
jle 0x45471d
mov dword [esp + 0x64], edi
mov eax, dword [ebx + 0x80]
lea ecx, [esp + 0x68]
push ecx
push 0x3f000000
mov edx, dword [eax]
push 0x3f19999a
push 0x3f19999a
push 1
push eax
call dword [edx + 0x30]
mov eax, dword [esi]
mov ecx, dword [esp + 0x68]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 0x540]
mov eax, dword [esp + 0x64]
mov ecx, dword [esi]
add eax, edx
push ecx
fild dword [eax + 8]
mov edx, dword [ecx]
fstp dword [esp]
fild dword [eax + 4]
push ecx
fstp dword [esp]
fild dword [eax]
mov eax, dword [ebx + 0x90]
push ecx
fstp dword [esp]
push eax
push ecx
call dword [edx + pe_nt_image_headers32]
mov eax, dword [esp + 0x68]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x64]
mov eax, dword [ebp + 0x528]
inc edi
add ecx, 0x10
cmp edi, eax
mov dword [esp + 0x64], ecx
jl 0x454698
mov edx, dword [esp + 0xa0]
xor edi, edi
mov dword [esp + 0x3c], edi
mov eax, dword [ebx + edx*4 + 0x9c]
lea esi, [ebx + edx*4 + 0x9c]
test eax, eax
mov dword [esp + 0x74], esi
je 0x454758
mov ecx, dword [ebx + 0x98]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0xa0]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0x80]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xa4]
xor eax, eax
cmp eax, 6
je 0x454785
cmp eax, edx
je 0x454785
lea esi, [edx + 1]
cmp eax, esi
jne 0x454787
add edi, dword [ecx]
inc eax
add ecx, 4
cmp eax, 7
jl 0x454775
mov eax, dword [esp + 0x98]
mov dword [esp + 0x3c], edi
mov esi, 4
lea edx, [eax + 0x5c]
mov ecx, dword [edx]
test ecx, ecx
jle 0x4547b4
mov eax, dword [edx + 8]
add edi, dword [eax]
add eax, 4
dec ecx
jne 0x4547ac
add edx, 0x18
dec esi
jne 0x4547a3
mov dword [esp + 0x3c], edi
xor esi, esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], esi
xor edi, edi
lea ecx, [eax + eax*8 + 9]
shl ecx, 3
push ecx
call fcn.0045bcfc
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
jne 0x4547f8
push 3
mov ecx, ebx
call fcn.00455f80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 0x14
mov eax, dword [esp + 0x3c]
lea edx, [eax + eax*2]
shl edx, 4
push edx
call fcn.0045bcfc
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
jne 0x454836
mov eax, dword [esp + 0x54]
push eax
call fcn.0045bbf4
add esp, 4
mov ecx, ebx
push 3
call fcn.00455f80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 0x14
mov eax, dword [esp + 0x3c]
lea ecx, [eax + eax*2]
shl ecx, 3
push ecx
call fcn.0045bcfc
add esp, 4
mov dword [esp + 0x60], eax
test eax, eax
jne 0x45487b
mov edx, dword [esp + 0x54]
push edx
call fcn.0045bbf4
push 0
call fcn.0045bbf4
add esp, 8
mov ecx, ebx
push 3
call fcn.00455f80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 0x14
mov eax, dword [esp + 0x98]
mov dword [esp + 0x28], 0
add eax, 0x38
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], 0
mov eax, dword [ecx - 0x38]
test eax, eax
jle 0x454c2a
mov eax, dword [esp + 0x60]
lea edx, [edi + edi*2]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x24], 0
lea ecx, [eax + edx*4]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x54]
lea edx, [ecx + eax*4]
mov dword [esp + 0x44], edx
lea edx, [esi + esi*2]
lea ebx, [ebx + edx*4]
lea edx, [ecx + eax*4 + 8]
mov dword [esp + 0x50], edx
lea edx, [ecx + eax*4 + 0x10]
mov dword [esp + 0x3c], edx
lea edx, [ecx + eax*4 + 0x18]
mov dword [esp + 0x4c], edx
lea edx, [ecx + eax*4 + 0x20]
mov dword [esp + 0x48], edx
lea edx, [ecx + eax*4 + 0x1c]
mov dword [esp + 0x38], edx
lea edx, [ecx + eax*4 + 0x14]
mov dword [esp + 0x34], edx
lea edx, [ecx + eax*4 + 0xc]
lea eax, [ecx + eax*4 + 4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
cmp eax, 6
je 0x454934
mov ecx, dword [esp + 0xa4]
cmp eax, ecx
je 0x454934
inc ecx
cmp eax, ecx
jne 0x454c09
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
mov dword [ecx], 4
mov eax, dword [edx]
mov ecx, dword [esp + 0x24]
movsx eax, word [ecx + eax]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x54]
lea ecx, [eax + edx*4]
mov edx, ebx
add ebx, 0xc
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x2c]
mov dword [edx], esi
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
inc esi
movsx eax, word [edx + ecx + 2]
mov ecx, dword [ebp + 0x54]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*4]
mov eax, ebx
add ebx, 0xc
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x30]
mov dword [eax], esi
mov edx, dword [ecx]
mov eax, dword [esp + 0x24]
inc esi
movsx eax, word [eax + edx + 4]
mov edx, dword [ebp + 0x54]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov ecx, ebx
add ebx, 0xc
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x34]
mov dword [ecx], esi
mov eax, dword [edx]
mov ecx, dword [esp + 0x24]
inc esi
movsx eax, word [ecx + eax + 6]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x54]
lea ecx, [eax + edx*4]
mov edx, ebx
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x38]
mov dword [edx], esi
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
inc esi
add ebx, 0xc
lea eax, [edx + ecx]
mov ecx, dword [ebp + 0x54]
movsx edx, word [eax + 4]
lea edx, [edx + edx*2]
movsx eax, word [eax]
lea edx, [ecx + edx*4]
lea eax, [eax + eax*2]
push edx
lea edx, [esp + 0x88]
lea ecx, [ecx + eax*4]
push ecx
push edx
call fcn.0045bace
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
lea eax, [edx + ecx]
mov ecx, dword [ebp + 0x54]
movsx edx, word [eax + 6]
movsx eax, word [eax + 2]
lea edx, [edx + edx*2]
lea eax, [eax + eax*2]
lea edx, [ecx + edx*4]
push edx
lea ecx, [ecx + eax*4]
lea edx, [esp + 0x7c]
push ecx
push edx
call fcn.0045bace
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x84]
push eax
push ecx
push edx
call fcn.0045bac8
push eax
call fcn.0045bac2
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov dword [eax], edi
mov dword [ecx], edi
mov dword [edx], edi
mov edx, dword [esp + 0x50]
mov dword [edx], edi
mov edx, dword [esp + 0x40]
add edx, 0xc
inc edi
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x1c]
add edx, 9
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
add edx, 0x24
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x2c]
add edx, 0x24
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
add edx, 0x24
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x34]
add edx, 0x24
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x38]
add edx, 0x24
mov dword [esp + 0x38], edx
mov edx, 0x24
add eax, edx
add ecx, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x3c]
add eax, edx
add ecx, edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x378]
test ecx, ecx
je 0x454c09
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov edx, dword [ecx]
test byte [eax + edx + 0xb], 0x80
je 0x454c09
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
lea edx, [esi - 3]
mov dword [ecx], 4
mov dword [eax], edx
mov eax, dword [esp + 0x30]
lea edx, [esi - 4]
mov dword [eax], edx
mov eax, dword [esp + 0x34]
lea edx, [esi - 1]
mov dword [eax], edx
mov eax, dword [esp + 0x38]
lea edx, [esi - 2]
mov dword [eax], edx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
fld dword [eax - 0xc]
fchs
fstp dword [eax]
fld dword [eax - 8]
fchs
fstp dword [eax + 4]
fld dword [eax - 4]
fchs
fstp dword [eax + 8]
add eax, 0xc
mov dword [edx], edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
add eax, 9
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, 0x24
add ecx, eax
mov dword [edx], edi
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x30]
add ecx, eax
mov dword [edx], edi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x34]
add ecx, eax
mov edx, dword [esp + 0x50]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x38]
add ecx, eax
mov dword [edx], edi
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x48]
add ecx, eax
inc edi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x4c]
add ecx, eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x3c]
add ecx, eax
add edx, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add ecx, 0xe
inc eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
cmp eax, dword [ecx - 0x38]
jl 0x454917
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ecx, 4
inc eax
add ebx, ecx
cmp eax, 7
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
jl 0x454891
mov edx, dword [esp + 0x98]
mov dword [esp + 0x70], ecx
lea eax, [edx + 0x64]
mov dword [esp + 0x24], eax
mov ecx, dword [eax - 8]
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x455063
mov dword [esp + 0x18], 0
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], 0
cmp dword [edx + ecx], 0
jle 0x455044
mov ecx, dword [esp + 0x60]
lea eax, [edi + edi*2]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x28], 0
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], edx
lea edx, [ecx + eax*4]
mov dword [esp + 0x4c], edx
lea edx, [esi + esi*2]
lea ebx, [ebx + edx*4]
lea edx, [ecx + eax*4 + 8]
mov dword [esp + 0x40], edx
lea edx, [ecx + eax*4 + 0x10]
mov dword [esp + 0x2c], edx
lea edx, [ecx + eax*4 + 0x18]
mov dword [esp + 0x44], edx
lea edx, [ecx + eax*4 + 0x20]
mov dword [esp + 0x48], edx
lea edx, [ecx + eax*4 + 0x1c]
mov dword [esp + 0x30], edx
lea edx, [ecx + eax*4 + 0x14]
mov dword [esp + 0x34], edx
lea edx, [ecx + eax*4 + 0xc]
lea eax, [ecx + eax*4 + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
lea eax, [edx + 4]
mov dword [ecx], 4
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
mov edx, dword [ecx + eax]
mov eax, dword [esp + 0x28]
movsx eax, word [edx + eax]
mov edx, dword [ebp + 0x54]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov ecx, ebx
add ebx, 0xc
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x3c]
lea eax, [edx + 4]
mov dword [ecx], esi
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
inc esi
mov edx, dword [ecx + eax]
mov eax, dword [esp + 0x28]
movsx eax, word [edx + eax + 2]
mov edx, dword [ebp + 0x54]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov ecx, ebx
add ebx, 0xc
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x38]
lea eax, [edx + 4]
mov dword [ecx], esi
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
inc esi
mov edx, dword [ecx + eax]
mov eax, dword [esp + 0x28]
movsx eax, word [edx + eax + 4]
mov edx, dword [ebp + 0x54]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov ecx, ebx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x34]
lea eax, [edx + 4]
mov dword [ecx], esi
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
inc esi
add ebx, 0xc
mov edx, dword [ecx + eax]
mov eax, dword [esp + 0x28]
movsx eax, word [edx + eax + 6]
mov edx, dword [ebp + 0x54]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov ecx, ebx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x24]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x30]
add ebx, 0xc
lea eax, [edx + 4]
mov dword [ecx], esi
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
inc esi
mov edx, dword [ecx + eax]
mov eax, dword [esp + 0x28]
add eax, edx
mov ecx, dword [ebp + 0x54]
movsx edx, word [eax + 4]
movsx eax, word [eax]
lea edx, [edx + edx*2]
lea eax, [eax + eax*2]
lea edx, [ecx + edx*4]
push edx
lea ecx, [ecx + eax*4]
lea edx, [esp + 0x88]
push ecx
push edx
call fcn.0045bace
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
add eax, 4
mov ecx, dword [eax]
mov eax, dword [edx + ecx]
mov ecx, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [ebp + 0x54]
movsx edx, word [eax + 6]
movsx eax, word [eax + 2]
lea edx, [edx + edx*2]
lea eax, [eax + eax*2]
lea edx, [ecx + edx*4]
push edx
lea ecx, [ecx + eax*4]
lea edx, [esp + 0x7c]
push ecx
push edx
call fcn.0045bace
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x84]
push eax
push ecx
push edx
call fcn.0045bac8
push eax
call fcn.0045bac2
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
mov dword [eax], edi
mov dword [ecx], edi
mov dword [edx], edi
mov edx, dword [esp + 0x40]
mov dword [edx], edi
mov edx, dword [esp + 0x50]
add edx, 0xc
inc edi
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x1c]
add edx, 9
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x4c]
add edx, 0x24
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x3c]
add edx, 0x24
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x38]
add edx, 0x24
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
add edx, 0x24
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x30]
add edx, 0x24
mov dword [esp + 0x30], edx
mov edx, 0x24
add eax, edx
add ecx, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x2c]
add eax, edx
add ecx, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x378]
test ecx, ecx
je 0x455019
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
lea eax, [ecx + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + edx]
mov edx, dword [esp + 0x28]
test byte [ecx + edx + 0xb], 0x80
je 0x455019
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
lea eax, [esi - 3]
mov dword [ecx], 4
mov dword [edx], eax
mov edx, dword [esp + 0x38]
lea eax, [esi - 4]
mov dword [edx], eax
mov edx, dword [esp + 0x34]
lea eax, [esi - 1]
mov dword [edx], eax
mov edx, dword [esp + 0x30]
lea eax, [esi - 2]
mov dword [edx], eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
fld dword [eax - 0xc]
fchs
fstp dword [eax]
fld dword [eax - 8]
fchs
fstp dword [eax + 4]
fld dword [eax - 4]
fchs
fstp dword [eax + 8]
add eax, 0xc
mov dword [edx], edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
add eax, 9
mov edx, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, 0x24
add ecx, eax
mov dword [edx], edi
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x38]
add ecx, eax
mov dword [edx], edi
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x34]
add ecx, eax
mov edx, dword [esp + 0x40]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
add ecx, eax
mov dword [edx], edi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x48]
add ecx, eax
inc edi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x44]
add ecx, eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x2c]
add ecx, eax
add edx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x58]
add ecx, 0xe
inc eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x58], eax
mov edx, dword [ecx]
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + edx]
jl 0x454cff
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov edx, dword [eax - 8]
inc ecx
add ebx, 4
cmp ecx, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ebx
jl 0x454c78
mov ecx, dword [esp + 0x70]
add eax, 0x18
dec ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x70], ecx
jne 0x454c5d
mov ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov dword [ebp + edx*4], 0
lea edx, [esp + 0x5c]
mov eax, dword [ebx]
push edx
mov edx, dword [esp + 0x64]
push ebp
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x70]
push edi
push edx
push esi
push eax
call dword [ecx + 0x5c]
mov edi, dword [esp + 0x6c]
push ebx
mov ecx, edi
call fcn.00455750
mov eax, dword [edi + 0x98]
mov edx, dword [ebx]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
push ebp
call fcn.0045bbf4
mov eax, dword [esp + 0x64]
push eax
call fcn.0045bbf4
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0045bbf4
mov edx, dword [esp + 0xa4]
add esp, 0xc
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
lea ebp, [edx + 0x38]
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x20], 0
test eax, eax
jle 0x4552ba
xor ebx, ebx
mov eax, dword [esp + 0x28]
cmp eax, 6
je 0x45512d
mov ecx, dword [esp + 0xa4]
cmp eax, ecx
je 0x45512d
inc ecx
cmp eax, ecx
jne 0x4552a3
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp]
mov edx, dword [esp + 0x9c]
movsx esi, word [eax + ebx + 8]
mov eax, dword [edx + 0x1bc]
lea ecx, [esi + esi*2]
shl ecx, 4
sub ecx, esi
add eax, ecx
mov cl, byte [eax + 0x2c]
test cl, cl
je 0x4551ac
mov ax, word [eax + 0x2d]
cmp ax, 0xe
jge 0x455201
movsx ecx, ax
push ecx
mov ecx, edi
call fcn.004559f0
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x4664f8
push eax
call dword [edx]
mov eax, dword [esp + 0x10]
push 1
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x455201
mov edx, dword [esp + 0x9c]
mov ecx, dword [edx + 0x154]
test ecx, ecx
je 0x455201
movsx eax, word [eax + 0x2d]
cmp eax, dword [edx + 0x1c0]
jge 0x455201
cmp dword [ecx + eax*4], 0
je 0x455201
push eax
mov ecx, edi
call fcn.00455a30
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x4664f8
push eax
call dword [ecx]
mov eax, dword [esp + 0x10]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp]
mov edx, dword [esp + 0x14]
push 0
push esi
mov cx, word [eax + ebx + 0xa]
push edx
push ecx
mov ecx, edi
call fcn.00455790
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc edx
push eax
mov dword [esp + 0x1c], edx
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [edi + 0x378]
test eax, eax
je 0x455283
mov eax, dword [ebp]
test byte [eax + ebx + 0xb], 0x80
je 0x455283
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov ecx, dword [ebp]
mov eax, dword [esp + 0x14]
push 1
push esi
mov dx, word [ecx + ebx + 0xa]
push eax
xor dx, 0x10
mov ecx, edi
push edx
call fcn.00455790
inc dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x455299
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp - 0x38]
inc eax
add ebx, 0xe
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x455110
mov eax, dword [esp + 0x28]
add ebp, 4
inc eax
cmp eax, 7
mov dword [esp + 0x28], eax
jl 0x4550fb
mov eax, dword [esp + 0x98]
mov dword [esp + 0x70], 4
lea ecx, [eax + 0x68]
mov dword [esp + 0x28], ecx
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 4]
xor ebp, ebp
cmp edx, ebp
mov dword [esp + 0x20], ebp
jle 0x4554d9
mov edx, dword [eax]
mov dword [esp + 0x58], 0
cmp dword [edx + ebp], 0
jle 0x4554bf
xor ebx, ebx
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + ebp]
mov ecx, dword [esp + 0x9c]
movsx esi, word [edx + ebx + 8]
mov edx, dword [ecx + 0x1bc]
lea eax, [esi + esi*2]
shl eax, 4
sub eax, esi
add eax, edx
mov cl, byte [eax + 0x2c]
test cl, cl
je 0x455394
mov ax, word [eax + 0x2d]
cmp ax, 0xe
jge 0x4553e9
movsx eax, ax
push eax
mov ecx, edi
call fcn.004559f0
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x4664f8
push eax
call dword [ecx]
mov eax, dword [esp + 0x10]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x3c]
jmp 0x4553e9
mov edx, dword [esp + 0x9c]
mov ecx, dword [edx + 0x154]
test ecx, ecx
je 0x4553e9
movsx eax, word [eax + 0x2d]
cmp eax, dword [edx + 0x1c0]
jge 0x4553e9
cmp dword [ecx + eax*4], 0
je 0x4553e9
push eax
mov ecx, edi
call fcn.00455a30
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x4664f8
push eax
call dword [edx]
mov eax, dword [esp + 0x10]
push 1
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
push 0
push esi
mov edx, dword [ecx]
push eax
mov eax, dword [edx + ebp]
mov cx, word [eax + ebx + 0xa]
push ecx
mov ecx, edi
call fcn.00455790
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc edx
push eax
mov dword [esp + 0x1c], edx
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [edi + 0x378]
test eax, eax
je 0x45547d
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + ebp]
test byte [edx + ebx + 0xb], 0x80
je 0x45547d
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
push 1
push esi
mov edx, dword [ecx]
push eax
mov eax, dword [edx + ebp]
mov cx, word [eax + ebx + 0xa]
xor cx, 0x10
push ecx
mov ecx, edi
call fcn.00455790
inc dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x455493
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x58]
inc eax
add ebx, 0xe
lea ecx, [edx - 4]
mov dword [esp + 0x58], eax
mov ecx, dword [ecx]
cmp eax, dword [ecx + ebp]
jl 0x45530f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov esi, dword [ecx - 0xc]
lea eax, [ecx - 4]
inc edx
add ebp, 4
cmp edx, esi
mov dword [esp + 0x20], edx
jl 0x4552f9
mov eax, dword [esp + 0x70]
add ecx, 0x18
dec eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x70], eax
jne 0x4552e5
mov eax, dword [esp + 0x5c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x80
ret 0x14