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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61e9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x3f8
mov eax, dword [0x67dc50]
xor eax, esp
mov dword [esp + 0x3f0], eax
push ebx
push esi
push edi
mov eax, dword [0x67dc50]
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.00550a30
mov ebx, eax
lea eax, [ebx*4]
push eax
mov ecx, edi
mov dword [esp + 0x40], ebx
call fcn.00540460
lea ecx, [esp + 0x23c]
call fcn.0056f1e0
xor edi, edi
lea ecx, [esp + 0x2b0]
mov dword [esp + 0x410], edi
call fcn.0056f1e0
lea ecx, [esp + 0x28c]
mov byte [esp + 0x410], 1
call fcn.00517e90
lea ecx, [esp + 0x268]
mov byte [esp + 0x410], 2
call fcn.00517e90
lea ecx, [esp + 0x2dc]
mov byte [esp + 0x410], 3
call fcn.00517e90
lea ecx, [esp + 0x58]
mov byte [esp + 0x410], 4
call fcn.0051d230
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x410], 5
call fcn.0051d230
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.005c47e0
lea ecx, [esp + 0x350]
mov byte [esp + 0x410], 7
call fcn.0056f1e0
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 0x540b8c
lea eax, [ebx - 1]
push eax
lea edx, [esp + 0x1d4]
push edx
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.00553360
lea ecx, [esp + 0x1d0]
call fcn.005c4c20
mov dword [esp + 0xa0], eax
test eax, eax
je 0x540b8c
lea eax, [esp + 0x350]
push eax
lea ecx, [esp + 0x1d4]
call fcn.005c5dc0
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 0x540af6
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.00521130
add esp, 8
test eax, eax
je 0x540af6
mov dword [esp + 0x90], 1
mov edx, dword [esi + 0x10]
mov eax, 0x800
test word [edx + 2], ax
je 0x540b41
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.00521130
add esp, 8
test eax, eax
je 0x540b41
mov dword [esp + 0x9c], 1
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
call fcn.0054e220
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.00550a30
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.005180e0
push edi
push edi
push eax
lea ecx, [esp + 0x388]
mov byte [esp + 0x41c], 9
call fcn.0056f200
push eax
lea ecx, [esp + 0x2b4]
mov byte [esp + 0x414], 0xa
call fcn.00573740
lea ecx, [esp + 0x37c]
mov byte [esp + 0x410], 9
call fcn.0056f230
lea ecx, [esp + 0x32c]
mov byte [esp + 0x410], 8
call fcn.00518980
push edi
lea ecx, [esp + 0x2b4]
call fcn.0051b060
mov edx, dword [esi + 0x10]
mov edi, ebx
shl edi, 4
test byte [edi + edx - 0xe], 1
lea ecx, [edi + edx - 0x10]
je 0x540c88
lea eax, [esp + 0x2b0]
push eax
call fcn.00580ba0
lea ecx, [esp + 0x2b0]
call fcn.0051b430
fstp qword [esp + 0x164]
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x2b4]
call fcn.0051c7b0
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 0x540e52
test byte [eax + edi - 0xe], 1
jne 0x540e52
lea ecx, [esp + 0x32c]
call fcn.005c47e0
push 0
lea ecx, [esp + 0x330]
push ecx
mov ecx, esi
mov byte [esp + 0x418], 0xb
call fcn.00553360
lea ecx, [esp + 0x32c]
call fcn.005c4c20
test eax, eax
je 0x540e3e
lea ecx, [esp + 0x300]
call fcn.0056f1e0
lea edx, [esp + 0x300]
push edx
lea ecx, [esp + 0x330]
mov byte [esp + 0x414], 0xc
call fcn.005c5dc0
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.00521130
add esp, 8
test eax, eax
je 0x540e2a
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 [0x63d7a8]
fmul st(1), st(0)
fxch st(1)
fmulp st(3)
fimul dword [esp + 0x318]
fmulp st(1)
faddp st(1)
jne 0x540dbc
movsx eax, dx
and eax, 0xfffffffb
cmp ax, 1
jne 0x540dbc
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x540dd9
test cx, cx
jne 0x540e28
movsx eax, dx
and eax, 0xfffffffb
test ax, ax
jne 0x540e28
fldz
fcompp
fnstsw ax
test ah, 5
jp 0x540e2a
jmp 0x540ddb
fstp st(0)
push 0
mov ecx, esi
call fcn.0054e220
push 0
lea eax, [esp + 0x304]
push eax
mov ecx, esi
call fcn.0054e0c0
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
push 1
mov ecx, esi
call eax
mov ecx, esi
call fcn.00550a30
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 0x540e2a
fstp st(0)
lea ecx, [esp + 0x300]
mov byte [esp + 0x410], 0xb
call fcn.0056f230
lea ecx, [esp + 0x32c]
mov byte [esp + 0x410], 8
call fcn.005c4860
mov dword [esp + 0x18], 0
test ebx, ebx
jle 0x542501
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 0x541482
lea eax, [esp + 0x50]
push eax
call fcn.00580b00
mov edi, dword [esp + 0x3c]
mov edx, dword [esi + 0x10]
dec edi
cmp dword [esp + 0x18], edi
jne 0x540eb5
mov ecx, 0x800
test word [edx + 2], cx
mov ecx, edx
je 0x540ec6
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + 8]
jmp 0x540ee2
mov eax, 0x800
test word [ebx + edx + 0x12], ax
je 0x540ed2
mov ecx, dword [esi + 0x10]
add ecx, ebx
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + 0x18]
jmp 0x540ee2
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.005c4810
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x414], 0xd
call fcn.005eb340
call fcn.005f6310
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x18], edi
jne 0x540f74
xor edi, edi
jmp 0x540f79
mov edi, dword [esp + 0x18]
inc edi
mov eax, dword [esi + 0x10]
test byte [ebx + eax + 2], 0x80
jne 0x541107
mov ebx, edi
shl ebx, 4
test byte [ebx + eax + 2], 0x80
je 0x541103
lea ecx, [esp + 0x218]
call fcn.005c47e0
push edi
lea edx, [esp + 0x21c]
push edx
mov ecx, esi
mov byte [esp + 0x418], 0xe
call fcn.00553360
lea ecx, [esp + 0x218]
call fcn.005c4c20
test eax, eax
je 0x5410ef
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 0x5410ef
lea ecx, [esp + 0x3a8]
call fcn.0056f1e0
lea edx, [esp + 0x3a8]
push edx
lea ecx, [esp + 0x21c]
mov byte [esp + 0x414], 0xf
call fcn.005c5dc0
push edi
mov ecx, esi
call fcn.0054e220
push edi
lea eax, [esp + 0x3ac]
push eax
mov ecx, esi
call fcn.0054e0c0
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.00550a30
mov ebx, eax
mov dword [esp + 0x3c], ebx
test edi, edi
jne 0x5410ae
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.00521130
add esp, 8
test eax, eax
je 0x5410a6
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.00553850
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.0056f230
lea ecx, [esp + 0x218]
mov byte [esp + 0x410], 0xd
call fcn.005c4860
lea ecx, [esp + 0xe8]
mov byte [esp + 0x410], 8
call fcn.005c4860
jmp 0x5423d3
lea ecx, [esp + 0x218]
mov byte [esp + 0x410], 0xd
call fcn.005c4860
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 0x541395
cmp dword [ebp + 0xc], 0
je 0x5411f4
shl edi, 4
movsx eax, word [edi + ecx + 2]
test eax, 0x800
je 0x54141e
test al, al
js 0x54141e
lea ecx, [esp + 0xe8]
call fcn.005c4c20
test eax, eax
je 0x54141e
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 0x541177
test edi, edi
jne 0x54141e
lea ecx, [esp + 0x3d4]
call fcn.0056f1e0
lea edx, [esp + 0x3d4]
push edx
lea ecx, [esp + 0xec]
mov byte [esp + 0x414], 0x10
call fcn.005c5dc0
push edi
mov ecx, esi
call fcn.0054e220
push edi
lea eax, [esp + 0x3d8]
push eax
mov ecx, esi
call fcn.0054e0c0
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
push 1
mov ecx, esi
call eax
mov ecx, esi
call fcn.00550a30
mov dword [esp + 0x3c], eax
test edi, edi
jne 0x5411e8
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 0x5412c6
test eax, eax
je 0x541395
lea ecx, [esp + 0xe8]
call fcn.005c4c20
test eax, eax
je 0x541395
mov eax, dword [esi + 0x10]
shl edi, 4
movsx ecx, word [edi + eax + 2]
test ecx, 0x800
je 0x5412ec
test cl, cl
js 0x5412ec
mov ecx, dword [ebx + eax + 0xc]
mov edx, dword [esp + 0x38]
add ecx, edx
cmp dword [esp + 0x6c], ecx
jl 0x54124a
cmp dword [esp + 0x18], 0
jne 0x5412ec
lea ecx, [esp + 0x37c]
call fcn.0056f1e0
lea eax, [esp + 0x37c]
push eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x414], 0x11
call fcn.005c5dc0
mov edi, dword [esp + 0x18]
push edi
mov ecx, esi
call fcn.0054e220
push edi
lea ecx, [esp + 0x380]
push ecx
mov ecx, esi
call fcn.0054e0c0
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
push 1
mov ecx, esi
call eax
mov ecx, esi
call fcn.00550a30
mov dword [esp + 0x3c], eax
test edi, edi
jne 0x5412bf
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.0056f230
lea ecx, [esp + 0xe8]
mov byte [esp + 0x410], 8
call fcn.005c4860
jmp 0x5423d3
mov ecx, 0x400
test word [ebx + eax + 2], cx
lea ecx, [esp + 0xe8]
je 0x54134a
lea edx, [esp + 0x58]
push edx
call fcn.005c5da0
mov edi, dword [esp + 0x14]
mov ecx, dword [0x67e9dc]
lea eax, [esp + 0x5c]
shl edi, 4
push eax
add ecx, edi
call fcn.005808e0
mov eax, dword [0x67e9dc]
lea edx, [esp + 0x64]
push edx
lea ecx, [edi + eax + 0x10]
call fcn.005808e0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
jmp 0x54143d
lea eax, [esp + 0x28c]
push eax
call fcn.005c5dc0
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x28c]
push ecx
mov ecx, edi
shl ecx, 4
add ecx, dword [0x67e9dc]
call fcn.00580950
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 0x54143d
mov ecx, dword [esi + 0x10]
push 0
add ecx, ebx
call fcn.00580c80
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00521540
fcomp qword [0x62e308]
add esp, 0xc
fnstsw ax
test ah, 5
jp 0x54141e
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0xe8]
mov dword [esp + 0x104], edi
call fcn.005c4c20
test eax, eax
je 0x54141e
mov ecx, dword [esi + 0x10]
push 1
add ecx, ebx
call fcn.00580c80
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.005c5dc0
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 [0x67e9dc]
add edx, ebx
inc eax
push edx
mov dword [esp + 0x18], eax
call fcn.00517aa0
mov eax, dword [esp + 0x50]
inc dword [esp + 0x18]
mov dword [esp + 0x78], 0
cmp dword [esp + 0x1c], eax
jne 0x54145d
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x54]
je 0x541469
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.005c4860
jmp 0x5423d3
lea eax, [esp + 0x23c]
push eax
call fcn.00580ba0
lea ecx, [esp + 0x23c]
call fcn.0051b430
fstp qword [esp + 0x7c]
lea ecx, [esp + 0x1ac]
push ecx
lea ecx, [esp + 0x240]
call fcn.0051c7b0
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 0x5414de
mov dword [esp + 0x6c], 2
jmp 0x5414eb
movsx eax, cx
and eax, 0xfffffffb
movzx eax, ax
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x3c], 3
jne 0x54150b
test dx, dx
jne 0x5423e6
movsx eax, cx
and eax, 0xfffffffb
cmp ax, 1
jne 0x5423e6
cmp dword [esp + 0x78], 0
jne 0x5419d1
test edi, edi
jne 0x54154a
cmp dword [esp + 0x2cc], edi
je 0x54154a
lea ecx, [esp + 0x2bc]
push ecx
lea edx, [esp + 0x244]
push edx
call fcn.00521130
add esp, 8
test eax, eax
jne 0x5419d5
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 [0x63d7a8]
fmul st(1), st(0)
fxch st(1)
fmulp st(2)
fimul dword [esp + 0x250]
fmulp st(2)
faddp st(1)
jne 0x5415ae
movsx eax, cx
and eax, 0xfffffffb
cmp ax, 1
jne 0x5415ae
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x5415d7
test dx, dx
jne 0x541dcd
movsx eax, cx
and eax, 0xfffffffb
test ax, ax
jne 0x541dcd
fldz
fcompp
fnstsw ax
test ah, 5
jp 0x541dcf
jmp 0x5415d9
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.0051d670
mov ecx, dword [esp + 0x38]
push 1
push ecx
lea ecx, [esp + 0x60]
call fcn.0051d3d0
lea edx, [esp + 0x23c]
push edx
lea ecx, [esp + 0x26c]
call fcn.00519c60
mov eax, dword [esp + 0x25c]
and eax, 0xfffffff9
cmp ax, 1
jne 0x54164b
mov ecx, dword [esp + 0x258]
sub ecx, dword [esp + 0x38]
push ecx
jmp 0x541659
mov edx, dword [esp + 0x258]
mov eax, dword [esp + 0x38]
add edx, eax
push edx
lea ecx, [esp + 0x26c]
call fcn.0051b060
lea ecx, [esp + 0x23c]
push ecx
lea ecx, [esp + 0x290]
call fcn.00519c60
push 0
lea ecx, [esp + 0x290]
call fcn.0051b060
cmp dword [esp + 0x284], 1
mov dword [esp + 0x2c], 0
jle 0x5419a4
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x270]
push ecx
call fcn.0052a1e0
add esp, 0xc
test eax, eax
jle 0x5419a4
cmp eax, 2
jne 0x5416de
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x270]
push ecx
call fcn.005c4580
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.00521130
add esp, 8
test eax, eax
jne 0x54190c
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.0051b550
mov eax, dword [esp + 0x258]
push eax
lea ecx, [esp + 0x26c]
call fcn.0051b060
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.00521130
add esp, 8
test eax, eax
je 0x5417a0
mov edx, dword [esp + 0x240]
mov eax, dword [esp + 0x244]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov edi, 1
jmp 0x5417c0
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.0051d3d0
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.00521130
add esp, 8
test eax, eax
jne 0x541991
lea ecx, [esp + 0x268]
call fcn.0051b430
fst qword [esp + 0x94]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 5
jp 0x54190c
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x1c0]
call fcn.0051e430
test eax, eax
je 0x54190c
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
test edi, edi
je 0x541848
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.00518870
push eax
lea ecx, [esp + 0x290]
mov byte [esp + 0x414], 0x13
call fcn.00519c60
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x410], 8
call fcn.00518980
mov eax, dword [esp + 0x25c]
test al, 2
jne 0x5418ed
cwde
and eax, 0xfffffffb
cmp ax, 2
je 0x5418ed
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x270]
push ecx
call fcn.00521130
add esp, 8
test eax, eax
je 0x5418ed
mov dword [esp + 0x2c], 1
jmp 0x541901
lea edx, [esp + 0x26c]
push edx
lea ecx, [esp + 0x240]
call fcn.0051b550
fld qword [esp + 0x94]
fstp qword [esp + 0x7c]
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x2a8], 0
jle 0x541952
lea ecx, [esp + 0x28c]
call fcn.0051b430
fcomp qword [0x63df10]
fnstsw ax
test ah, 5
jp 0x541952
lea ecx, [esp + 0x28c]
push ecx
mov ecx, edi
shl ecx, 4
add ecx, dword [0x67e9dc]
call fcn.00580950
add edi, 3
mov dword [esp + 0x14], edi
cmp dword [esp + 0x2c], 0
je 0x541dd3
mov ecx, edi
shl ecx, 4
add ecx, dword [0x67e9dc]
lea edx, [esp + 0x248]
push edx
call fcn.005808e0
mov eax, dword [esp + 0x248]
mov ecx, dword [esp + 0x24c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
inc edi
jmp 0x5423ca
push 0
lea ecx, [esp + 0x290]
call fcn.0051b060
jmp 0x54190c
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x541910
mov ecx, dword [0x67e9dc]
lea eax, [esp + 0x240]
push eax
call fcn.005808e0
mov edi, 1
mov dword [esp + 0x14], edi
jmp 0x541910
test edi, edi
jne 0x5419e0
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.00521540
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 0x541a32
cmp dword [esp + 0x258], edi
jle 0x541db6
fldz
fcompp
fnstsw ax
test ecx, ecx
je 0x541a46
test ah, 0x41
je 0x541a4f
jmp 0x541db8
test ah, 5
jp 0x541db8
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x26c]
call fcn.00519c60
lea ecx, [esp + 0x2b0]
push ecx
lea ecx, [esp + 0x2e0]
call fcn.00519c60
mov edx, dword [esp + 0x25c]
and edx, 0xfffffff9
cmp dx, 1
jne 0x541a93
mov eax, dword [esp + 0x258]
sub eax, edi
push eax
jmp 0x541a9d
mov ecx, dword [esp + 0x258]
add ecx, edi
push ecx
lea ecx, [esp + 0x26c]
call fcn.0051b060
mov edx, dword [esp + 0x2d0]
and edx, 0xfffffff9
cmp dx, 1
jne 0x541ac5
mov eax, dword [esp + 0x2cc]
sub eax, edi
push eax
jmp 0x541acf
mov ecx, dword [esp + 0x2cc]
add ecx, edi
push ecx
lea ecx, [esp + 0x2e0]
call fcn.0051b060
lea edx, [esp + 0x23c]
push edx
lea ecx, [esp + 0x290]
call fcn.00519c60
push 0
lea ecx, [esp + 0x290]
call fcn.0051b060
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2e0]
push ecx
lea edx, [esp + 0x270]
push edx
call fcn.00529d70
add esp, 0xc
test eax, eax
jle 0x541d48
cmp eax, 2
jne 0x541b41
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x270]
push edx
call fcn.005c4580
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.00521130
add esp, 8
test eax, eax
jne 0x541bb3
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.0051b550
mov ecx, dword [esp + 0x258]
push ecx
lea ecx, [esp + 0x26c]
call fcn.0051b060
jmp 0x541bc7
lea edx, [esp + 0x23c]
push edx
lea ecx, [esp + 0x26c]
call fcn.00519c60
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.00521130
add esp, 8
test eax, eax
jne 0x541c39
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.0051b680
mov ecx, dword [esp + 0x2cc]
push ecx
lea ecx, [esp + 0x2e0]
call fcn.0051b060
jmp 0x541c4d
lea edx, [esp + 0x2b0]
push edx
lea ecx, [esp + 0x2e0]
call fcn.00519c60
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x2ec]
push ecx
call fcn.00521130
add esp, 8
test eax, eax
jne 0x541d48
lea ecx, [esp + 0x268]
call fcn.0051b430
fstp qword [esp + 0x2c]
lea ecx, [esp + 0x2dc]
call fcn.0051b430
fld qword [esp + 0x2c]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 5
jp 0x541d46
fcomp qword [esp + 0x164]
fnstsw ax
test ah, 5
jp 0x541d48
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.00518870
push eax
lea ecx, [esp + 0x290]
mov byte [esp + 0x414], 0x12
call fcn.00519c60
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x410], 8
call fcn.00518980
lea ecx, [esp + 0x26c]
push ecx
lea ecx, [esp + 0x240]
call fcn.0051b550
lea edx, [esp + 0x2e8]
push edx
lea ecx, [esp + 0x2b4]
call fcn.0051b680
fld qword [esp + 0x2c]
fstp qword [esp + 0x7c]
jmp 0x541d48
fstp st(0)
cmp dword [esp + 0x18], 0
mov edi, dword [esp + 0x14]
jle 0x541d72
mov ecx, edi
shl ecx, 4
add ecx, dword [0x67e9dc]
lea eax, [esp + 0x2b0]
push eax
call fcn.00580950
add edi, 3
mov dword [esp + 0x14], edi
cmp dword [esp + 0x2a8], 0
jle 0x541dd3
lea ecx, [esp + 0x28c]
call fcn.0051b430
fcomp qword [0x63df10]
fnstsw ax
test ah, 5
jp 0x541dd3
lea ecx, [esp + 0x28c]
push ecx
mov ecx, edi
shl ecx, 4
add ecx, dword [0x67e9dc]
call fcn.00580950
add edi, 3
mov dword [esp + 0x14], edi
jmp 0x541dd3
fstp st(0)
cmp dword [esp + 0x18], 0
mov edi, dword [esp + 0x14]
jle 0x541dd3
lea edx, [esp + 0x2b0]
push edx
jmp 0x541d9d
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 0x541f14
test edi, edi
jle 0x541e1f
mov ecx, dword [0x67e9dc]
test word [ecx + 2], dx
je 0x541e0f
lea eax, [esp + 0x24]
push eax
call fcn.00580b00
jmp 0x541e45
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x28], eax
jmp 0x541e45
mov ecx, dword [esi + 0x10]
test word [ecx + 2], dx
je 0x541e34
lea eax, [esp + 0x24]
push eax
call fcn.00580b00
jmp 0x541e45
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 0x542403
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.005189c0
fchs
lea ecx, [esp + 0x23c]
fmul qword [esp + 0x94]
fstp qword [esp + 0x94]
call fcn.00518990
mov ecx, dword [esp + 0x25c]
fchs
fmul qword [esp + 0xcc]
mov edx, ecx
and edx, 2
fadd qword [esp + 0x94]
jne 0x541ee8
movsx eax, cx
and eax, 0xfffffffb
cmp ax, 1
jne 0x541ee8
fldz
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x541fbe
test dx, dx
jne 0x54234e
movsx eax, cx
and eax, 0xfffffffb
test ax, ax
jne 0x54234e
fldz
fcompp
fnstsw ax
test ah, 0x41
jne 0x542350
jmp 0x541fc0
mov ecx, dword [esi + 0x10]
add eax, 3
shl eax, 4
add ecx, eax
test word [ecx + 2], dx
je 0x541f34
lea eax, [esp + 0x24]
push eax
call fcn.00580b00
jmp 0x541e53
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.00521130
add esp, 8
test eax, eax
je 0x541e53
lea ecx, [esp + 0x23c]
push ecx
lea ecx, [esp + 0x2b4]
mov dword [esp + 0x7c], 1
call fcn.00573740
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 0x5423ce
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.0051d670
mov ebx, dword [esp + 0x38]
push 1
push ebx
lea ecx, [esp + 0x60]
call fcn.0051d3d0
lea ecx, [esp + 0x23c]
push ecx
lea ecx, [esp + 0x26c]
call fcn.00519c60
mov edx, dword [esp + 0x25c]
and edx, 0xfffffff9
cmp dx, 1
jne 0x542037
mov eax, dword [esp + 0x258]
sub eax, ebx
push eax
jmp 0x542041
mov ecx, dword [esp + 0x258]
add ecx, ebx
push ecx
lea ecx, [esp + 0x26c]
call fcn.0051b060
lea edx, [esp + 0x23c]
push edx
lea ecx, [esp + 0x290]
call fcn.00519c60
push 0
lea ecx, [esp + 0x290]
call fcn.0051b060
cmp dword [esp + 0x284], 1
jle 0x5422a9
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x270]
push edx
call fcn.0052a1e0
add esp, 0xc
test eax, eax
jle 0x5422a9
cmp eax, 2
jne 0x5420be
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x270]
push edx
call fcn.005c4580
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.00521130
add esp, 8
test eax, eax
jne 0x5422a9
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.0051b680
mov ecx, dword [esp + 0x258]
push ecx
lea ecx, [esp + 0x26c]
call fcn.0051b060
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.00521130
add esp, 8
test eax, eax
je 0x542185
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 0x5421a1
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.0051d3d0
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x278]
push eax
call fcn.00521130
add esp, 8
test eax, eax
jne 0x54229b
lea ecx, [esp + 0x268]
call fcn.0051b430
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 5
jp 0x5422a9
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x1c0]
call fcn.0051e430
test eax, eax
je 0x5422a9
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 0x542225
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.00518870
push eax
lea ecx, [esp + 0x290]
mov byte [esp + 0x414], 0x15
call fcn.00519c60
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x410], 8
call fcn.00518980
lea edx, [esp + 0x274]
push edx
lea ecx, [esp + 0x240]
call fcn.0051b680
jmp 0x5422a9
push 0
lea ecx, [esp + 0x290]
call fcn.0051b060
mov eax, dword [esp + 0x25c]
test al, 2
jne 0x5422dd
cwde
and eax, 0xfffffffb
cmp ax, 2
je 0x5422dd
mov ecx, edi
shl ecx, 4
add ecx, dword [0x67e9dc]
lea eax, [esp + 0x23c]
push eax
call fcn.00580950
add edi, 3
mov dword [esp + 0x14], edi
cmp dword [esp + 0x2a8], 0
jle 0x542333
lea ecx, [esp + 0x28c]
call fcn.0051b430
fcomp qword [0x63df10]
fnstsw ax
test ah, 5
jp 0x542333
lea ecx, [esp + 0x28c]
push ecx
mov ecx, edi
shl ecx, 4
add ecx, dword [0x67e9dc]
call fcn.00580950
mov edx, dword [esp + 0x298]
mov eax, dword [esp + 0x29c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jmp 0x5423c7
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x24c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jmp 0x5423ce
fstp st(0)
cmp word [esp + 0x6c], 2
je 0x542399
lea ecx, [esp + 0x23c]
call fcn.00519cb0
test eax, eax
je 0x542399
mov ecx, edi
shl ecx, 4
add ecx, dword [0x67e9dc]
lea eax, [esp + 0x248]
push eax
call fcn.005808e0
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x24c]
inc edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jmp 0x5423ca
mov ecx, edi
shl ecx, 4
add ecx, dword [0x67e9dc]
lea eax, [esp + 0x23c]
push eax
call fcn.00580950
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 0x540e62
jmp 0x542501
lea ecx, [esp + 0x23c]
push ecx
mov ecx, dword [0x67e9dc]
call fcn.00580950
add dword [esp + 0x14], 3
jmp 0x542501
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.00521130
add esp, 8
test eax, eax
jne 0x5424da
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x330]
call fcn.0051afc0
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.0051b680
lea ecx, [esp + 0x32c]
call fcn.0051b430
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 5
jp 0x5424a5
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.0051b680
lea ecx, [esp + 0x23c]
push ecx
mov ecx, edi
shl ecx, 4
add ecx, dword [0x67e9dc]
call fcn.00580950
add edi, 3
lea ecx, [esp + 0x32c]
mov dword [esp + 0x14], edi
mov byte [esp + 0x410], 8
call fcn.00518980
jmp 0x542501
cmp word [esp + 0x6c], 2
jne 0x542501
mov ecx, edi
shl ecx, 4
add ecx, dword [0x67e9dc]
lea edx, [esp + 0x23c]
push edx
call fcn.00580950
add edi, 3
mov dword [esp + 0x14], edi
cmp dword [esp + 0xa0], 0
je 0x5426a7
cmp dword [ebp + 0xc], 0
je 0x5426a7
mov edi, dword [esp + 0x14]
mov eax, dword [0x67e9dc]
add edi, 0xfffffffd
shl edi, 4
test byte [edi + eax + 2], 1
je 0x5426a7
lea ecx, [esp + 0x300]
call fcn.0056f1e0
mov edx, dword [0x67e9dc]
lea ecx, [esp + 0x300]
push ecx
lea ecx, [edi + edx]
mov byte [esp + 0x414], 0x16
call fcn.00580ba0
lea eax, [esp + 0x300]
mov esi, 3
push eax
lea ecx, [esp + 0x354]
lea ebx, [esi - 1]
call fcn.005737e0
test eax, eax
je 0x542693
cmp dword [esp + 0x90], 0
je 0x5425d5
lea ecx, [esp + 0x304]
push ecx
lea ecx, [esp + 0xd0]
call fcn.005808e0
mov eax, dword [0x67e9dc]
lea edx, [esp + 0xcc]
push edx
lea ecx, [edi + eax]
mov byte [esp + 0x414], 0x17
call fcn.00517aa0
mov esi, ebx
lea ecx, [esp + 0xcc]
lea ebx, [esi - 1]
mov byte [esp + 0x410], 0x16
call fcn.004ed1b0
lea ecx, [esp + 0x1ac]
call fcn.005eb500
mov ecx, dword [esp + 0x1ec]
push ecx
lea edx, [esp + 0x1d8]
push edx
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x418], 0x18
call fcn.00580a30
mov edi, dword [esp + 0x14]
mov ecx, edi
sub ecx, esi
shl ecx, 4
add ecx, dword [0x67e9dc]
lea eax, [esp + 0x1ac]
push eax
call fcn.00517aa0
dec esi
cmp dword [esp + 0x9c], 0
je 0x542679
lea ecx, [esp + 0x30c]
push ecx
lea ecx, [esp + 0xd0]
call fcn.005808e0
mov ecx, edi
sub ecx, esi
shl ecx, 4
add ecx, dword [0x67e9dc]
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x414], 0x19
call fcn.00517aa0
lea ecx, [esp + 0xcc]
dec ebx
mov byte [esp + 0x410], 0x18
call fcn.004ed1b0
sub edi, ebx
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x14], edi
mov byte [esp + 0x410], 0x16
call fcn.004ed1b0
lea ecx, [esp + 0x300]
mov byte [esp + 0x410], 8
call fcn.0056f230
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x350]
mov dword [0x67e9ec], eax
mov byte [esp + 0x410], 7
call fcn.0056f230
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x410], 6
call fcn.005c4860
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x410], 5
call fcn.0051d2c0
lea ecx, [esp + 0x58]
mov byte [esp + 0x410], 4
call fcn.0051d2c0
lea ecx, [esp + 0x2dc]
mov byte [esp + 0x410], 3
call fcn.00518980
lea ecx, [esp + 0x268]
mov byte [esp + 0x410], 2
call fcn.00518980
lea ecx, [esp + 0x28c]
mov byte [esp + 0x410], 1
call fcn.00518980
lea ecx, [esp + 0x2b0]
mov byte [esp + 0x410], 0
call fcn.0056f230
lea ecx, [esp + 0x23c]
mov dword [esp + 0x410], 0xffffffff
call fcn.0056f230
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.005f617e
mov esp, ebp
pop ebp
ret 8