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

Disassembly:
mov eax, 0x3ef0
call fcn.0059afa0
mov eax, dword [0x67c3c0]
xor eax, esp
mov dword [esp + 0x3eec], eax
mov eax, dword [esp + 0x3efc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3f0c]
push edi
mov edi, dword [esp + 0x3f04]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3f20]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0xb0]
lea ebx, [edi + 4]
mov ecx, dword [edi + 0x34]
mov ebp, dword [edi]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0x218]
push 0x80
mov dword [esp + 0x7c], ecx
xor cl, cl
push 0
mov eax, dword [eax + 0x220]
shl eax, 0x10
mov dword [esp + 0x84], eax
lea eax, [esp + 0x3e84]
push eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x94], esi
mov dword [esp + 0x54], 0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x58], 0
mov byte [esp + 0x70], 0
mov byte [esp + 0x2f], cl
mov dword [esp + 0x6c], 0
mov dword [esp + 0x9c], 0x1312d00
call fcn.0059c4a0
xorps xmm0, xmm0
mov dword [esp + 0x3e68], 0
push 0x2e08
lea eax, [esp + 0x140]
movq qword [esp + 0x3e64], xmm0
push 0
movups xmmword [esp + 0x10c], xmm0
push eax
movups xmmword [esp + 0x3e7c], xmm0
mov dword [esp + 0xf0], ebp
movq qword [esp + 0x3e8c], xmm0
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], 0x10
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0xa
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], 0x14
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0xa
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], 0x14
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0xa
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
movq qword [esp + 0x120], xmm0
mov dword [esp + 0x128], 0
mov dword [esp + 0x110], ebx
call fcn.0059c4a0
movaps xmm0, xmmword [0x618120]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x148], edi
mov dword [esp + 0x14c], eax
mov dword [esp + 0x2ea4], ebp
mov dword [esp + 0x2ea8], ebx
movups xmmword [esp + 0x2eac], xmm0
mov dword [esp + 0x2ebc], 0
push 0xf1c
lea eax, [esp + 0x1f8c]
mov dword [esp + 0x2ec4], 0
push 0
push eax
call fcn.0059c4a0
mov eax, dword [esp + 0x9c]
mov bl, byte [edi + 0xb8]
mov dword [esp + 0x1fa4], eax
lea eax, [esp + 0x1f94]
mov dword [esp + 0x1f98], eax
lea eax, [esp + 0x2eb0]
push 0xf1c
mov dword [esp + 0x1fa0], eax
lea eax, [esp + 0x107c]
push 0
push eax
mov byte [esp + 0x1fad], bl
mov dword [esp + 0x1fa0], edi
call fcn.0059c4a0
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x1094], eax
lea eax, [esp + 0x1fa0]
mov dword [esp + 0x1088], eax
lea eax, [esp + 0x2ebc]
push 0xf1c
mov dword [esp + 0x1090], eax
lea eax, [esp + 0x16c]
push 0
push eax
mov byte [esp + 0x109d], bl
mov dword [esp + 0x1090], edi
call fcn.0059c4a0
mov ecx, dword [esp + 0xb4]
lea eax, [esp + 0x1fac]
mov dword [esp + 0x178], eax
add esp, 0x3c
lea eax, [esp + 0x2e8c]
mov dword [esp + 0x138], edi
mov dword [esp + 0x140], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x2eac], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x2eb0], eax
mov eax, dword [esi]
mov dword [esp + 0x2eb8], eax
mov eax, dword [esi + 4]
mov esi, dword [edi + 0xe4]
mov dword [esp + 0x2ebc], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x2ec4], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x2ec8], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x2ecc], eax
lea eax, [edi + 0xf0]
mov dword [esp + 0x2ed4], eax
mov al, byte [edi + 0xb9]
mov edi, dword [edi + 0xe8]
mov byte [esp + 0x2ec2], al
mov eax, edi
cdq
mov dword [esp + 0x148], ecx
mov dword [esp + 0x2eb4], ecx
mov ecx, eax
xor ecx, edx
mov byte [esp + 0x145], bl
mov ebx, dword [esp + 0x3f1c]
sub ecx, edx
mov eax, esi
mov dword [esp + 0x34], ebx
cdq
xor eax, edx
mov dword [esp + 0x2ed0], ebx
sub eax, edx
mov dword [esp + 0x2ed8], esi
mov dword [esp + 0x2edc], edi
cmp eax, ecx
jle 0x57ee6b
test esi, esi
jns 0x57ee73
neg esi
jmp 0x57ee73
test edi, edi
jns 0x57ee71
neg edi
mov esi, edi
mov edi, dword [esp + 0x28]
lea eax, [esi + esi]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x2ee0], eax
mov dword [esp + 0x2ee4], 0x199a
cmp byte [ecx + 9], 0
mov byte [esp + 0x2ec3], 1
mov word [esp + 0x2ec0], 0
setne byte [esp + 0x1b]
mov byte [esp + 0x2f10], 0
mov eax, dword [edi + 0x218]
mov eax, dword [eax + 0x21c]
shl eax, 0x10
mov dword [edx], eax
cmp byte [ecx + 9], 0
je 0x57eedc
mov eax, dword [edi + 0x214]
mov edi, dword [eax + 0x614]
jmp 0x57eee1
mov edi, 0x30
lea eax, [esp + 0x84]
mov dword [esp + 0x94], edi
push eax
push 0x14
push ebp
mov dword [esp + 0x90], 0
call fcn.0054a8d0
add esp, 0xc
mov esi, eax
cmp dword [esp + 0x84], 0
mov dword [esp + 0x80], esi
jne 0x57ef22
mov eax, dword [esp + 0x6c]
mov dword [esi], ebp
mov dword [esi + 4], eax
lea eax, [esp + 0x84]
push eax
push 0
push edi
push 0
push 8
push ebp
call fcn.0054aa90
add esp, 0x18
mov dword [esi + 8], eax
cmp dword [esp + 0x84], 0
je 0x57ef5d
push esi
push ebp
call fcn.0054a930
xor esi, esi
add esp, 8
xor ebp, ebp
lea eax, [esi + 0x40]
jmp 0x58108c
mov dword [esi + 0xc], eax
lea eax, [esp + 0xd8]
push 0x11
push eax
mov dword [esi + 0x10], edi
call fcn.0057b900
mov ebp, dword [esp + 0xfc]
add esp, 8
mov ecx, dword [esp + 0xec]
test al, al
mov eax, dword [esp + 0x3f08]
mov edx, 0x11
cmovne ecx, edx
mov dword [esp + 0x1c], ebp
xor edi, edi
mov dword [esp + 0xec], ecx
mov edx, ebp
mov dword [esp + 0x14], edi
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], edx
movups xmmword [ebp], xmm0
cmp dword [eax], edi
jne 0x58141b
mov ebp, dword [esp + 0x3f18]
mov dword [esp + 0x38], ebp
mov eax, dword [edx + 0xc]
mov ecx, 0xe
cmp eax, dword [edx + 8]
jb 0x57f023
test edi, edi
mov eax, 0xb
cmove eax, ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x44]
mov cl, byte [ecx + 8]
mov ch, byte [esp + 0x23]
test cl, cl
je 0x57f0a1
test ch, ch
jne 0x57f055
cmp al, 1
je 0x57f055
cmp al, 3
je 0x57f055
cmp al, 0xd
je 0x57f055
cmp al, 0xa
je 0x57f055
cmp al, 0xb
je 0x57f055
cmp al, 0xc
je 0x57f055
cmp al, 0xe
je 0x57f055
cmp al, 0x20
jae 0x57f055
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x57efc9
mov cl, byte [eax]
inc eax
mov dword [edx + 0xc], eax
mov al, cl
mov dword [esp + 0x3c], eax
cmp al, 0xb
je 0x57f037
cmp al, 0xe
jne 0x57efe4
mov ecx, dword [esp + 0x44]
movzx eax, al
mov dword [esp + 0x2c], 0
cmp byte [ecx + 9], 0
cmovne eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
jmp 0x57efe8
mov edi, dword [esp + 0x60]
test edi, edi
jle 0x57f07c
cmp al, 0xa
je 0x57f07c
cmp al, 0xb
je 0x57f07c
cmp al, 0xc
je 0x57f07c
cmp al, 0x20
mov dword [esp + 0x2c], 0
cmovb edi, dword [esp + 0x2c]
mov dword [esp + 0x60], edi
cmp byte [esp + 0x64], 0
mov edx, dword [esp + 0x10]
je 0x57f0a1
cmp al, 0x20
jae 0x57f0a1
mov edx, dword [esp + 0x64]
xor edi, edi
movzx edx, dl
cmp al, 0xc
cmovne edx, edi
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x6c]
cmp dword [edi], 0
jne 0x581084
sub dword [esp + 0x90], 1
je 0x57f9a3
movzx edi, al
cmp edi, 0x1f
ja case.default.0x57f0c8
jmp dword [edi*4 + 0x581424]
mov edi, dword [esp + 0x44]
cmp byte [edi + 9], 0
je case.0x57f0c8.0
cmp byte [edi + 0x5d], 0
jne 0x57f9a3
push esi
call fcn.005816e0
add esp, 4
test eax, eax
js case.0x57f0c8.0
mov dword [edi + 0x78], eax
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x57efc9
mov eax, dword [esp + 0x44]
cmp byte [eax + 9], 0
je case.0x57f0c8.0
mov edx, eax
cmp dword [edx + 0x60], 0
je 0x57f9a3
push dword [edx + 0x80]
mov eax, dword [edx + 0x224]
lea edi, [edx + 0x5c]
push dword [edx + 0x7c]
push dword [edx + 0x78]
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 0x10
test al, al
je 0x57f171
mov ecx, dword [esp + 0x44]
push dword [ecx + 0x80]
mov eax, dword [ecx + 0x224]
push dword [ecx + 0x7c]
push dword [ecx + 0x78]
mov eax, dword [eax + 0x10]
push edi
call eax
add esp, 0x10
mov dword [esp + 0x48], eax
test eax, eax
jne 0x581088
push esi
call fcn.005816e0
add esp, 4
cmp eax, dword [esp + 0x94]
ja 0x57f9a3
push eax
push esi
push edi
call fcn.0057c470
mov eax, dword [esp + 0x50]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov byte [eax + 0x5d], 1
jmp 0x57efc9
test cl, cl
jne 0x57f1bc
cmp byte [esp + 0xfc], cl
jne case.0x57f0c8.0
mov edi, dword [esp + 0x28]
xor eax, eax
jmp 0x57f1c6
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x64]
lea eax, [esp + 0xc4]
push eax
push esi
push dword [esp + 0x58]
call fcn.0057c8b0
add esp, 0x18
cmp byte [edi + 0x224], 0
jne 0x581084
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x57efc9
test cl, cl
jne 0x57f22b
cmp byte [esp + 0xfc], cl
jne case.0x57f0c8.0
mov edi, dword [esp + 0x28]
xor eax, eax
push eax
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x64]
lea eax, [esp + 0xa4]
jmp 0x57f1d7
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x64]
lea eax, [esp + 0xa4]
jmp 0x57f1d7
cmp byte [esp + 0x1b], 0
jne 0x57f275
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x57f275
push 0
push esi
call fcn.005815d0
mov ecx, dword [esp + 0x64]
add esp, 8
add eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
mov edi, dword [esp + 0x28]
mov byte [esp + 0x1b], 1
cmp byte [edi + 0x224], 0
jne 0x581084
push esi
call fcn.00581680
add esp, 4
add ebx, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3f1c], ebx
cmp dword [edi + 0x1d4], 0
jne case.0x57f0c8.0
push ebx
lea eax, [esp + 0x134]
push ebp
push eax
call fcn.0057dad0
mov eax, dword [esi + 8]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x57efc9
mov eax, dword [esi + 0xc]
xor edi, edi
mov ecx, dword [esi + 8]
sub eax, ecx
sar eax, 3
mov dword [esp + 0x2c], eax
test eax, eax
je 0x57f335
push edi
push esi
call fcn.005815d0
add ebp, eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3f28], ebp
call fcn.005815d0
add ebx, eax
lea eax, [esp + 0x140]
push ebx
push ebp
push eax
mov dword [esp + 0x3f38], ebx
call fcn.0057d950
add edi, 2
add esp, 0x1c
cmp edi, dword [esp + 0x2c]
jb 0x57f2e8
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x57efc9
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub ecx, edx
sar ecx, 3
cmp al, 6
mov dword [esp + 0x2c], ecx
sete byte [esp + 0x33]
xor edi, edi
test ecx, ecx
je 0x57f3b1
nop dword [eax]
push edi
push esi
call fcn.005815d0
mov cl, byte [esp + 0x3b]
add esp, 8
test cl, cl
je 0x57f37d
add ebp, eax
mov dword [esp + 0x3f18], ebp
jmp 0x57f386
add ebx, eax
mov dword [esp + 0x3f1c], ebx
push ebx
lea eax, [esp + 0x134]
xor cl, 1
push ebp
push eax
mov byte [esp + 0x3f], cl
call fcn.0057d950
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x2c]
jb 0x57f360
mov edx, dword [esi + 8]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x10]
jmp 0x57efc9
mov ecx, dword [esi + 0xc]
xor edi, edi
sub ecx, dword [esi + 8]
sar ecx, 3
mov dword [esp + 0x54], ecx
mov dword [esp + 0x24], edi
cmp ecx, 6
jb 0x57f495
nop dword [eax]
push edi
push esi
call fcn.005815d0
mov ecx, dword [esp + 0x2c]
inc ecx
push ecx
lea edi, [eax + ebp]
push esi
mov dword [esp + 0x3c], edi
call fcn.005815d0
mov ecx, dword [esp + 0x34]
add ecx, 2
push ecx
push esi
lea ebp, [ebx + eax]
call fcn.005815d0
mov ecx, dword [esp + 0x3c]
add ecx, 3
push ecx
push esi
lea ebx, [edi + eax]
call fcn.005815d0
mov ecx, dword [esp + 0x44]
add ecx, 4
push ecx
push esi
lea edi, [eax + ebp]
call fcn.005815d0
add eax, ebx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
add eax, 5
push eax
push esi
call fcn.005815d0
add eax, edi
push eax
push dword [esp + 0x6c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x168]
push edi
push ebx
push ebp
push dword [esp + 0x70]
push eax
call fcn.0057d5e0
mov edi, dword [esp + 0x70]
add esp, 0x4c
mov ebp, dword [esp + 0x38]
add edi, 6
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x3f1c], ebx
lea eax, [edi + 6]
mov dword [esp + 0x24], edi
cmp eax, dword [esp + 0x54]
jbe 0x57f3e0
mov eax, dword [esp + 0x3c]
cmp al, 0x18
jne 0x57f4d6
push edi
push esi
call fcn.005815d0
add ebp, eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3f28], ebp
call fcn.005815d0
add ebx, eax
lea eax, [esp + 0x140]
push ebx
push ebp
push eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3f38], ebx
call fcn.0057d950
add esp, 0x1c
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x57efc9
test cl, cl
je case.0x57f0c8.0
push dword [esp + 0x28]
call fcn.005796c0
mov eax, dword [esi + 8]
add esp, 4
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov byte [esp + 0x1b], 1
mov dword [esi + 0xc], eax
jmp 0x57efc9
mov eax, dword [esp + 0x14]
cmp eax, 0x10
jg 0x57f9a3
inc eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xdc]
push eax
call fcn.0057b8d0
mov edx, eax
push esi
mov dword [esp + 0x1c], edx
call fcn.005816e0
mov edi, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp byte [eax + 8], 0
je 0x57f577
mov eax, dword [edi + 0x268]
test eax, eax
je 0x57f577
push eax
push ecx
call fcn.0054a5f0
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x57f574
mov ecx, dword [eax]
jmp 0x57f577
or ecx, 0xffffffff
mov eax, dword [esp + 0x3c]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
cmp al, 0x1d
je 0x57f638
mov eax, dword [edi + 0x234]
add eax, ecx
cmp eax, dword [edi + 0x22c]
jae 0x57f9a3
lea edx, [eax*4]
mov eax, dword [edi + 0x23c]
mov ecx, dword [edx + eax]
mov eax, dword [esp + 0x10]
mov dword [eax + 4], ecx
cmp byte [edi + 0x30], 0
je 0x57f61b
mov eax, dword [edi + 0x264]
test eax, eax
je 0x57f5df
mov eax, dword [eax + edx]
mov edx, dword [esp + 0x10]
add eax, ecx
mov edi, dword [esp + 0x14]
mov dword [edx + 8], eax
mov ecx, dword [edx + 4]
mov dword [edx + 0xc], ecx
jmp 0x57efc9
mov eax, dword [edi + 0x260]
test eax, eax
mov dword [esp + 0x2c], 0
cmovs eax, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x23c]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + edx + 4]
mov edx, ecx
mov dword [edx + 8], eax
mov ecx, dword [edx + 4]
mov dword [edx + 0xc], ecx
jmp 0x57efc9
mov eax, dword [edi + 0x23c]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + edx + 4]
mov edx, dword [esp + 0x10]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
jmp 0x57efc9
mov edx, dword [edi + 0x238]
add edx, ecx
cmp edx, dword [edi + 0x230]
jae 0x57f9a3
mov eax, dword [edi + 0x240]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + edx*4]
mov dword [ecx + 0xc], eax
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x240]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + edx*4 + 4]
mov edx, ecx
mov dword [edx + 8], eax
jmp 0x57efc9
mov edi, dword [esp + 0x14]
cmp edi, 1
jl 0x57f9a3
dec edi
lea eax, [esp + 0xd8]
push edi
push eax
mov dword [esp + 0x1c], edi
call fcn.0057b8d0
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
jmp 0x57efc9
push edx
call fcn.0057c090
mov dl, al
add esp, 4
movzx edi, dl
mov byte [esp + 0x33], dl
lea eax, [edi - 8]
cmp eax, 0x1d
ja case.0x57f6ca.9
movzx ecx, byte [eax + 0x5814bc]
jmp dword [ecx*4 + 0x5814a4]
push 0
push 0x617b2c
jmp 0x57f73b
push 0
push 0x617b38
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x3f28]
push eax
lea eax, [esp + 0x3f28]
push eax
push esi
call fcn.0057c660
mov ebx, dword [esp + 0x3f34]
add esp, 0x18
mov ebp, dword [esp + 0x3f18]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov dword [esi + 0xc], eax
jmp 0x57efc9
push 0
push 0x617b44
jmp 0x57f73b
push 1
push 0x617b50
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x3f28]
push eax
lea eax, [esp + 0x3f28]
push eax
push esi
call fcn.0057c660
mov ebx, dword [esp + 0x3f34]
add esp, 0x18
mov ebp, dword [esp + 0x3f18]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
jmp 0x57efc9
cmp dl, 0x26
jae case.0x57f7ce.0
mov eax, dword [esp + 0x44]
cmp byte [eax + 9], 0
jne case.0x57f7ce.0
mov al, byte [eax + 8]
mov ecx, dword [esp + 0x60]
test al, al
je 0x57f7c5
test ecx, ecx
jle 0x57f7c5
cmp dl, 0x11
je 0x57f7c5
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x60], 0
mov dword [esi + 0xc], eax
jmp 0x57efc9
cmp edi, 0x21
ja case.0x57f7ce.0
jmp dword [edi*4 + 0x5814dc]
test al, al
je case.0x57f7ce.0
push 0
push esi
call fcn.005815d0
push 2
push esi
mov edi, eax
call fcn.005815d0
push 4
push esi
mov ebp, eax
call fcn.005815d0
push 1
push esi
mov ebx, eax
call fcn.005815d0
mov ecx, ebp
sub ecx, edi
sub ecx, eax
push ecx
push 2
push esi
call fcn.005817b0
push 3
push esi
call fcn.005815d0
sub ebx, ebp
sub ebx, eax
push ebx
push 4
push esi
call fcn.005817b0
mov edi, dword [esp + 0x68]
add esp, 0x40
mov cl, byte [esp + 0x33]
mov eax, dword [edi + 0x20]
cmp cl, 1
jne 0x57f83e
mov eax, dword [eax]
jmp 0x57f841
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x1f]
cmp cl, 1
push eax
push dword [esp + 0x64]
lea edx, [esp + 0xc4]
lea eax, [esp + 0xa4]
cmovne eax, edx
push eax
push esi
push dword [esp + 0x58]
call fcn.0057c8b0
add esp, 0x18
cmp byte [edi + 0x224], 0
jne 0x581084
mov eax, dword [esi + 8]
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x57efc9
push esi
call fcn.00581680
push esi
mov edx, eax
call fcn.00581680
add esp, 8
test eax, eax
je 0x57f8ca
test edx, edx
je 0x57f8ca
mov eax, 1
push eax
push esi
call fcn.00581770
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x57efc9
xor eax, eax
push eax
push esi
call fcn.00581770
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x57efc9
push esi
call fcn.00581680
push esi
mov edx, eax
call fcn.00581680
add esp, 8
test eax, eax
jne 0x57f913
test edx, edx
jne 0x57f913
push eax
push esi
call fcn.00581770
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x57efc9
mov eax, 1
push eax
push esi
call fcn.00581770
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x57efc9
push esi
call fcn.00581680
xor ecx, ecx
test eax, eax
sete cl
push ecx
push esi
call fcn.00581770
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov edi, dword [esp + 0x14]
jmp 0x57efc9
test al, al
je case.0x57f7ce.0
mov eax, dword [esp + 0x28]
push esi
mov edx, dword [eax + 4]
call fcn.005816e0
mov edi, eax
push esi
mov dword [esp + 0x34], edi
call fcn.005816e0
push esi
mov ebp, eax
call fcn.00581680
push esi
mov dword [esp + 0x64], eax
call fcn.00581680
push esi
mov ebx, eax
call fcn.00581680
add esp, 0x14
mov dword [esp + 0x50], eax
cmp byte [esp + 0x3f14], 0
je 0x580f6d
mov eax, 0x12
jmp 0x581088
test al, al
je case.0x57f7ce.0
push esi
call fcn.00581680
mov edi, dword [esp + 0x2c]
push esi
mov ecx, dword [edi + 0x24]
mov dword [ecx + 4], eax
call fcn.00581680
mov ecx, dword [edi + 0x24]
push esi
mov dword [ecx], eax
call fcn.00581680
push esi
mov edx, eax
call fcn.00581680
mov ecx, dword [edi + 0x20]
add esp, 0x10
mov byte [esp + 0x1b], 1
add dword [ecx], eax
mov ecx, dword [edi + 0x20]
add dword [ecx + 4], edx
cmp byte [edi + 0x2f], 0
jne 0x581084
cmp byte [esp + 0x23], 0
mov edi, dword [esp + 0x14]
je 0x57fa20
add ebp, eax
add ebx, edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3f1c], ebx
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov dword [esi + 0xc], eax
jmp 0x57efc9
push esi
call fcn.00581680
add esp, 4
cmp eax, 0x80000001
jge 0x57fa5a
push 0x7fffffff
push esi
call fcn.00581730
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x57efc9
cdq
xor eax, edx
sub eax, edx
push eax
push esi
call fcn.00581730
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x57efc9
push esi
call fcn.00581680
push esi
mov edx, eax
call fcn.00581680
add eax, edx
push eax
push esi
call fcn.00581730
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x57efc9
push esi
call fcn.00581680
push esi
mov edx, eax
call fcn.00581680
sub eax, edx
push eax
push esi
call fcn.00581730
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x57efc9
cmp byte [esp + 0x64], 0
je 0x57fae4
test al, al
je 0x57fae4
push esi
call fcn.005816e0
push esi
mov edx, eax
call fcn.005816e0
mov byte [esp + 0x6c], 0
jmp 0x57faf2
push esi
call fcn.00581680
push esi
mov edx, eax
call fcn.00581680
add esp, 8
push edx
push eax
call fcn.00544d40
push eax
push esi
call fcn.00581730
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x57efc9
push esi
call fcn.00581680
add esp, 4
cmp eax, 0x80000001
jge 0x57fb3f
mov eax, 0x7fffffff
push eax
push esi
call fcn.00581730
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x57efc9
neg eax
push eax
push esi
call fcn.00581730
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x57efc9
push esi
call fcn.00581680
push esi
mov edx, eax
call fcn.00581680
xor ecx, ecx
cmp eax, edx
sete cl
jmp 0x580e3b
test al, al
je 0x580f60
push esi
call fcn.005816e0
push esi
mov edi, eax
call fcn.005816e0
mov edx, dword [esi + 0xc]
add esp, 8
mov ecx, dword [esi + 8]
sub edx, ecx
sar edx, 3
sub edx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x60], 0
cmp edi, 0x1c
ja case.default.0x57fbc0
movzx eax, byte [edi + 0x5815a4]
jmp dword [eax*4 + 0x581564]
cmp dword [esp + 0x24], 3
jne 0x57f9a3
cmp byte [esp + 0x23], 0
je 0x57fbf7
mov edi, dword [esp + 0x28]
cmp dword [edi + 0x1d4], 0
je 0x57f9a3
cmp dword [edi + 0x1d8], 7
jne 0x57f9a3
push ebp
push esi
call fcn.00581730
push ebx
push esi
call fcn.00581730
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x4c], 2
jmp 0x57efc9
cmp dword [esp + 0x24], 0
jne 0x57f9a3
cmp byte [esp + 0x23], 0
je 0x580f60
mov edi, dword [esp + 0x28]
mov edx, dword [edi + 0xc]
movsx eax, word [edx + 0x16]
movsx ecx, word [edx + 0x3a]
add eax, 6
add eax, ecx
cmp eax, dword [edx + 4]
jbe 0x57fc61
push 0
push 6
push edx
call fcn.005455a0
add esp, 0xc
test eax, eax
jne 0x581084
mov edx, dword [esp + 0x10]
mov dword [edi + 0x1d4], 1
mov dword [edi + 0x1d8], 0
mov edi, dword [esp + 0x14]
jmp 0x57efc9
cmp dword [esp + 0x24], 0
jne 0x57f9a3
cmp byte [esp + 0x23], 0
je 0x580f60
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x1d4], 0
je 0x57f9a3
mov edi, dword [ecx + 0x1d8]
lea eax, [edi + 1]
mov dword [ecx + 0x1d8], eax
lea eax, [edi - 1]
cmp eax, 5
ja 0x580f60
mov edx, dword [ecx + 0xc]
movsx eax, word [edx + 0x16]
movsx ecx, word [edx + 0x3a]
inc eax
add eax, ecx
cmp eax, dword [edx + 4]
jbe 0x57fcec
push 0
push 1
push edx
call fcn.005455a0
add esp, 0xc
test eax, eax
jne 0x57f9a3
cmp edi, 3
lea eax, [edi - 3]
cmovle eax, edi
add eax, eax
mov dword [esp + eax*4 + 0x3e5c], ebp
mov dword [esp + eax*4 + 0x3e60], ebx
cmp edi, 3
je 0x57fd13
cmp edi, 6
jne 0x580f60
push dword [esp + 0x3e78]
lea eax, [esp + 0x134]
push dword [esp + 0x3e78]
push dword [esp + 0x3e78]
push dword [esp + 0x3e78]
push dword [esp + 0x3e78]
push dword [esp + 0x3e78]
push eax
call fcn.0057d5e0
mov edx, dword [esp + 0x2c]
add esp, 0x1c
mov edi, dword [esp + 0x14]
jmp 0x57efc9
cmp dword [esp + 0x24], 1
jne 0x57f9a3
cmp byte [esp + 0x23], 0
je 0x57fdb6
mov eax, dword [esp + 0x6c]
xorps xmm0, xmm0
movups xmmword [esp + 0xf8], xmm0
mov dword [esp + 0xac], 0
mov dword [esp + 0xcc], 0
movq qword [esp + 0x108], xmm0
mov dword [esp + 0x110], 0
mov dword [esp + 0xf8], eax
mov word [esp + 0xfc], 0x100
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x4c], 1
jmp 0x57efc9
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x57efc9
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x284]
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x57f9a3
xor eax, eax
cmp edi, 0x12
sete al
add eax, 0xfffffff3
add eax, edi
mov dword [esp + 0x4c], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x4c]
imul eax, ecx
cmp dword [esp + 0x24], eax
jne 0x57f9a3
lea edi, [ecx + edx]
test ecx, ecx
je 0x57fee5
mov ebp, ecx
mov dword [esp + 0x58], ecx
push edx
push esi
call fcn.005815d0
mov ebx, eax
add esp, 8
mov eax, dword [esp + 0x3c]
cmp dword [eax], 1
jbe 0x57feb5
mov eax, 1
mov ebp, 4
sub eax, edi
mov dword [esp + 0x50], eax
nop dword [eax + eax]
push edi
push esi
call fcn.005815d0
mov dword [esp + 0x34], eax
add esp, 8
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x88]
mov eax, dword [eax + ebp]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x3c]
lea ebp, [ebp + 4]
mov eax, dword [esp + 0x50]
inc edi
add ebx, dword [esp + 0x8c]
add eax, edi
cmp eax, dword [ecx]
jb 0x57fe50
mov ebp, dword [esp + 0x58]
push ebx
push dword [esp + 0x44]
push esi
call fcn.005817b0
mov edx, dword [esp + 0x4c]
add esp, 0xc
inc edx
sub ebp, 1
mov dword [esp + 0x40], edx
mov dword [esp + 0x58], ebp
jne 0x57fe26
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
sub eax, ecx
push eax
push esi
call fcn.00581640
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x57efc9
cmp dword [esp + 0x24], 1
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x284]
jne 0x57f9a3
test edi, edi
je 0x57f9a3
push esi
call fcn.005816e0
mov edx, eax
add esp, 4
test edx, edx
js 0x57f9a3
mov eax, dword [edi]
mov esi, dword [esp + 0x28]
lea ecx, [edx + eax]
cmp ecx, dword [esi + 0x28c]
mov esi, dword [esp + 0x80]
ja 0x57f9a3
lea ecx, [eax*4]
mov eax, dword [esp + 0x28]
push ecx
push dword [edi + 0x88]
mov eax, dword [eax + 0x288]
lea eax, [eax + edx*4]
push eax
call fcn.0059ce90
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov edi, dword [esp + 0x14]
jmp 0x57efc9
cmp dword [esp + 0x24], 2
jne 0x57f9a3
push esi
call fcn.00581680
push esi
mov edx, eax
call fcn.00581680
add eax, edx
push eax
push esi
call fcn.00581730
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x4c], 1
jmp 0x57efc9
cmp dword [esp + 0x24], 2
jne 0x57f9a3
push esi
call fcn.00581680
push esi
mov edx, eax
call fcn.00581680
sub eax, edx
push eax
push esi
call fcn.00581730
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x4c], 1
jmp 0x57efc9
cmp dword [esp + 0x24], 2
jne 0x57f9a3
push esi
call fcn.00581680
push esi
mov dword [esp + 0x5c], eax
call fcn.00581680
add esp, 8
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x74], eax
push dword [esp + 0x74]
push esi
call fcn.00581730
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
mov dword [esp + 0x4c], 1
jmp 0x57efc9
cmp dword [esp + 0x24], 2
jne 0x57f9a3
push esi
call fcn.00581680
push esi
mov edx, eax
call fcn.00581680
add esp, 8
test edx, edx
je 0x57f9a3
push edx
push eax
call fcn.00544d40
push eax
push esi
call fcn.00581730
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x4c], 1
jmp 0x57efc9
cmp dword [esp + 0x24], 2
jne 0x57f9a3
mov edi, dword [esp + 0x28]
cmp dword [edi + 0x284], 0
je 0x57f9a3
push esi
call fcn.005816e0
mov edx, eax
add esp, 4
test edx, edx
js 0x57f9a3
cmp edx, dword [edi + 0x28c]
jae 0x57f9a3
push esi
call fcn.00581680
mov ecx, dword [edi + 0x288]
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x10]
jmp 0x57efc9
cmp dword [esp + 0x24], 1
jne 0x57f9a3
mov edi, dword [esp + 0x28]
cmp dword [edi + 0x284], 0
je 0x57f9a3
push esi
call fcn.005816e0
add esp, 4
test eax, eax
js 0x57f9a3
cmp eax, dword [edi + 0x28c]
jae 0x57f9a3
mov ecx, dword [edi + 0x288]
push dword [ecx + eax*4]
jmp 0x58003f
cmp dword [esp + 0x24], 4
jne 0x57f9a3
push esi
call fcn.00581680
push esi
mov ebx, eax
call fcn.00581680
push esi
mov edi, eax
call fcn.00581680
push esi
mov edx, eax
call fcn.00581680
cmp edi, ebx
cmovle edx, eax
push edx
push esi
call fcn.00581730
mov ebx, dword [esp + 0x4c]
add esp, 0x18
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x4c], 1
jmp 0x57efc9
cmp dword [esp + 0x24], 0
jne 0x57f9a3
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x218]
mov edx, dword [edi + 0x288]
mov ecx, edx
mov eax, ecx
shl eax, 0xd
xor ecx, eax
mov eax, ecx
shr eax, 0x11
xor ecx, eax
mov eax, ecx
shl eax, 5
xor eax, ecx
mov dword [edi + 0x288], eax
movzx eax, dx
inc eax
push eax
jmp 0x58003f
mov eax, dword [esp + 0x24]
test eax, eax
js 0x57f9a3
test edi, edi
js 0x57f9a3
cmp eax, 3
mov ecx, eax
mov eax, 3
cmovg ecx, eax
mov dword [esp + 0x60], ecx
cmp ecx, 1
jl 0x580f60
lea edx, [esp + ecx*4 + 0x3e50]
mov edi, ecx
push esi
call fcn.00581680
add esp, 4
mov dword [edx], eax
lea edx, [edx - 4]
sub edi, 1
jne 0x580212
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x57efc9
test al, al
je 0x580f60
cmp dword [esp + 0x4c], 0
jle 0x580252
dec dword [esp + 0x4c]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x57efc9
test ecx, ecx
je 0x57f9a3
push dword [esp + ecx*4 + 0x3e50]
dec ecx
push esi
mov dword [esp + 0x68], ecx
call fcn.00581730
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x57efc9
push esi
call fcn.00581680
mov edi, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x10]
jmp 0x57efc9
push esi
call fcn.005816e0
push esi
mov edx, eax
call fcn.00581680
add esp, 8
cmp edx, 0x1f
ja 0x580f60
mov edi, dword [esp + 0x14]
mov dword [esp + edx*4 + 0x3e7c], eax
mov edx, dword [esp + 0x10]
jmp 0x57efc9
push esi
call fcn.005816e0
add esp, 4
cmp eax, 0x1f
ja 0x580f60
push dword [esp + eax*4 + 0x3e7c]
push esi
call fcn.00581730
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x57efc9
push esi
call fcn.00581680
push esi
mov ebx, eax
call fcn.00581680
push esi
mov edi, eax
call fcn.00581680
push esi
mov edx, eax
call fcn.00581680
cmp edi, ebx
cmovle edx, eax
push edx
push esi
call fcn.00581730
mov ebx, dword [esp + 0x4c]
add esp, 0x18
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x57efc9
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x218]
mov edx, dword [edi + 0x288]
mov ecx, edx
mov eax, ecx
shl eax, 0xd
xor ecx, eax
mov eax, ecx
shr eax, 0x11
xor ecx, eax
mov eax, ecx
shl eax, 5
xor eax, ecx
mov dword [edi + 0x288], eax
movzx eax, dx
inc eax
jmp 0x58041d
push esi
call fcn.00581680
push esi
mov dword [esp + 0x5c], eax
call fcn.00581680
add esp, 8
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x68], eax
push dword [esp + 0x68]
push esi
call fcn.00581730
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x57efc9
push esi
call fcn.00581680
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x58041b
mov edi, eax
cmp eax, 0xa
jl 0x5803d4
sar edi, 1
push edi
push eax
call fcn.00544d40
inc eax
add esp, 8
add eax, edi
sar eax, 1
mov dword [esp + 0x40], eax
cmp eax, edi
je 0x58041d
mov ebp, dword [esp + 0x2c]
mov esi, eax
push esi
push ebp
mov edi, esi
call fcn.00544d40
inc esi
add esp, 8
add esi, eax
sar esi, 1
cmp esi, edi
jne 0x5803f1
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x40]
jmp 0x58041d
xor eax, eax
push eax
push esi
call fcn.00581730
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x57efc9
push esi
call fcn.00581680
mov edi, eax
push edi
push esi
call fcn.00581730
push edi
push esi
call fcn.00581730
mov edi, dword [esp + 0x28]
add esp, 0x14
mov edx, dword [esp + 0x10]
jmp 0x57efc9
push esi
call fcn.00581680
push esi
mov edx, eax
call fcn.00581680
push edx
push esi
mov edi, eax
call fcn.00581730
push edi
push esi
call fcn.00581730
mov edi, dword [esp + 0x2c]
add esp, 0x18
mov edx, dword [esp + 0x10]
jmp 0x57efc9
push esi
call fcn.005816e0
mov ecx, dword [esi + 0xc]
add esp, 4
sub ecx, dword [esi + 8]
sar ecx, 3
test ecx, ecx
je 0x580f60
test eax, eax
js 0x5804b0
cmp eax, ecx
jb 0x5804ae
xor ecx, ecx
jmp 0x5804b1
sub ecx, eax
dec ecx
push ecx
push esi
call fcn.005815d0
push eax
push esi
call fcn.00581730
mov edi, dword [esp + 0x24]
add esp, 0x10
mov edx, dword [esp + 0x10]
jmp 0x57efc9
push esi
call fcn.005816e0
push esi
mov edx, eax
call fcn.005816e0
mov edi, eax
mov dword [esp + 0x48], 0
add esp, 8
mov dword [esp + 0x24], edi
mov dword [esp + 0x3c], 2
cmp edi, 2
jl 0x580f60
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
sar ecx, 3
cmp edi, ecx
jbe 0x580533
mov eax, dword [esi + 4]
test eax, eax
je 0x580f60
cmp dword [eax], 0
jne 0x580f60
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x57efc9
test edx, edx
jns 0x580548
neg edx
mov eax, edx
cdq
idiv edi
mov ecx, edx
neg ecx
mov dword [esp + 0x58], ecx
jmp 0x580553
mov eax, edx
cdq
idiv edi
mov ecx, edx
mov dword [esp + 0x58], edx
test ecx, ecx
je 0x580f60
or edi, 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
cmp dword [esp + 0x24], 0
jle 0x580f60
mov ebx, dword [esp + 0x24]
lea edx, [edi - 7]
mov ebp, dword [esp + 0x2c]
shl ecx, 3
mov dword [esp + 0x54], ecx
lea eax, [ebx*8]
mov dword [esp + 0x50], ebx
nop
mov ecx, dword [esi + 8]
mov dword [esp + 0x2c], ecx
cmp ebp, edi
jne 0x5805b4
inc ebp
mov edi, ebp
lea edx, [ebp*8]
mov esi, dword [edx + ecx]
mov dword [esp + 0x40], esi
mov esi, dword [edx + ecx + 4]
mov dword [esp + 0x3c], esi
add edi, dword [esp + 0x58]
add edx, dword [esp + 0x54]
cmp edi, ebx
jl 0x5805c6
sub edi, ebx
sub edx, eax
jmp 0x5805ce
test edi, edi
jns 0x5805ce
add edi, ebx
add edx, eax
sub dword [esp + 0x50], 1
mov esi, dword [esp + 0x2c]
mov eax, dword [edx + ecx]
mov ecx, dword [edx + ecx + 4]
mov ebx, dword [esp + 0x40]
mov dword [edx + esi], ebx
mov ebx, dword [esp + 0x3c]
mov dword [edx + esi + 4], ebx
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
lea eax, [ebx*8]
jne 0x580590
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x57efc9
cmp byte [esp + 0x23], 0
je case.0x57f7ce.0
test al, al
je case.0x57f7ce.0
push esi
call fcn.00581680
mov ebx, eax
push esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x3f24], ebx
call fcn.00581680
mov edx, dword [esp + 0x18]
mov ebp, eax
mov eax, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x14]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3f18], ebp
mov dword [eax + 0x1d4], 0
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x57efc9
test cl, cl
je case.0x57f0c8.0
push esi
call fcn.00581680
mov edx, dword [esp + 0x2c]
push esi
mov ecx, dword [edx + 0x24]
mov dword [ecx], eax
mov eax, dword [edx + 0x24]
mov dword [eax + 4], 0
call fcn.00581680
mov ecx, dword [edx + 0x20]
add esp, 8
mov byte [esp + 0x1b], 1
add dword [ecx], eax
cmp byte [edx + 0x2f], 0
jne 0x581084
cmp byte [esp + 0x23], 0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
je 0x57f1fa
add ebp, eax
mov eax, dword [esi + 8]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3f18], ebp
mov dword [esi + 0xc], eax
jmp 0x57efc9
test cl, cl
je 0x5812be
test ch, ch
jne 0x5812be
push ebx
lea eax, [esp + 0x134]
push ebp
push eax
call fcn.0057dad0
mov edi, dword [esp + 0x20]
xorps xmm0, xmm0
mov eax, dword [esp + 0x78]
add esp, 0xc
mov byte [esp + 0x23], 1
mov dword [esp + 0xac], 0
mov dword [esp + 0xcc], 0
movq qword [esp + 0x108], xmm0
mov dword [esp + 0x110], 0
movups xmmword [esp + 0xf8], xmm0
mov dword [esp + 0xf8], eax
mov word [esp + 0xfc], 0x100
test edi, edi
jle 0x580791
nop dword [eax]
dec edi
lea eax, [esp + 0xd8]
push edi
push eax
call fcn.0057b8d0
add esp, 8
mov edx, eax
mov dword [esp + 0x10], edx
test edi, edi
jg 0x580760
mov eax, dword [edx + 4]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x14], edi
mov dword [esi + 0xc], eax
jmp 0x57efc9
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x57efc9
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x5807c2
cmp byte [esp + 0xfc], 0
jne case.0x57f0c8.0
mov edi, dword [esp + 0x44]
lea eax, [esp + 0x1b]
push 0
push eax
push dword [esp + 0x64]
lea eax, [esp + 0xa4]
push eax
push esi
push edi
call fcn.0057c8b0
mov eax, dword [esp + 0x40]
add esp, 0x18
cmp byte [eax + 0x224], 0
jne 0x581084
mov eax, dword [esp + 0x3c]
cmp al, 0x13
jne 0x580832
mov eax, dword [esp + 0xac]
add eax, dword [esp + 0xcc]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x100]
push eax
call fcn.0057e9f0
mov eax, dword [esi + 8]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x57efc9
push dword [esp + 0x78]
lea eax, [esp + 0x2e90]
push eax
lea eax, [esp + 0x1f78]
push eax
lea eax, [esp + 0x2f44]
push edi
push eax
call fcn.0057e660
xorps xmm0, xmm0
mov dword [esp + 0x140], 0
lea eax, [edi + 4]
movq qword [esp + 0x138], xmm0
movups xmmword [esp + 0x128], xmm0
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0xc0]
add eax, dword [esp + 0xe0]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x130]
push eax
call fcn.0057e9f0
push 0
push 0
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x2f6c]
push eax
call fcn.0057e250
mov eax, dword [esi + 8]
add esp, 0x38
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x57efc9
cmp byte [esp + 0x1b], 0
jne 0x58090a
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 2
jbe 0x58090a
push 0
push esi
call fcn.005815d0
mov ecx, dword [esp + 0x64]
add esp, 8
add eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
mov edi, dword [esp + 0x28]
mov byte [esp + 0x1b], 1
cmp byte [edi + 0x224], 0
jne 0x581084
push esi
call fcn.00581680
add ebx, eax
push esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x3f24], ebx
call fcn.00581680
add esp, 8
add ebp, eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3f18], ebp
jmp 0x57f2a1
cmp byte [esp + 0x1b], 0
jne 0x58097c
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x58097c
push 0
push esi
call fcn.005815d0
mov ecx, dword [esp + 0x64]
add esp, 8
add eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
mov edi, dword [esp + 0x28]
mov byte [esp + 0x1b], 1
cmp byte [edi + 0x224], 0
jne 0x581084
push esi
call fcn.00581680
add esp, 4
add ebp, eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3f18], ebp
jmp 0x57f2a1
mov ecx, dword [esi + 0xc]
xor eax, eax
sub ecx, dword [esi + 8]
sar ecx, 3
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
cmp ecx, 6
jbe 0x580a1b
lea edi, [eax + 6]
push eax
push esi
call fcn.005815d0
add ebp, eax
lea eax, [edi - 5]
push eax
push esi
mov dword [esp + 0x3f28], ebp
call fcn.005815d0
add ebx, eax
lea eax, [esp + 0x140]
push ebx
push ebp
push eax
mov dword [esp + 0x3f38], ebx
call fcn.0057d950
mov eax, dword [esp + 0x6c]
add edi, 2
mov ecx, dword [esp + 0x74]
add eax, 2
add esp, 0x1c
mov dword [esp + 0x50], eax
cmp edi, ecx
jb 0x5809c8
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
cmp eax, ecx
jae 0x580ade
lea ecx, [eax + 2]
mov dword [esp + 0x24], ecx
nop word [eax + eax]
lea eax, [ecx - 2]
push eax
push esi
call fcn.005815d0
mov ecx, dword [esp + 0x2c]
dec ecx
push ecx
lea edi, [eax + ebp]
push esi
mov dword [esp + 0x3c], edi
call fcn.005815d0
push dword [esp + 0x34]
push esi
lea ebp, [ebx + eax]
call fcn.005815d0
mov ecx, dword [esp + 0x3c]
inc ecx
push ecx
push esi
lea ebx, [edi + eax]
call fcn.005815d0
mov ecx, dword [esp + 0x44]
add ecx, 2
push ecx
push esi
lea edi, [eax + ebp]
call fcn.005815d0
add eax, ebx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
add eax, 3
push eax
push esi
call fcn.005815d0
add eax, edi
push eax
push dword [esp + 0x6c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x168]
push edi
push ebx
push ebp
push dword [esp + 0x70]
push eax
call fcn.0057d5e0
mov ecx, dword [esp + 0x70]
add esp, 0x4c
mov ebp, dword [esp + 0x38]
add ecx, 6
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x3f1c], ebx
lea eax, [ecx - 2]
mov dword [esp + 0x24], ecx
cmp eax, dword [esp + 0x58]
jb 0x580a30
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esi + 0xc], eax
jmp 0x57efc9
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub edi, ecx
sar edi, 3
mov eax, edi
and eax, 0xfffffffd
sub edi, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], edi
cmp edi, eax
jae 0x580e13
sub eax, edi
test al, 1
je 0x580b30
push edi
push esi
call fcn.005815d0
add eax, ebp
add esp, 8
inc edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edi
jmp 0x580b34
mov dword [esp + 0x40], ebp
push edi
push esi
call fcn.005815d0
lea ecx, [edi + 1]
mov ebx, eax
add ebx, dword [esp + 0x3c]
push ecx
push esi
call fcn.005815d0
mov ebp, eax
lea eax, [edi + 2]
add ebp, dword [esp + 0x50]
push eax
push esi
call fcn.005815d0
mov ecx, dword [esp + 0x54]
add ecx, 3
push ecx
push esi
lea edi, [ebx + eax]
call fcn.005815d0
add eax, edi
push eax
push ebp
push edi
push ebp
push ebx
push dword [esp + 0x74]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x168]
push eax
call fcn.0057d5e0
mov edi, dword [esp + 0x78]
add esp, 0x3c
mov eax, dword [esp + 0x2c]
add edi, 4
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x3f1c], ebx
mov dword [esp + 0x3c], edi
cmp edi, eax
jb 0x580b13
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x57efc5
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub edi, ecx
sar edi, 3
mov eax, edi
and eax, 0xfffffffd
sub edi, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], edi
cmp edi, eax
jae 0x580e13
nop dword [eax]
sub eax, edi
test al, 1
je 0x580c0d
push edi
push esi
call fcn.005815d0
add eax, ebx
add esp, 8
inc edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edi
jmp 0x580c11
mov dword [esp + 0x40], ebx
push edi
push esi
call fcn.005815d0
lea ecx, [edi + 1]
push ecx
push esi
lea ebx, [eax + ebp]
call fcn.005815d0
mov ebp, dword [esp + 0x4c]
lea edi, [ebx + eax]
lea ecx, [ebp + 2]
push ecx
push esi
call fcn.005815d0
add eax, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
lea eax, [ebp + 3]
push eax
push esi
call fcn.005815d0
lea ebp, [edi + eax]
mov eax, dword [esp + 0x54]
push eax
push ebp
push eax
push edi
push dword [esp + 0x70]
lea eax, [esp + 0x164]
push ebx
push eax
call fcn.0057d5e0
mov edi, dword [esp + 0x78]
add esp, 0x3c
mov eax, dword [esp + 0x2c]
add edi, 4
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x3f1c], ebx
mov dword [esp + 0x3c], edi
cmp edi, eax
jb 0x580bf0
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x57efc5
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub edi, ecx
sar edi, 3
cmp al, 0x1f
mov eax, edi
sete byte [esp + 0x33]
and eax, 0xfffffffd
sub edi, eax
mov dword [esp + 0x2c], eax
cmp edi, eax
jae 0x580e13
nop dword [eax]
push edi
push esi
call fcn.005815d0
mov dword [esp + 0x58], eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x44], eax
call fcn.005815d0
lea ecx, [edi + 2]
mov dword [esp + 0x68], eax
push ecx
push esi
call fcn.005815d0
lea ecx, [edi + 3]
mov dword [esp + 0x58], eax
push ecx
push esi
call fcn.005815d0
mov edx, dword [esp + 0x4c]
add esp, 0x20
sub edx, edi
mov dword [esp + 0x38], eax
cmp byte [esp + 0x33], 0
je 0x580d79
mov eax, dword [esp + 0x50]
mov ecx, ebx
add ecx, dword [esp + 0x40]
add eax, ebp
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x54], eax
add ebx, ecx
add eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ecx
cmp edx, 5
jne 0x580d68
lea eax, [edi + 4]
push eax
push esi
call fcn.005815d0
mov edi, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov ecx, dword [esp + 0x3c]
add ebp, eax
mov byte [esp + 0x33], 0
jmp 0x580dcd
mov ecx, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x33], 0
jmp 0x580dcd
mov ecx, dword [esp + 0x50]
mov eax, ebp
add eax, dword [esp + 0x58]
add ecx, ebx
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
add ebp, eax
add ecx, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ecx
cmp edx, 5
jne 0x580dbe
lea eax, [edi + 4]
push eax
push esi
call fcn.005815d0
mov ecx, dword [esp + 0x44]
add esp, 8
mov edi, dword [esp + 0x34]
lea ebx, [ecx + eax]
jmp 0x580dc4
mov ebx, ecx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x33], 1
push ebx
push ebp
push ecx
push eax
push dword [esp + 0x60]
lea eax, [esp + 0x144]
push dword [esp + 0x68]
push eax
call fcn.0057d5e0
add edi, 4
mov dword [esp + 0x3f34], ebp
add esp, 0x1c
mov dword [esp + 0x3f1c], ebx
cmp edi, dword [esp + 0x2c]
jb 0x580cd0
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x57efc9
push edx
call fcn.0057c090
push dword [esp + 0x14]
mov edi, eax
call fcn.0057c090
shl edi, 8
movsx ecx, ax
movsx eax, di
or ecx, eax
push ecx
push esi
call fcn.00581770
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x57efc9
cmp al, 0xf6
ja 0x580e73
lea eax, [edi - 0x8b]
push eax
push esi
call fcn.00581770
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x57efc9
push edx
call fcn.0057c090
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
cmp al, 0xfa
ja 0x580eac
lea eax, [ecx - 0xf694]
shl edi, 8
add eax, edi
push eax
push esi
call fcn.00581770
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x57efc9
cmp al, 0xfe
ja 0x580ed3
shl edi, 8
mov eax, 0xfa94
sub eax, edi
sub eax, ecx
push eax
push esi
call fcn.00581770
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x57efc9
mov edi, dword [esp + 0x10]
push edi
call fcn.0057c090
push edi
mov ebx, eax
call fcn.0057c090
push dword [esp + 0x18]
mov edi, eax
call fcn.0057c090
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x2c]
shl eax, 8
or eax, ebx
shl eax, 8
or eax, edi
shl eax, 8
or ecx, eax
mov eax, dword [esp + 0x44]
cmp byte [eax + 8], 0
je 0x580f52
cmp ecx, 0x7d00
jg 0x580f22
cmp ecx, 0xffff8300
jge 0x580f37
mov edx, dword [esp + 0x64]
test dl, dl
movzx eax, dl
mov edx, 1
cmove eax, edx
mov byte [esp + 0x64], al
push ecx
push esi
call fcn.00581770
mov ebx, dword [esp + 0x3c]
add esp, 8
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x57efc9
push ecx
push esi
call fcn.00581730
mov ebx, dword [esp + 0x3c]
add esp, 8
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x57efc9
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 0x2f], 0
je 0x580f81
mov eax, 0x12
jmp 0x581088
cmp dword [ecx + 0x244], 0
jne 0x580fa0
mov eax, dword [edx + 0x80]
cmp dword [eax + 0x34], 0
jne 0x580fa0
mov eax, 0x12
jmp 0x581088
mov eax, dword [ecx + 0x20]
add ebx, dword [eax]
mov eax, dword [edx + 0x80]
cmp dword [eax + 0x34], 0
jne 0x580fd1
push ebp
push ecx
call fcn.00581d80
push edi
push dword [esp + 0x34]
mov ebp, eax
call fcn.00581d80
mov ecx, dword [esp + 0x38]
mov edi, eax
add esp, 0x10
mov dword [esp + 0x2c], edi
test ebp, ebp
js 0x57f9a3
test edi, edi
js 0x57f9a3
cmp byte [ecx + 0x2e], 0
je 0x5811a1
mov eax, dword [ecx + 8]
mov dword [esp + 0x68], eax
push 2
mov eax, dword [eax + 0x9c]
mov edi, dword [eax]
push edi
mov dword [esp + 0x7c], edi
call fcn.00545720
add esp, 8
test eax, eax
jne 0x581088
mov edi, dword [edi + 0x58]
mov eax, 0x202
sub ebx, dword [esp + 0x50]
push ebx
mov word [edi + 4], ax
mov eax, dword [esp + 0x30]
mov dword [edi], ebp
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], eax
mov eax, 2
mov word [edi + 0x24], ax
call fcn.005484f0
push dword [esp + 0x58]
sar eax, 0x10
mov dword [edi + 0x28], eax
call fcn.005484f0
mov ecx, dword [esp + 0x70]
add esp, 8
mov edx, dword [esp + 0x74]
sar eax, 0x10
mov dword [edi + 0x2c], eax
mov dword [ecx + 0x80], 2
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x84], eax
mov dword [ecx + 0x48], 0x636f6d70
mov dword [edx + 0x54], 2
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x58109b
cmp dword [edx], 0
jne 0x58109b
mov dword [edx], eax
push dword [esp + 0x2ea8]
mov dword [esp + 0x2e9c], 0
push dword [esp + 0x2e90]
mov dword [esp + 0x2ea8], 0
mov dword [esp + 0x2eac], 0
call fcn.0054a930
push dword [esp + 0xbc]
mov dword [esp + 0x2eb4], 0
push dword [esp + 0xa4]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
call fcn.0054a930
push dword [esp + 0xe4]
mov dword [esp + 0xc8], 0
push dword [esp + 0xcc]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
call fcn.0054a930
push ebp
push dword [esp + 0xf4]
mov dword [esp + 0xf4], 0
call fcn.0054a930
add esp, 0x20
test esi, esi
je 0x581188
push dword [esi + 8]
mov edi, dword [esi]
push edi
call fcn.0054a930
push esi
push edi
mov dword [esi + 8], 0
call fcn.0054a930
add esp, 0x10
mov ecx, dword [esp + 0x3efc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059a5ad
add esp, 0x3ef0
ret
push dword [ecx + 0xc]
call fcn.00545820
lea eax, [esp + 0x3e58]
push eax
push ebp
mov ebp, dword [esp + 0x34]
push ebp
call fcn.0057cf40
add esp, 0x10
test eax, eax
jne 0x581088
lea eax, [esp + 0x8c]
push eax
push 0
push 0
push 1
push dword [esp + 0x98]
lea eax, [esp + 0x3e68]
push dword [esp + 0x84]
push eax
push dword [esp + 0x60]
call fcn.0057ea70
lea eax, [esp + 0x3e74]
push eax
push ebp
call fcn.0057ce00
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx + 4]
mov ebp, dword [ecx]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
mov dword [ecx], 0
mov dword [esp + 0x9c], edx
mov eax, dword [eax + 0x20]
mov dword [eax + 4], 0
lea eax, [esp + 0x3e7c]
push eax
push edi
mov edi, dword [esp + 0x58]
push edi
call fcn.0057cf40
add esp, 0x34
test eax, eax
jne 0x581088
sub ebx, dword [esp + 0x50]
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x3e5c]
push ebx
push 1
push dword [esp + 0x98]
push dword [esp + 0x84]
push eax
push dword [esp + 0x60]
call fcn.0057ea70
lea eax, [esp + 0x3e74]
push eax
push edi
call fcn.0057ce00
mov eax, dword [edi + 0x20]
add esp, 0x28
mov ecx, dword [esp + 0x68]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
jmp 0x581084
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
je 0x5812d1
cmp eax, 5
jne 0x5812ed
cmp byte [esp + 0x1b], 0
jne 0x5812ed
push 0
push esi
call fcn.005815d0
mov ecx, dword [esp + 0x64]
add esp, 8
add eax, dword [esp + 0x7c]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x224], 0
jne 0x581084
lea eax, [esp + 0x130]
push eax
call fcn.0057cfc0
mov eax, dword [esp + 0x48]
add esp, 4
cmp byte [eax + 9], 0
jne 0x581084
cmp byte [eax + 8], 0
jne 0x581084
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x581084
cmp byte [esp + 0x3f14], 0
je 0x58134c
mov eax, 0x12
jmp 0x581088
push esi
call fcn.005816e0
push esi
mov edx, eax
call fcn.005816e0
push esi
mov edi, eax
call fcn.00581680
push esi
mov ebx, eax
call fcn.00581680
mov ebp, eax
lea eax, [esp + 0x3e64]
push eax
push edx
push dword [esp + 0x40]
call fcn.0057ce80
add esp, 0x1c
test eax, eax
jne 0x581088
lea eax, [esp + 0x68]
push eax
push ebx
push ebp
mov ebp, dword [esp + 0x50]
lea eax, [esp + 0x3e60]
push 1
push dword [esp + 0x98]
push dword [esp + 0x84]
push eax
push ebp
call fcn.0057ea70
mov ebx, dword [esp + 0x48]
lea eax, [esp + 0x3e74]
push eax
push ebx
call fcn.0057cdd0
lea eax, [esp + 0x3e7c]
push eax
push edi
push ebx
call fcn.0057ce80
add esp, 0x34
test eax, eax
jne 0x581088
lea eax, [esp + 0x68]
push eax
push 0
push 0
push 1
push dword [esp + 0x98]
lea eax, [esp + 0x3e68]
push dword [esp + 0x84]
push eax
push ebp
call fcn.0057ea70
lea eax, [esp + 0x3e74]
push eax
push ebx
call fcn.0057cdd0
add esp, 0x28
jmp 0x581084
xor eax, eax
jmp 0x58108c