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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ebae8
mov eax, dword fs:[0]
push eax
sub esp, 0x3f8
mov eax, dword [0x638190]
xor eax, esp
mov dword [esp + 0x3f0], eax
push ebx
push esi
push edi
mov eax, dword [0x638190]
xor eax, esp
push eax
lea eax, [esp + 0x408]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00527e90
mov ebx, eax
lea eax, [ebx*4]
push eax
mov ecx, edi
mov dword [esp + 0x40], ebx
call fcn.00569010
lea ecx, [esp + 0x23c]
call fcn.0051a7e0
xor edi, edi
lea ecx, [esp + 0x2b0]
mov dword [esp + 0x410], edi
call fcn.0051a7e0
lea ecx, [esp + 0x28c]
mov byte [esp + 0x410], 1
call fcn.004f1250
lea ecx, [esp + 0x268]
mov byte [esp + 0x410], 2
call fcn.004f1250
lea ecx, [esp + 0x2dc]
mov byte [esp + 0x410], 3
call fcn.004f1250
lea ecx, [esp + 0x58]
mov byte [esp + 0x410], 4
call fcn.004f8520
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x410], 5
call fcn.004f8520
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
inc eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x14], edi
sar eax, 1
mov edi, ebx
mov dword [esp + 0x38], eax
shl edi, 4
mov edx, dword [edi + ecx - 0xc]
lea eax, [edi + ecx]
mov dword [esp + 0x1c], edx
mov eax, dword [eax - 8]
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x410], 6
mov dword [esp + 0x20], eax
call fcn.005875f0
lea ecx, [esp + 0x350]
mov byte [esp + 0x410], 7
call fcn.0051a7e0
mov ecx, dword [esi + 0x10]
xor eax, eax
test byte [edi + ecx - 0xe], 0x80
mov byte [esp + 0x410], 8
mov dword [esp + 0xa0], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x9c], eax
je 0x56973c
lea eax, [ebx - 1]
push eax
lea edx, [esp + 0x1d4]
push edx
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.0052a840
lea ecx, [esp + 0x1d0]
call fcn.00587a30
mov dword [esp + 0xa0], eax
test eax, eax
je 0x56973c
lea eax, [esp + 0x350]
push eax
lea ecx, [esp + 0x1d4]
call fcn.00588ba0
mov ecx, dword [esi + 0x10]
xor eax, eax
add ebx, 0xfffffffe
shl ebx, 4
mov edx, 0x800
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
test word [ebx + ecx + 2], dx
je 0x5696a6
mov eax, ecx
mov ecx, dword [edi + eax - 0x1c]
add edi, eax
mov dword [esp + 0x84], ecx
mov edx, dword [edi - 0x18]
lea eax, [esp + 0x354]
push eax
lea ecx, [esp + 0x88]
push ecx
mov dword [esp + 0x90], edx
call fcn.004fa8a0
add esp, 8
test eax, eax
je 0x5696a6
mov dword [esp + 0x90], 1
mov edx, dword [esi + 0x10]
mov eax, 0x800
test word [edx + 2], ax
je 0x5696f1
mov eax, edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 8]
lea eax, [esp + 0x35c]
push eax
lea ecx, [esp + 0x88]
push ecx
mov dword [esp + 0x90], edx
call fcn.004fa8a0
add esp, 8
test eax, eax
je 0x5696f1
mov dword [esp + 0x9c], 1
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
call fcn.00525680
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
lea ecx, [esp + 0x350]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 1
mov ecx, esi
call edx
mov ecx, esi
call fcn.00527e90
mov ecx, dword [esp + 0x360]
mov ebx, eax
mov eax, dword [esp + 0x35c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0x130]
mov ecx, edx
push eax
xor edi, edi
push ecx
lea ecx, [esp + 0x338]
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], edi
mov dword [esp + 0x138], 0x64
mov dword [esp + 0x13c], edi
call fcn.004f14a0
push edi
push edi
push eax
lea ecx, [esp + 0x388]
mov byte [esp + 0x41c], 9
call fcn.0051a800
push eax
lea ecx, [esp + 0x2b4]
mov byte [esp + 0x414], 0xa
call fcn.0051ed40
lea ecx, [esp + 0x37c]
mov byte [esp + 0x410], 9
call fcn.0051a830
lea ecx, [esp + 0x32c]
mov byte [esp + 0x410], 8
call fcn.004f1b60
push edi
lea ecx, [esp + 0x2b4]
call fcn.004f3df0
mov edx, dword [esi + 0x10]
mov edi, ebx
shl edi, 4
test byte [edi + edx - 0xe], 1
lea ecx, [edi + edx - 0x10]
je 0x569838
lea eax, [esp + 0x2b0]
push eax
call fcn.0056fca0
lea ecx, [esp + 0x2b0]
call fcn.004f41c0
fstp qword [esp + 0x164]
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x2b4]
call fcn.004f5540
mov edx, dword [eax]
mov dword [esp + 0xc4], edx
mov eax, dword [eax + 4]
mov dword [esp + 0xc8], eax
mov eax, dword [esi + 0x10]
test byte [eax + 2], 0x80
je 0x569a02
test byte [eax + edi - 0xe], 1
jne 0x569a02
lea ecx, [esp + 0x32c]
call fcn.005875f0
push 0
lea ecx, [esp + 0x330]
push ecx
mov ecx, esi
mov byte [esp + 0x418], 0xb
call fcn.0052a840
lea ecx, [esp + 0x32c]
call fcn.00587a30
test eax, eax
je 0x5699ee
lea ecx, [esp + 0x300]
call fcn.0051a7e0
lea edx, [esp + 0x300]
push edx
lea ecx, [esp + 0x330]
mov byte [esp + 0x414], 0xc
call fcn.00588ba0
xor eax, eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + edi - 0xc]
add eax, edi
mov dword [esp + 0xbc], ecx
mov edx, dword [eax - 8]
lea eax, [esp + 0x304]
push eax
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0xc8], edx
call fcn.004fa8a0
add esp, 8
test eax, eax
je 0x5699da
mov edx, dword [esi + 0x10]
mov eax, dword [edi + edx - 0x18]
mov ecx, dword [esp + 0x304]
add edi, edx
mov edi, dword [edi - 0x1c]
mov edx, dword [esp + 0x308]
sub ecx, edi
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
sub edx, eax
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
mov edx, dword [esp + 0x320]
fild dword [esp + 0x314]
mov ecx, edx
and ecx, 2
fld qword [0x601ef0]
fmul st(1), st(0)
fxch st(1)
fmulp st(3)
fimul dword [esp + 0x318]
fmulp st(1)
faddp st(1)
jne 0x56996c
movsx eax, dx
and eax, 0xfffffffb
cmp ax, 1
jne 0x56996c
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x569989
test cx, cx
jne 0x5699d8
movsx eax, dx
and eax, 0xfffffffb
test ax, ax
jne 0x5699d8
fldz
fcompp
fnstsw ax
test ah, 5
jp 0x5699da
jmp 0x56998b
fstp st(0)
push 0
mov ecx, esi
call fcn.00525680
push 0
lea eax, [esp + 0x304]
push eax
mov ecx, esi
call fcn.00525520
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
push 1
mov ecx, esi
call eax
mov ecx, esi
call fcn.00527e90
mov edx, dword [esi + 0x10]
mov ebx, eax
mov ecx, ebx
shl ecx, 4
lea eax, [ecx + edx]
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax - 8]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], edx
jmp 0x5699da
fstp st(0)
lea ecx, [esp + 0x300]
mov byte [esp + 0x410], 0xb
call fcn.0051a830
lea ecx, [esp + 0x32c]
mov byte [esp + 0x410], 8
call fcn.00587670
mov dword [esp + 0x18], 0
test ebx, ebx
jle 0x56b0b1
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
mov ebx, edi
shl ebx, 4
lea ecx, [ebx + eax]
mov edx, 0x800
mov dword [esp + 0x2c], ebx
test word [ecx + 2], dx
je 0x56a032
lea eax, [esp + 0x50]
push eax
call fcn.0056fc00
mov edi, dword [esp + 0x3c]
mov edx, dword [esi + 0x10]
dec edi
cmp dword [esp + 0x18], edi
jne 0x569a65
mov ecx, 0x800
test word [edx + 2], cx
mov ecx, edx
je 0x569a76
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + 8]
jmp 0x569a92
mov eax, 0x800
test word [ebx + edx + 0x12], ax
je 0x569a82
mov ecx, dword [esi + 0x10]
add ecx, ebx
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + 0x18]
jmp 0x569a92
mov eax, dword [esi + 0x10]
lea ecx, [ebx + eax]
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x150], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x15c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x16c], ecx
push 0
mov dword [esp + 0x174], eax
mov eax, dword [ebx + edx + 0xc]
lea ecx, [esp + 0x150]
push ecx
lea edx, [esp + 0x164]
push edx
push eax
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0xfc]
call fcn.00587620
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x414], 0xd
call fcn.005befc0
call fcn.005c3ce0
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x18], edi
jne 0x569b24
xor edi, edi
jmp 0x569b29
mov edi, dword [esp + 0x18]
inc edi
mov eax, dword [esi + 0x10]
test byte [ebx + eax + 2], 0x80
jne 0x569cb7
mov ebx, edi
shl ebx, 4
test byte [ebx + eax + 2], 0x80
je 0x569cb3
lea ecx, [esp + 0x218]
call fcn.005875f0
push edi
lea edx, [esp + 0x21c]
push edx
mov ecx, esi
mov byte [esp + 0x418], 0xe
call fcn.0052a840
lea ecx, [esp + 0x218]
call fcn.00587a30
test eax, eax
je 0x569c9f
mov eax, dword [esi + 0x10]
mov ebx, dword [ebx + eax + 0xc]
mov ecx, dword [esp + 0x38]
add ebx, ecx
cmp dword [esp + 0x6c], ebx
jge 0x569c9f
lea ecx, [esp + 0x3a8]
call fcn.0051a7e0
lea edx, [esp + 0x3a8]
push edx
lea ecx, [esp + 0x21c]
mov byte [esp + 0x414], 0xf
call fcn.00588ba0
push edi
mov ecx, esi
call fcn.00525680
push edi
lea eax, [esp + 0x3ac]
push eax
mov ecx, esi
call fcn.00525520
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
push 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
mov ecx, esi
call fcn.00527e90
mov ebx, eax
mov dword [esp + 0x3c], ebx
test edi, edi
jne 0x569c5e
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x3ac]
mov dword [esp + 0x114], edx
push ecx
lea edx, [esp + 0x118]
push edx
mov dword [esp + 0x120], eax
call fcn.004fa8a0
add esp, 8
test eax, eax
je 0x569c56
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x124]
mov dword [esp + 0x128], ecx
push edx
mov ecx, esi
mov dword [esp + 0x128], eax
call fcn.0052ad30
inc ebx
mov dword [esp + 0x3c], ebx
sub ebx, dword [esp + 0x2c]
add dword [esp + 0x18], ebx
lea ecx, [esp + 0x3a8]
mov byte [esp + 0x410], 0xe
call fcn.0051a830
lea ecx, [esp + 0x218]
mov byte [esp + 0x410], 0xd
call fcn.00587670
lea ecx, [esp + 0xe8]
mov byte [esp + 0x410], 8
call fcn.00587670
jmp 0x56af83
lea ecx, [esp + 0x218]
mov byte [esp + 0x410], 0xd
call fcn.00587670
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x10]
movsx eax, word [ebx + ecx + 2]
and eax, 0x80
shr eax, 7
test eax, eax
je 0x569f45
cmp dword [ebp + 0xc], 0
je 0x569da4
shl edi, 4
movsx eax, word [edi + ecx + 2]
test eax, 0x800
je 0x569fce
test al, al
js 0x569fce
lea ecx, [esp + 0xe8]
call fcn.00587a30
test eax, eax
je 0x569fce
mov eax, dword [esi + 0x10]
mov eax, dword [ebx + eax + 0xc]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
add eax, ecx
cmp dword [esp + 0x6c], eax
jl 0x569d27
test edi, edi
jne 0x569fce
lea ecx, [esp + 0x3d4]
call fcn.0051a7e0
lea edx, [esp + 0x3d4]
push edx
lea ecx, [esp + 0xec]
mov byte [esp + 0x414], 0x10
call fcn.00588ba0
push edi
mov ecx, esi
call fcn.00525680
push edi
lea eax, [esp + 0x3d8]
push eax
mov ecx, esi
call fcn.00525520
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
push 1
mov ecx, esi
call eax
mov ecx, esi
call fcn.00527e90
mov dword [esp + 0x3c], eax
test edi, edi
jne 0x569d98
mov ecx, dword [esi + 0x10]
shl eax, 4
mov edx, dword [eax + ecx - 0xc]
add eax, ecx
mov dword [esp + 0x1c], edx
mov eax, dword [eax - 8]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x3d4]
jmp 0x569e76
test eax, eax
je 0x569f45
lea ecx, [esp + 0xe8]
call fcn.00587a30
test eax, eax
je 0x569f45
mov eax, dword [esi + 0x10]
shl edi, 4
movsx ecx, word [edi + eax + 2]
test ecx, 0x800
je 0x569e9c
test cl, cl
js 0x569e9c
mov ecx, dword [ebx + eax + 0xc]
mov edx, dword [esp + 0x38]
add ecx, edx
cmp dword [esp + 0x6c], ecx
jl 0x569dfa
cmp dword [esp + 0x18], 0
jne 0x569e9c
lea ecx, [esp + 0x37c]
call fcn.0051a7e0
lea eax, [esp + 0x37c]
push eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x414], 0x11
call fcn.00588ba0
mov edi, dword [esp + 0x18]
push edi
mov ecx, esi
call fcn.00525680
push edi
lea ecx, [esp + 0x380]
push ecx
mov ecx, esi
call fcn.00525520
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
push 1
mov ecx, esi
call eax
mov ecx, esi
call fcn.00527e90
mov dword [esp + 0x3c], eax
test edi, edi
jne 0x569e6f
mov ecx, dword [esi + 0x10]
shl eax, 4
mov edx, dword [eax + ecx - 0xc]
add eax, ecx
mov dword [esp + 0x1c], edx
mov eax, dword [eax - 8]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x37c]
mov byte [esp + 0x410], 0xd
call fcn.0051a830
lea ecx, [esp + 0xe8]
mov byte [esp + 0x410], 8
call fcn.00587670
jmp 0x56af83
mov ecx, 0x400
test word [ebx + eax + 2], cx
lea ecx, [esp + 0xe8]
je 0x569efa
lea edx, [esp + 0x58]
push edx
call fcn.00588b80
mov edi, dword [esp + 0x14]
mov ecx, dword [0x6390ac]
lea eax, [esp + 0x5c]
shl edi, 4
push eax
add ecx, edi
call fcn.0056fa20
mov eax, dword [0x6390ac]
lea edx, [esp + 0x64]
push edx
lea ecx, [edi + eax + 0x10]
call fcn.0056fa20
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
jmp 0x569fed
lea eax, [esp + 0x28c]
push eax
call fcn.00588ba0
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x28c]
push ecx
mov ecx, edi
shl ecx, 4
add ecx, dword [0x6390ac]
call fcn.0056fa50
mov edx, dword [esp + 0x298]
mov eax, dword [esp + 0x29c]
add edi, 3
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], edi
jmp 0x569fed
mov ecx, dword [esi + 0x10]
push 0
add ecx, ebx
call fcn.0056fd80
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004fa9f0
fcomp qword [0x5f3dc8]
add esp, 0xc
fnstsw ax
test ah, 5
jp 0x569fce
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0xe8]
mov dword [esp + 0x104], edi
call fcn.00587a30
test eax, eax
je 0x569fce
mov ecx, dword [esi + 0x10]
push 1
add ecx, ebx
call fcn.0056fd80
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x28c]
add eax, ebx
push ecx
lea ecx, [esp + 0xec]
mov dword [eax + 0xc], edi
call fcn.00588ba0
mov edx, dword [esp + 0x298]
mov eax, dword [esp + 0x29c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x10]
mov ecx, eax
shl ecx, 4
add ecx, dword [0x6390ac]
add edx, ebx
inc eax
push edx
mov dword [esp + 0x18], eax
call fcn.004f7030
mov eax, dword [esp + 0x50]
inc dword [esp + 0x18]
mov dword [esp + 0x78], 0
cmp dword [esp + 0x1c], eax
jne 0x56a00d
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x54]
je 0x56a019
mov edx, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
lea ecx, [esp + 0xe8]
mov byte [esp + 0x410], 8
call fcn.00587670
jmp 0x56af83
lea eax, [esp + 0x23c]
push eax
call fcn.0056fca0
lea ecx, [esp + 0x23c]
call fcn.004f41c0
fstp qword [esp + 0x7c]
lea ecx, [esp + 0x1ac]
push ecx
lea ecx, [esp + 0x240]
call fcn.004f5540
mov edx, dword [eax]
mov ecx, dword [esp + 0x25c]
mov dword [esp + 0xa4], edx
mov eax, dword [eax + 4]
mov edx, ecx
and edx, 2
mov dword [esp + 0xa8], eax
je 0x56a08e
mov dword [esp + 0x6c], 2
jmp 0x56a09b
movsx eax, cx
and eax, 0xfffffffb
movzx eax, ax
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x3c], 3
jne 0x56a0bb
test dx, dx
jne 0x56af96
movsx eax, cx
and eax, 0xfffffffb
cmp ax, 1
jne 0x56af96
cmp dword [esp + 0x78], 0
jne 0x56a581
test edi, edi
jne 0x56a0fa
cmp dword [esp + 0x2cc], edi
je 0x56a0fa
lea ecx, [esp + 0x2bc]
push ecx
lea edx, [esp + 0x244]
push edx
call fcn.004fa8a0
add esp, 8
test eax, eax
jne 0x56a585
mov ecx, dword [esp + 0x25c]
mov edi, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
sub edx, dword [esp + 0x20]
mov eax, edi
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
mov edx, ecx
and edx, 2
fild dword [esp + 0x254]
fld qword [0x601ef0]
fmul st(1), st(0)
fxch st(1)
fmulp st(2)
fimul dword [esp + 0x250]
fmulp st(2)
faddp st(1)
jne 0x56a15e
movsx eax, cx
and eax, 0xfffffffb
cmp ax, 1
jne 0x56a15e
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x56a187
test dx, dx
jne 0x56a97d
movsx eax, cx
and eax, 0xfffffffb
test ax, ax
jne 0x56a97d
fldz
fcompp
fnstsw ax
test ah, 5
jp 0x56a97f
jmp 0x56a189
fstp st(0)
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x244]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x60], ecx
push eax
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edx
call fcn.004f8960
mov ecx, dword [esp + 0x38]
push 1
push ecx
lea ecx, [esp + 0x60]
call fcn.004f86c0
lea edx, [esp + 0x23c]
push edx
lea ecx, [esp + 0x26c]
call fcn.004f2e40
mov eax, dword [esp + 0x25c]
and eax, 0xfffffff9
cmp ax, 1
jne 0x56a1fb
mov ecx, dword [esp + 0x258]
sub ecx, dword [esp + 0x38]
push ecx
jmp 0x56a209
mov edx, dword [esp + 0x258]
mov eax, dword [esp + 0x38]
add edx, eax
push edx
lea ecx, [esp + 0x26c]
call fcn.004f3df0
lea ecx, [esp + 0x23c]
push ecx
lea ecx, [esp + 0x290]
call fcn.004f2e40
push 0
lea ecx, [esp + 0x290]
call fcn.004f3df0
cmp dword [esp + 0x284], 1
mov dword [esp + 0x2c], 0
jle 0x56a554
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x270]
push ecx
call fcn.00503890
add esp, 0xc
test eax, eax
jle 0x56a554
cmp eax, 2
jne 0x56a28e
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x270]
push ecx
call fcn.005b0190
add esp, 0xc
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x174]
mov dword [esp + 0x174], edx
push ecx
lea edx, [esp + 0x270]
push edx
mov dword [esp + 0x180], eax
call fcn.004fa8a0
add esp, 8
test eax, eax
jne 0x56a4bc
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x11c]
mov dword [esp + 0x120], ecx
push edx
lea ecx, [esp + 0x26c]
xor edi, edi
mov dword [esp + 0x120], eax
call fcn.004f42e0
mov eax, dword [esp + 0x258]
push eax
lea ecx, [esp + 0x26c]
call fcn.004f3df0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x194]
mov dword [esp + 0x194], ecx
push eax
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x1a0], edx
call fcn.004fa8a0
add esp, 8
test eax, eax
je 0x56a350
mov edx, dword [esp + 0x240]
mov eax, dword [esp + 0x244]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov edi, 1
jmp 0x56a370
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x38]
push 0
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x6c], eax
call fcn.004f86c0
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.004fa8a0
add esp, 8
test eax, eax
jne 0x56a541
lea ecx, [esp + 0x268]
call fcn.004f41c0
fst qword [esp + 0x94]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 5
jp 0x56a4bc
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x1c0]
call fcn.004f9700
test eax, eax
je 0x56a4bc
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
test edi, edi
je 0x56a3f8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
push 1
push edx
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ecx
lea eax, [esp + 0x274]
push eax
lea ecx, [esp + 0x118]
push ecx
lea edx, [esp + 0xbc]
push edx
lea ecx, [esp + 0x208]
call fcn.004f1a50
push eax
lea ecx, [esp + 0x290]
mov byte [esp + 0x414], 0x13
call fcn.004f2e40
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x410], 8
call fcn.004f1b60
mov eax, dword [esp + 0x25c]
test al, 2
jne 0x56a49d
cwde
and eax, 0xfffffffb
cmp ax, 2
je 0x56a49d
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x270]
push ecx
call fcn.004fa8a0
add esp, 8
test eax, eax
je 0x56a49d
mov dword [esp + 0x2c], 1
jmp 0x56a4b1
lea edx, [esp + 0x26c]
push edx
lea ecx, [esp + 0x240]
call fcn.004f42e0
fld qword [esp + 0x94]
fstp qword [esp + 0x7c]
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x2a8], 0
jle 0x56a502
lea ecx, [esp + 0x28c]
call fcn.004f41c0
fcomp qword [0x602558]
fnstsw ax
test ah, 5
jp 0x56a502
lea ecx, [esp + 0x28c]
push ecx
mov ecx, edi
shl ecx, 4
add ecx, dword [0x6390ac]
call fcn.0056fa50
add edi, 3
mov dword [esp + 0x14], edi
cmp dword [esp + 0x2c], 0
je 0x56a983
mov ecx, edi
shl ecx, 4
add ecx, dword [0x6390ac]
lea edx, [esp + 0x248]
push edx
call fcn.0056fa20
mov eax, dword [esp + 0x248]
mov ecx, dword [esp + 0x24c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
inc edi
jmp 0x56af7a
push 0
lea ecx, [esp + 0x290]
call fcn.004f3df0
jmp 0x56a4bc
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x56a4c0
mov ecx, dword [0x6390ac]
lea eax, [esp + 0x240]
push eax
call fcn.0056fa20
mov edi, 1
mov dword [esp + 0x14], edi
jmp 0x56a4c0
test edi, edi
jne 0x56a590
mov dword [esp + 0x8c], 1
lea edx, [esp + 0xc4]
push edx
lea eax, [esp + 0x244]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.004fa9f0
mov eax, dword [esp + 0x268]
mov edx, dword [esp + 0x2dc]
mov edi, dword [esp + 0x44]
and eax, 0xfffffff9
and edx, 0xfffffff9
xor ecx, ecx
add esp, 0xc
cmp ax, dx
sete cl
test ax, ax
je 0x56a5e2
cmp dword [esp + 0x258], edi
jle 0x56a966
fldz
fcompp
fnstsw ax
test ecx, ecx
je 0x56a5f6
test ah, 0x41
je 0x56a5ff
jmp 0x56a968
test ah, 5
jp 0x56a968
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x26c]
call fcn.004f2e40
lea ecx, [esp + 0x2b0]
push ecx
lea ecx, [esp + 0x2e0]
call fcn.004f2e40
mov edx, dword [esp + 0x25c]
and edx, 0xfffffff9
cmp dx, 1
jne 0x56a643
mov eax, dword [esp + 0x258]
sub eax, edi
push eax
jmp 0x56a64d
mov ecx, dword [esp + 0x258]
add ecx, edi
push ecx
lea ecx, [esp + 0x26c]
call fcn.004f3df0
mov edx, dword [esp + 0x2d0]
and edx, 0xfffffff9
cmp dx, 1
jne 0x56a675
mov eax, dword [esp + 0x2cc]
sub eax, edi
push eax
jmp 0x56a67f
mov ecx, dword [esp + 0x2cc]
add ecx, edi
push ecx
lea ecx, [esp + 0x2e0]
call fcn.004f3df0
lea edx, [esp + 0x23c]
push edx
lea ecx, [esp + 0x290]
call fcn.004f2e40
push 0
lea ecx, [esp + 0x290]
call fcn.004f3df0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2e0]
push ecx
lea edx, [esp + 0x270]
push edx
call fcn.00503420
add esp, 0xc
test eax, eax
jle 0x56a8f8
cmp eax, 2
jne 0x56a6f1
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x270]
push edx
call fcn.005b0190
add esp, 0xc
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x1a4]
mov dword [esp + 0x1a4], eax
push edx
lea eax, [esp + 0x270]
push eax
mov dword [esp + 0x1b0], ecx
call fcn.004fa8a0
add esp, 8
test eax, eax
jne 0x56a763
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x19c]
mov dword [esp + 0x19c], ecx
push eax
lea ecx, [esp + 0x26c]
mov dword [esp + 0x1a4], edx
call fcn.004f42e0
mov ecx, dword [esp + 0x258]
push ecx
lea ecx, [esp + 0x26c]
call fcn.004f3df0
jmp 0x56a777
lea edx, [esp + 0x23c]
push edx
lea ecx, [esp + 0x26c]
call fcn.004f2e40
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x144]
mov dword [esp + 0x144], eax
push edx
lea eax, [esp + 0x2ec]
push eax
mov dword [esp + 0x150], ecx
call fcn.004fa8a0
add esp, 8
test eax, eax
jne 0x56a7e9
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x17c]
mov dword [esp + 0x17c], ecx
push eax
lea ecx, [esp + 0x2e0]
mov dword [esp + 0x184], edx
call fcn.004f4410
mov ecx, dword [esp + 0x2cc]
push ecx
lea ecx, [esp + 0x2e0]
call fcn.004f3df0
jmp 0x56a7fd
lea edx, [esp + 0x2b0]
push edx
lea ecx, [esp + 0x2e0]
call fcn.004f2e40
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x2ec]
push ecx
call fcn.004fa8a0
add esp, 8
test eax, eax
jne 0x56a8f8
lea ecx, [esp + 0x268]
call fcn.004f41c0
fstp qword [esp + 0x2c]
lea ecx, [esp + 0x2dc]
call fcn.004f41c0
fld qword [esp + 0x2c]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 5
jp 0x56a8f6
fcomp qword [esp + 0x164]
fnstsw ax
test ah, 5
jp 0x56a8f8
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push 1
push edi
lea ecx, [esp + 0x274]
push ecx
mov dword [esp + 0x160], edx
lea edx, [esp + 0x160]
mov dword [esp + 0x164], eax
push edx
lea eax, [esp + 0x2f8]
push eax
lea ecx, [esp + 0x208]
call fcn.004f1a50
push eax
lea ecx, [esp + 0x290]
mov byte [esp + 0x414], 0x12
call fcn.004f2e40
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x410], 8
call fcn.004f1b60
lea ecx, [esp + 0x26c]
push ecx
lea ecx, [esp + 0x240]
call fcn.004f42e0
lea edx, [esp + 0x2e8]
push edx
lea ecx, [esp + 0x2b4]
call fcn.004f4410
fld qword [esp + 0x2c]
fstp qword [esp + 0x7c]
jmp 0x56a8f8
fstp st(0)
cmp dword [esp + 0x18], 0
mov edi, dword [esp + 0x14]
jle 0x56a922
mov ecx, edi
shl ecx, 4
add ecx, dword [0x6390ac]
lea eax, [esp + 0x2b0]
push eax
call fcn.0056fa50
add edi, 3
mov dword [esp + 0x14], edi
cmp dword [esp + 0x2a8], 0
jle 0x56a983
lea ecx, [esp + 0x28c]
call fcn.004f41c0
fcomp qword [0x602558]
fnstsw ax
test ah, 5
jp 0x56a983
lea ecx, [esp + 0x28c]
push ecx
mov ecx, edi
shl ecx, 4
add ecx, dword [0x6390ac]
call fcn.0056fa50
add edi, 3
mov dword [esp + 0x14], edi
jmp 0x56a983
fstp st(0)
cmp dword [esp + 0x18], 0
mov edi, dword [esp + 0x14]
jle 0x56a983
lea edx, [esp + 0x2b0]
push edx
jmp 0x56a94d
fstp st(0)
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
lea ecx, [eax - 3]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x78], 0
mov edx, 0x800
cmp eax, ecx
jne 0x56aac4
test edi, edi
jle 0x56a9cf
mov ecx, dword [0x6390ac]
test word [ecx + 2], dx
je 0x56a9bf
lea eax, [esp + 0x24]
push eax
call fcn.0056fc00
jmp 0x56a9f5
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x28], eax
jmp 0x56a9f5
mov ecx, dword [esi + 0x10]
test word [ecx + 2], dx
je 0x56a9e4
lea eax, [esp + 0x24]
push eax
call fcn.0056fc00
jmp 0x56a9f5
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x28], edx
cmp dword [esp + 0x8c], 0
jne 0x56afb3
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x248]
lea ecx, [esp + 0x23c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
fild dword [esp + 0x2c]
sub eax, dword [esp + 0x24c]
fstp qword [esp + 0xcc]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp qword [esp + 0x94]
call fcn.004f1ba0
fchs
lea ecx, [esp + 0x23c]
fmul qword [esp + 0x94]
fstp qword [esp + 0x94]
call fcn.004f1b70
mov ecx, dword [esp + 0x25c]
fchs
fmul qword [esp + 0xcc]
mov edx, ecx
and edx, 2
fadd qword [esp + 0x94]
jne 0x56aa98
movsx eax, cx
and eax, 0xfffffffb
cmp ax, 1
jne 0x56aa98
fldz
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x56ab6e
test dx, dx
jne 0x56aefe
movsx eax, cx
and eax, 0xfffffffb
test ax, ax
jne 0x56aefe
fldz
fcompp
fnstsw ax
test ah, 0x41
jne 0x56af00
jmp 0x56ab70
mov ecx, dword [esi + 0x10]
add eax, 3
shl eax, 4
add ecx, eax
test word [ecx + 2], dx
je 0x56aae4
lea eax, [esp + 0x24]
push eax
call fcn.0056fc00
jmp 0x56aa03
mov ecx, dword [esi + 0x10]
lea eax, [ebx + ecx]
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x184]
mov dword [esp + 0x28], eax
mov dword [esp + 0x188], eax
push edx
lea eax, [esp + 0x24c]
push eax
mov dword [esp + 0x18c], ecx
call fcn.004fa8a0
add esp, 8
test eax, eax
je 0x56aa03
lea ecx, [esp + 0x23c]
push ecx
lea ecx, [esp + 0x2b4]
mov dword [esp + 0x7c], 1
call fcn.0051ed40
fld qword [esp + 0x7c]
mov edx, dword [esp + 0xa4]
fstp qword [esp + 0x164]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], eax
jmp 0x56af7e
fstp st(0)
mov ecx, dword [esp + 0x248]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x24c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x64], edx
call fcn.004f8960
mov ebx, dword [esp + 0x38]
push 1
push ebx
lea ecx, [esp + 0x60]
call fcn.004f86c0
lea ecx, [esp + 0x23c]
push ecx
lea ecx, [esp + 0x26c]
call fcn.004f2e40
mov edx, dword [esp + 0x25c]
and edx, 0xfffffff9
cmp dx, 1
jne 0x56abe7
mov eax, dword [esp + 0x258]
sub eax, ebx
push eax
jmp 0x56abf1
mov ecx, dword [esp + 0x258]
add ecx, ebx
push ecx
lea ecx, [esp + 0x26c]
call fcn.004f3df0
lea edx, [esp + 0x23c]
push edx
lea ecx, [esp + 0x290]
call fcn.004f2e40
push 0
lea ecx, [esp + 0x290]
call fcn.004f3df0
cmp dword [esp + 0x284], 1
jle 0x56ae59
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x270]
push edx
call fcn.00503890
add esp, 0xc
test eax, eax
jle 0x56ae59
cmp eax, 2
jne 0x56ac6e
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x270]
push edx
call fcn.005b0190
add esp, 0xc
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x18c]
mov dword [esp + 0x18c], eax
push edx
lea eax, [esp + 0x278]
push eax
mov dword [esp + 0x198], ecx
call fcn.004fa8a0
add esp, 8
test eax, eax
jne 0x56ae59
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x134]
mov dword [esp + 0x134], ecx
push eax
lea ecx, [esp + 0x26c]
mov dword [esp + 0x13c], edx
call fcn.004f4410
mov ecx, dword [esp + 0x258]
push ecx
lea ecx, [esp + 0x26c]
call fcn.004f3df0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x13c]
mov dword [esp + 0x13c], edx
push ecx
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x148], eax
call fcn.004fa8a0
add esp, 8
test eax, eax
je 0x56ad35
mov eax, dword [esp + 0x248]
mov ecx, dword [esp + 0x24c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x2c], 1
jmp 0x56ad51
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push 0
mov dword [esp + 0x64], ecx
push ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], eax
call fcn.004f86c0
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x278]
push eax
call fcn.004fa8a0
add esp, 8
test eax, eax
jne 0x56ae4b
lea ecx, [esp + 0x268]
call fcn.004f41c0
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 5
jp 0x56ae59
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x1c0]
call fcn.004f9700
test eax, eax
je 0x56ae59
cmp dword [esp + 0x2c], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], eax
je 0x56add5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 1
push ebx
lea edx, [esp + 0xbc]
mov dword [esp + 0x78], eax
push edx
mov dword [esp + 0x80], ecx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x284]
push ecx
lea ecx, [esp + 0x208]
call fcn.004f1a50
push eax
lea ecx, [esp + 0x290]
mov byte [esp + 0x414], 0x15
call fcn.004f2e40
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x410], 8
call fcn.004f1b60
lea edx, [esp + 0x274]
push edx
lea ecx, [esp + 0x240]
call fcn.004f4410
jmp 0x56ae59
push 0
lea ecx, [esp + 0x290]
call fcn.004f3df0
mov eax, dword [esp + 0x25c]
test al, 2
jne 0x56ae8d
cwde
and eax, 0xfffffffb
cmp ax, 2
je 0x56ae8d
mov ecx, edi
shl ecx, 4
add ecx, dword [0x6390ac]
lea eax, [esp + 0x23c]
push eax
call fcn.0056fa50
add edi, 3
mov dword [esp + 0x14], edi
cmp dword [esp + 0x2a8], 0
jle 0x56aee3
lea ecx, [esp + 0x28c]
call fcn.004f41c0
fcomp qword [0x602558]
fnstsw ax
test ah, 5
jp 0x56aee3
lea ecx, [esp + 0x28c]
push ecx
mov ecx, edi
shl ecx, 4
add ecx, dword [0x6390ac]
call fcn.0056fa50
mov edx, dword [esp + 0x298]
mov eax, dword [esp + 0x29c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jmp 0x56af77
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x24c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jmp 0x56af7e
fstp st(0)
cmp word [esp + 0x6c], 2
je 0x56af49
lea ecx, [esp + 0x23c]
call fcn.004f2e90
test eax, eax
je 0x56af49
mov ecx, edi
shl ecx, 4
add ecx, dword [0x6390ac]
lea eax, [esp + 0x248]
push eax
call fcn.0056fa20
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x24c]
inc edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jmp 0x56af7a
mov ecx, edi
shl ecx, 4
add ecx, dword [0x6390ac]
lea eax, [esp + 0x23c]
push eax
call fcn.0056fa50
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x24c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
add edi, 3
mov dword [esp + 0x14], edi
add dword [esp + 0x18], 3
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x3c]
jl 0x569a12
jmp 0x56b0b1
lea ecx, [esp + 0x23c]
push ecx
mov ecx, dword [0x6390ac]
call fcn.0056fa50
add dword [esp + 0x14], 3
jmp 0x56b0b1
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], edx
push ecx
lea edx, [esp + 0x244]
push edx
mov dword [esp + 0x7c], eax
call fcn.004fa8a0
add esp, 8
test eax, eax
jne 0x56b08a
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x330]
call fcn.004f3d50
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x70]
mov dword [esp + 0x70], ecx
push eax
lea ecx, [esp + 0x330]
mov byte [esp + 0x414], 0x14
mov dword [esp + 0x78], edx
call fcn.004f4410
lea ecx, [esp + 0x32c]
call fcn.004f41c0
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 5
jp 0x56b055
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x70]
mov dword [esp + 0x70], ecx
push eax
lea ecx, [esp + 0x240]
mov dword [esp + 0x78], edx
call fcn.004f4410
lea ecx, [esp + 0x23c]
push ecx
mov ecx, edi
shl ecx, 4
add ecx, dword [0x6390ac]
call fcn.0056fa50
add edi, 3
lea ecx, [esp + 0x32c]
mov dword [esp + 0x14], edi
mov byte [esp + 0x410], 8
call fcn.004f1b60
jmp 0x56b0b1
cmp word [esp + 0x6c], 2
jne 0x56b0b1
mov ecx, edi
shl ecx, 4
add ecx, dword [0x6390ac]
lea edx, [esp + 0x23c]
push edx
call fcn.0056fa50
add edi, 3
mov dword [esp + 0x14], edi
cmp dword [esp + 0xa0], 0
je 0x56b257
cmp dword [ebp + 0xc], 0
je 0x56b257
mov edi, dword [esp + 0x14]
mov eax, dword [0x6390ac]
add edi, 0xfffffffd
shl edi, 4
test byte [edi + eax + 2], 1
je 0x56b257
lea ecx, [esp + 0x300]
call fcn.0051a7e0
mov edx, dword [0x6390ac]
lea ecx, [esp + 0x300]
push ecx
lea ecx, [edi + edx]
mov byte [esp + 0x414], 0x16
call fcn.0056fca0
lea eax, [esp + 0x300]
mov esi, 3
push eax
lea ecx, [esp + 0x354]
lea ebx, [esi - 1]
call fcn.0051ede0
test eax, eax
je 0x56b243
cmp dword [esp + 0x90], 0
je 0x56b185
lea ecx, [esp + 0x304]
push ecx
lea ecx, [esp + 0xd0]
call fcn.0056fa20
mov eax, dword [0x6390ac]
lea edx, [esp + 0xcc]
push edx
lea ecx, [edi + eax]
mov byte [esp + 0x414], 0x17
call fcn.004f7030
mov esi, ebx
lea ecx, [esp + 0xcc]
lea ebx, [esi - 1]
mov byte [esp + 0x410], 0x16
call fcn.00440ab0
lea ecx, [esp + 0x1ac]
call fcn.004e79a0
mov ecx, dword [esp + 0x1ec]
push ecx
lea edx, [esp + 0x1d8]
push edx
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x418], 0x18
call fcn.0056fb30
mov edi, dword [esp + 0x14]
mov ecx, edi
sub ecx, esi
shl ecx, 4
add ecx, dword [0x6390ac]
lea eax, [esp + 0x1ac]
push eax
call fcn.004f7030
dec esi
cmp dword [esp + 0x9c], 0
je 0x56b229
lea ecx, [esp + 0x30c]
push ecx
lea ecx, [esp + 0xd0]
call fcn.0056fa20
mov ecx, edi
sub ecx, esi
shl ecx, 4
add ecx, dword [0x6390ac]
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x414], 0x19
call fcn.004f7030
lea ecx, [esp + 0xcc]
dec ebx
mov byte [esp + 0x410], 0x18
call fcn.00440ab0
sub edi, ebx
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x14], edi
mov byte [esp + 0x410], 0x16
call fcn.00440ab0
lea ecx, [esp + 0x300]
mov byte [esp + 0x410], 8
call fcn.0051a830
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x350]
mov dword [0x6390bc], eax
mov byte [esp + 0x410], 7
call fcn.0051a830
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x410], 6
call fcn.00587670
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x410], 5
call fcn.004f85b0
lea ecx, [esp + 0x58]
mov byte [esp + 0x410], 4
call fcn.004f85b0
lea ecx, [esp + 0x2dc]
mov byte [esp + 0x410], 3
call fcn.004f1b60
lea ecx, [esp + 0x268]
mov byte [esp + 0x410], 2
call fcn.004f1b60
lea ecx, [esp + 0x28c]
mov byte [esp + 0x410], 1
call fcn.004f1b60
lea ecx, [esp + 0x2b0]
mov byte [esp + 0x410], 0
call fcn.0051a830
lea ecx, [esp + 0x23c]
mov dword [esp + 0x410], 0xffffffff
call fcn.0051a830
mov ecx, dword [esp + 0x408]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3f0]
xor ecx, esp
call fcn.005c3bb6
mov esp, ebp
pop ebp
ret 8