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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x1016a000]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, dword [0x1016c3d4]
mov eax, ecx
mov dword [esp + 0x58], eax
push edi
test esi, esi
je 0x52ff35
cmp byte [0x1016c3a5], 0
je 0x52ff35
test eax, eax
jne 0x52ed8e
cmp byte [0x1016c3a6], cl
jne 0x52ff35
mov eax, dword [0x10147010]
xorps xmm0, xmm0
push 0
push 0
push 0
push 0
push dword [0x1016c4ac]
mov dword [esp + 0x34], 0
mov byte [0x1016c3a5], 0
mov byte [0x1016c3a6], 1
mov byte [esp + 0x37], 1
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0x94], xmm0
mov byte [esp + 0x27], 0
mov dword [esp + 0x2c], eax
call eax
mov eax, dword [0x10147050]
mov dword [esp + 0x38], eax
mov eax, dword [0x101472b4]
mov dword [esp + 0x4c], eax
mov eax, dword [0x1014701c]
mov dword [esp + 0x64], eax
mov eax, dword [0x10147048]
mov dword [esp + 0x3c], eax
mov eax, dword [0x10147024]
mov dword [esp + 0x48], eax
mov eax, dword [0x10147028]
mov dword [esp + 0x60], eax
mov eax, dword [0x10147014]
mov dword [esp + 0x70], eax
mov eax, dword [0x101472cc]
mov dword [esp + 0x74], eax
mov eax, dword [0x1014702c]
mov dword [esp + 0x68], eax
mov eax, dword [0x101472e4]
mov dword [esp + 0x6c], eax
mov eax, dword [0x10147314]
mov dword [esp + 0x78], eax
mov eax, dword [0x10147214]
mov dword [esp + 0x7c], eax
mov edi, esi
nop dword [eax]
cmp dword [esi + 0x2c], 1
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x14], edx
mov dword [esi + 0xdc], 0
lea eax, [edx + 0xc0]
mov dword [esp + 0x28], eax
jle 0x52ee7c
or ecx, dword [eax]
jmp 0x52ee80
mov dword [esp + 0x28], eax
mov dword [esi + 0xc0], ecx
mov ah, byte [esi + 0xd4]
mov byte [esp + 0x1e], ah
mov al, ah
test cl, 8
je 0x52ef2d
mov ch, byte [esi + 0x3c]
test ch, ch
je 0x52eecc
test edx, edx
je 0x52eec8
cmp byte [edx + 0xd4], 0
je 0x52eebe
mov eax, dword [esi + 0x30]
cmp eax, dword [edx + 0x34]
jne 0x52eebe
mov eax, 1
jmp 0x52eec0
xor eax, eax
test eax, eax
mov ah, byte [esp + 0x1e]
je 0x52eecc
mov cl, 1
jmp 0x52eece
xor cl, cl
cmp byte [0x1016c3a4], 0
mov al, cl
mov byte [esi + 0xd4], cl
je 0x52eefe
test edx, edx
je 0x52eefe
cmp dword [esi + 0x38], 0
je 0x52eefe
mov ecx, dword [esi + 0x38]
cmp dword [ecx + 0x1c], 0
mov ch, byte [esi + 0x3c]
je 0x52eefe
mov byte [esi + 0xd4], 0
xor al, al
cmp al, ah
je 0x52ef2d
push 0
xor eax, eax
test ch, ch
push 0
push dword [esi + 0xbc]
setne al
push eax
mov eax, dword [esi + 0x44]
push 0x3f3
push esi
call eax
mov al, byte [esi + 0xd4]
mov edx, dword [esp + 0x14]
mov ah, byte [esp + 0x1e]
test edx, edx
je 0x52ef48
test byte [edx + 0xc0], 0x10
je 0x52ef48
movzx eax, al
mov dword [esi + 0xdc], eax
jmp 0x52efc8
cmp al, ah
je 0x52ef64
test ah, ah
jne 0x52ef71
test byte [esi + 0xbc], 6
jne 0x52efc8
movzx eax, al
mov dword [esi + 0xdc], eax
jmp 0x52ef71
test ah, ah
je 0x52efc8
test byte [esi + 0xbc], 6
je 0x52efc8
push dword [esi + 0x90]
or dword [esi + 0xc0], 0x10
push dword [esi + 0x8c]
mov byte [esp + 0x1b], 1
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [0x1016c3e0]
call dword [esp + 0x2c]
mov eax, dword [0x1016c4ac]
push 2
push dword [0x1016c3e0]
push eax
push eax
call dword [esp + 0x48]
push 0
push 0
push 0
push 0
push dword [esi + 0xb4]
call dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
test byte [esi + 0xc0], 6
je 0x52f5cf
cmp dword [esi + 0x2c], 1
jne 0x52f060
mov eax, dword [esi + 0x50]
mov dword [esi + 0x94], eax
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x54]
push 0x1014e6cc
mov dword [esi + 0x98], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x78], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x7c], 0
push dword [edi + 0x28]
mov dword [esp + 0x64], 2
call dword [esp + 0x54]
movd xmm2, dword [esi + 0x54]
mov ecx, eax
movd xmm1, dword [esi + 0x50]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.00511b61
jmp 0x52f217
mov eax, dword [esi + 0x48]
add eax, dword [edx + 0x74]
mov dword [esi + 0x74], eax
mov edx, dword [edx + 0x78]
add edx, dword [esi + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x78], edx
mov ecx, dword [eax + 0x84]
add ecx, dword [eax + 0x9c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], ecx
cmp eax, ecx
jge 0x52f0b9
mov dword [esi + 0x84], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x84]
sub eax, dword [esp + 0x24]
add eax, dword [ecx + 0x9c]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
jmp 0x52f0e0
mov dword [esi + 0x7c], 0
jle 0x52f0d2
mov dword [esi + 0x84], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], eax
jmp 0x52f0e0
mov dword [esi + 0x84], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x88]
mov eax, dword [eax + 0xa0]
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
cmp edx, eax
jge 0x52f118
mov dword [esi + 0x88], eax
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x88]
sub eax, edx
add eax, dword [ecx + 0xa0]
jmp 0x52f13a
jle 0x52f12a
mov dword [esi + 0x88], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x30], edx
jmp 0x52f138
mov dword [esi + 0x88], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esi + 0x80], eax
mov eax, dword [ecx + 0x8c]
sub eax, dword [ecx + 0xa4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x24]
add eax, dword [esi + 0x50]
cmp eax, dword [esp + 0x90]
jg 0x52f174
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x40]
add eax, dword [esi + 0x50]
jmp 0x52f17f
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0x40]
mov dword [esi + 0x94], eax
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x90]
sub eax, dword [ecx + 0xa8]
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x90], eax
lea eax, [edx + ecx]
cmp eax, dword [esp + 0x90]
jg 0x52f1b3
sub edx, dword [esp + 0x44]
add edx, ecx
jmp 0x52f1be
mov edx, dword [esp + 0x90]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x98], edx
add ecx, dword [esi + 0x78]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x90]
sub eax, dword [ecx + 0xa8]
cmp dword [esp + 0x90], eax
jne 0x52f1fd
mov eax, dword [esi + 0x78]
sub eax, dword [esp + 0x30]
mov edx, dword [esi + 0x54]
add edx, eax
mov dword [esi + 0x98], edx
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x50]
mov dword [esi + 0x8c], eax
mov eax, dword [esp + 0x30]
add eax, edx
mov dword [esi + 0x90], eax
test byte [esi + 0xbc], 4
je 0x52f289
movd xmm2, dword [esi + 0x54]
movd xmm1, dword [esi + 0x50]
mov ecx, dword [esi + 0xd8]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.00511b61
or dword [esi + 0xbc], 1
add byte [ecx], al
or dword [esi + 0xc0], 1
mov dword [edi + 0xc8], 0xa
push dword [esi + 0x54]
push dword [esi + 0x50]
push 0
push 0
push dword [esi + 0xb8]
call dword [esp + 0x2c]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [esi + 0xb4]
call dword [esp + 0x2c]
mov al, byte [esi + 0xd4]
test al, al
je 0x52f2ff
cmp dword [esp + 0x14], 0
je 0x52f2a3
mov ecx, dword [esp + 0x28]
test byte [ecx], 0x10
jne 0x52f2ff
push dword [esi + 0x90]
or dword [esi + 0xc0], 0x10
push dword [esi + 0x8c]
movzx eax, al
push dword [esi + 0x88]
mov dword [esi + 0xdc], eax
push dword [esi + 0x84]
mov byte [esp + 0x23], 1
push dword [0x1016c3e0]
call dword [esp + 0x2c]
mov eax, dword [0x1016c4ac]
push 2
push dword [0x1016c3e0]
push eax
push eax
call dword [esp + 0x48]
push 0
push 0
push 0
push 0
push dword [esi + 0xb4]
call dword [esp + 0x2c]
test byte [esi + 0xbc], 2
je 0x52f467
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10156560]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x52f32e
cvtdq2pd xmm0, xmm0
jmp 0x52f352
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10156560]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0x28], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x52f37a
cvtdq2pd xmm0, xmm0
jmp 0x52f3a4
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
fstp qword [esp + 0x98]
movsd xmm0, qword [esp + 0x98]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10156560]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x90], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x52f3cf
cvtdq2pd xmm0, xmm0
jmp 0x52f3f3
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10156560]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x30], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x52f41b
cvtdq2pd xmm0, xmm0
jmp 0x52f43f
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
fstp qword [esp + 0x58]
movsd xmm0, qword [esp + 0x58]
add esp, 8
cvttsd2si eax, qword [esp + 0x28]
push eax
cvttsd2si eax, qword [esp + 0x94]
push eax
cvttsd2si eax, qword [esp + 0x38]
push eax
cvttsd2si eax, xmm0
push eax
mov eax, dword [esi + 0x44]
push 0x3ee
push esi
call eax
test byte [esi + 0xbc], 4
je 0x52f5cf
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10156560]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x52f496
cvtdq2pd xmm0, xmm0
jmp 0x52f4ba
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10156560]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0x28], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x52f4e2
cvtdq2pd xmm0, xmm0
jmp 0x52f50c
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
fstp qword [esp + 0x98]
movsd xmm0, qword [esp + 0x98]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10156560]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x90], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x52f537
cvtdq2pd xmm0, xmm0
jmp 0x52f55b
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10156560]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x30], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x52f583
cvtdq2pd xmm0, xmm0
jmp 0x52f5a7
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
fstp qword [esp + 0x58]
movsd xmm0, qword [esp + 0x58]
add esp, 8
cvttsd2si eax, qword [esp + 0x28]
push eax
cvttsd2si eax, qword [esp + 0x94]
push eax
cvttsd2si eax, qword [esp + 0x38]
push eax
cvttsd2si eax, xmm0
push eax
mov eax, dword [esi + 0x44]
push 0x3ef
push esi
call eax
cmp byte [esi + 0xd4], 0
je 0x52f687
cmp dword [esi + 0x24], 0x44c
jne 0x52f687
lea eax, [esi + 0x84]
push eax
push dword [0x1016c4ac]
call dword [esp + 0x6c]
test eax, eax
je 0x52f687
movzx eax, byte [esi + 0xd4]
or dword [esi + 0xbc], 1
or dword [esi + 0xc0], 0x11
mov dword [esi + 0xdc], eax
mov dword [edi + 0xc8], 0xa
push dword [esi + 0x54]
mov byte [esp + 0x17], 1
push dword [esi + 0x50]
push 0
push 0
push dword [esi + 0xb8]
call dword [esp + 0x2c]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [esi + 0xb4]
call dword [esp + 0x2c]
mov eax, dword [0x1016c4ac]
push 2
push dword [esi + 0xb4]
push eax
push eax
call dword [esp + 0x48]
push 0
push 0
push 0
push 0
push dword [esi + 0xb4]
call dword [esp + 0x2c]
test byte [esi + 0xbc], 1
je 0x52f6e1
mov cl, byte [esi + 0xd4]
mov dword [esi + 0xc4], 1
test cl, cl
je 0x52f6e1
mov eax, dword [esi + 0xc0]
test al, 0x10
jne 0x52f6e1
cmp dword [edi + 0xc8], 9
jle 0x52f6c0
or eax, 0x10
mov dword [esi + 0xc0], eax
push 2
push dword [esi + 0xb4]
movzx eax, cl
mov dword [esi + 0xdc], eax
mov eax, dword [0x1016c4ac]
push eax
push eax
mov byte [esp + 0x23], 1
call dword [esp + 0x48]
mov dword [esi + 0xc8], 0
mov dword [esi + 0xbc], 0
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x52f706
cmp dword [esi + 0x2c], 1
jg 0x52ee51
cmp byte [esp + 0x13], 0
je 0x52ff06
test edi, edi
je 0x52ff06
push 0x1014e6cc
push dword [edi + 0x28]
call dword [esp + 0x54]
push 0x1014e6e8
push dword [edi + 0x28]
mov esi, eax
mov dword [esp + 0x1c], esi
call dword [esp + 0x54]
push dword [0x1016c4ac]
mov dword [esp + 0x2c], eax
push dword [esi + 0x1c]
call dword [esp + 0x44]
push dword [0x1016c49c]
push dword [0x1016c4ac]
push dword [esi + 0x1c]
call dword [esp + 0x54]
cmp dword [edi + 0x24], 0
jle 0x52fa32
cmp byte [edi + 0xd4], 0
je 0x52fa32
cmp dword [edi + 0x94], 0
jle 0x52fa32
cmp dword [edi + 0x98], 0
jle 0x52fa32
mov eax, dword [edi + 0xd8]
cmp dword [eax + 0x14], 0
je 0x52fa32
cmp dword [edi + 0xc4], 0
je 0x52f9a1
cmp byte [edi + 0xe1], 0
jne 0x52f9a1
cmp dword [0x1016c504], 0
mov ecx, dword [edi + 0xb8]
mov byte [edi + 0xe1], 1
je 0x52f8be
lea eax, [esp + 0x90]
xorps xmm0, xmm0
push eax
push ecx
movaps xmmword [esp + 0x98], xmm0
call dword [esp + 0x68]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [0x1016c3e0]
call dword [esp + 0x2c]
mov eax, dword [edi + 0xd8]
push dword [0x1016c3e0]
push dword [eax + 0x1c]
call dword [esp + 0x44]
mov eax, dword [edi + 0xd8]
push 0
push dword [0x1016c3e0]
push dword [eax + 0x20]
call dword [0x1016d20c]
push dword [0x1016c49c]
mov eax, dword [edi + 0xd8]
push dword [0x1016c3e0]
push dword [eax + 0x1c]
call dword [esp + 0x54]
mov ecx, dword [edi + 0xd8]
test ecx, ecx
je 0x52f87b
cmp dword [0x1016c504], 0
je 0x52f87b
mov eax, dword [ecx + 0x28]
test eax, eax
jg 0x52f87b
inc eax
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
movss xmm0, dword [edi + 0x10c]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x98]
sub eax, ecx
movss dword [esp], xmm0
push 0
push eax
mov eax, dword [esp + 0xa4]
sub eax, edx
push eax
push ecx
mov ecx, dword [edi + 0xd8]
call fcn.00512b11
add esp, 0x14
jmp 0x52f8f6
push ecx
push dword [eax + 0x1c]
call dword [esp + 0x44]
mov eax, dword [edi + 0xd8]
push 0
push dword [edi + 0xb8]
push dword [eax + 0x20]
call dword [0x1016d20c]
push dword [0x1016c49c]
mov eax, dword [edi + 0xd8]
push dword [edi + 0xb8]
push dword [eax + 0x1c]
call dword [esp + 0x54]
mov eax, dword [edi + 0xd8]
push eax
push dword [eax + 0x14]
push dword [eax + 0x20]
push dword [eax + 0x1c]
mov eax, dword [edi + 0x44]
push 0x3f0
push edi
call eax
cmp dword [0x1016c504], 0
je 0x52f96c
mov ecx, dword [edi + 0xd8]
call fcn.00512371
mov ecx, dword [edi + 0xd8]
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x52f96c
cmp dword [0x1016c504], 0
je 0x52f96c
mov eax, dword [ecx + 0x28]
cmp eax, 1
jl 0x52f96c
dec eax
mov dword [ecx + 0x28], eax
call fcn.00512371
mov ecx, dword [esp + 0x90]
push 0
push 0
mov eax, dword [ecx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x1016c4f8], eax
push 0
push 0
push 0
push 0
push dword [edi + 0xb4]
call dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push dword [edi + 0xb8]
call dword [esp + 0x2c]
mov dword [edi + 0xc4], 0
mov byte [edi + 0xe1], 0
cmp dword [edi + 0x64], 0
je 0x52fa32
mov eax, dword [edi + 0xd8]
push eax
push dword [eax + 0x14]
push dword [eax + 0x1c]
mov eax, dword [edi + 0x44]
push dword [esi + 0x1c]
push 0x3f1
push edi
call eax
test eax, eax
jne 0x52fa32
mov eax, dword [edi + 0x64]
cmp eax, 0x100
jge 0x52fa0c
cmp dword [esp + 0x28], 0x100
jge 0x52fa0c
mov byte [esp + 0x22], al
push dword [esp + 0x20]
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x50]
mov eax, dword [edi + 0xd8]
push ecx
push edx
push 0
push 0
push dword [eax + 0x1c]
push ecx
push edx
push 0
push 0
push dword [esi + 0x1c]
call dword [0x1016d1e8]
jmp 0x52fa32
mov eax, dword [edi + 0xd8]
push 0xcc0020
push 0
push 0
push dword [eax + 0x1c]
push dword [edi + 0x54]
push dword [edi + 0x50]
push 0
push 0
push dword [esi + 0x1c]
call dword [esp + 0x94]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x52fe5f
nop dword [eax]
cmp dword [esi + 0x2c], 1
jle 0x52fe5f
cmp byte [esi + 0xd4], 0
je 0x52fe54
cmp dword [esi + 0x94], 0
jle 0x52fe54
cmp dword [esi + 0x98], 0
jle 0x52fe54
mov eax, dword [esi + 0xd8]
cmp dword [eax + 0x14], 0
je 0x52fe54
cmp dword [esi + 0xc4], 0
je 0x52fc94
cmp byte [esi + 0xe1], 0
jne 0x52fc94
cmp dword [esi + 0xe4], 0
mov byte [esi + 0xe1], 1
jne 0x52fbe9
cmp dword [0x1016c504], 0
mov ecx, dword [esi + 0xb8]
je 0x52fbb1
lea eax, [esp + 0x90]
xorps xmm0, xmm0
push eax
push ecx
movaps xmmword [esp + 0x98], xmm0
call dword [esp + 0x68]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [0x1016c3e0]
call dword [esp + 0x2c]
mov eax, dword [esi + 0xd8]
push dword [0x1016c3e0]
push dword [eax + 0x1c]
call dword [esp + 0x44]
mov eax, dword [esi + 0xd8]
push 0
push dword [0x1016c3e0]
push dword [eax + 0x20]
call dword [0x1016d20c]
push dword [0x1016c49c]
mov eax, dword [esi + 0xd8]
push dword [0x1016c3e0]
push dword [eax + 0x1c]
call dword [esp + 0x54]
mov ecx, dword [esi + 0xd8]
test ecx, ecx
je 0x52fb6e
cmp dword [0x1016c504], 0
je 0x52fb6e
mov eax, dword [ecx + 0x28]
test eax, eax
jg 0x52fb6e
inc eax
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
movss xmm0, dword [edi + 0x10c]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x98]
sub eax, ecx
movss dword [esp], xmm0
push 0
push eax
mov eax, dword [esp + 0xa4]
sub eax, edx
push eax
push ecx
mov ecx, dword [esi + 0xd8]
call fcn.00512b11
add esp, 0x14
jmp 0x52fbe9
push ecx
push dword [eax + 0x1c]
call dword [esp + 0x44]
mov eax, dword [esi + 0xd8]
push 0
push dword [esi + 0xb8]
push dword [eax + 0x20]
call dword [0x1016d20c]
push dword [0x1016c49c]
mov eax, dword [esi + 0xd8]
push dword [esi + 0xb8]
push dword [eax + 0x1c]
call dword [esp + 0x54]
mov eax, dword [esi + 0xd8]
push eax
push dword [eax + 0x14]
push dword [eax + 0x20]
push dword [eax + 0x1c]
mov eax, dword [esi + 0x44]
push 0x3f0
push esi
call eax
push 0
push 0
push 0
push 0
push dword [esi + 0xb4]
call dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push dword [esi + 0xb8]
call dword [esp + 0x2c]
cmp dword [0x1016c504], 0
je 0x52fc83
mov ecx, dword [esi + 0xd8]
call fcn.00512371
mov ecx, dword [esi + 0xd8]
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x52fc83
cmp dword [0x1016c504], 0
je 0x52fc83
mov eax, dword [ecx + 0x28]
cmp eax, 1
jl 0x52fc83
dec eax
mov dword [ecx + 0x28], eax
call fcn.00512371
mov ecx, dword [esp + 0x90]
push 0
push 0
mov eax, dword [ecx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x1016c4f8], eax
mov dword [esi + 0xc4], 0
mov byte [esi + 0xe1], 0
cmp byte [0x1016c3a7], 0
lea eax, [esi + 0x84]
je 0x52fcbe
push dword [0x1016c3c0]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x1c]
call dword [esp + 0x80]
lea eax, [esi + 0x84]
cmp dword [esi + 0xdc], 0
mov ecx, dword [esi + 0x64]
je 0x52fda9
test ecx, ecx
je 0x52fd9a
mov eax, dword [esi + 0xd8]
push eax
push dword [eax + 0x14]
push dword [eax + 0x1c]
mov eax, dword [esp + 0x20]
push dword [eax + 0x1c]
mov eax, dword [esi + 0x44]
push 0x3f1
push esi
call eax
test eax, eax
jne 0x52fd9a
mov eax, dword [esi + 0x64]
cmp eax, 0x100
jge 0x52fd59
mov byte [esp + 0x22], al
push dword [esp + 0x20]
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0xd8]
push ecx
push edx
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [eax + 0x1c]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [eax + 0x1c]
call dword [0x1016d1e8]
mov dword [esi + 0xdc], 0
jmp 0x52fe54
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0xd8]
push 0xcc0020
push ecx
push edx
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [eax + 0x1c]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [eax + 0x1c]
call dword [esp + 0x94]
mov dword [esi + 0xdc], 0
jmp 0x52fe54
test ecx, ecx
je 0x52fe54
push eax
push dword [0x1016c4ac]
call dword [esp + 0x6c]
test eax, eax
je 0x52fe54
mov eax, dword [esi + 0x64]
cmp eax, 0x100
jge 0x52fe13
mov byte [esp + 0x22], al
push dword [esp + 0x20]
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0xd8]
push ecx
push edx
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [eax + 0x1c]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [eax + 0x1c]
call dword [0x1016d1e8]
jmp 0x52fe54
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0xd8]
push 0xcc0020
push ecx
push edx
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [eax + 0x1c]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [eax + 0x1c]
call dword [esp + 0x94]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x52fa41
mov eax, dword [esp + 0x14]
push 0
push dword [eax + 0x1c]
call dword [esp + 0x44]
push 0x1014e6f8
push dword [edi + 0x28]
call dword [esp + 0x54]
mov ecx, dword [edi + 0x28]
test eax, eax
jne 0x52fef7
push 0x1014e718
push ecx
call dword [esp + 0x54]
test eax, eax
jne 0x52ff06
mov eax, dword [esp + 0x28]
cmp eax, 0xff
jle 0x52feaf
mov eax, dword [edi + 0x28]
push 0x83
push dword [0x1016c4ac]
push 0
push eax
call dword [esp + 0x7c]
jmp 0x52ff06
mov byte [esp + 0x22], al
mov eax, dword [edi + 0x50]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x54]
push 2
mov dword [esp + 0x88], eax
lea eax, [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x1c]
lea eax, [esp + 0x94]
push eax
push 0
push 0
push dword [edi + 0x28]
call dword [esp + 0x9c]
jmp 0x52ff06
push 1
push 0x1014e740
push ecx
call dword [esp + 0x88]
test esi, esi
je 0x52ff2e
push 0
push 0
push 0
push 0
push dword [0x1016c4ac]
call dword [esp + 0x2c]
mov dword [esp + 0x5c], 0
mov byte [esp + 0x13], 0
jmp 0x52ee48
mov byte [0x1016c3a6], 0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.0060c402
mov esp, ebp
pop ebp
ret