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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x533840]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
add eax, 0xfffce9e2
mov dword [ebp - 4], 1
mov ebx, 1
cmp eax, 0xb3
ja 0x412ae3
lea eax, [ebp - 0x10]
push eax
call fcn.00415dc0
mov edi, dword [ebp + 0xc]
movss xmm0, dword [eax + 0x270]
ucomiss xmm0, dword [0x52d4d8]
lahf
xor esi, esi
test ah, 0x44
cmovnp esi, ebx
mov ebx, edi
shr ebx, 1
mov eax, ebx
and eax, 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00415dc0
xor ecx, ecx
cmp dword [eax + 0x260], ecx
movzx eax, byte [ebp + 8]
setne cl
push ecx
push esi
push eax
push dword [ebp - 0x10]
push str._d_Ground_Possibilities:__d__d__d__IN_JUMP:_d_n
call fcn.00402020
add esp, 0x18
jmp 0x412aea
mov edi, dword [ebp + 0xc]
mov ebx, edi
shr ebx, 1
mov esi, dword [0x59ad68]
test esi, esi
jne 0x412be9
push 0xa0
call fcn.004c45ce
mov esi, eax
mov dword [ebp - 0x18], esi
push 0xa0
push 0
push esi
call fcn.004c62a0
mov dword [esi], 0
add esp, 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov word [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 4
call fcn.00417400
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.00417400
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov byte [ebp - 4], 1
mov eax, dword [0x59ad68]
mov dword [0x59ad68], esi
test eax, eax
je 0x412be9
push eax
call fcn.00416cc0
mov esi, dword [0x59ad68]
shl dword [esi + 4], 1
mov eax, dword [0x59ad68]
shl dword [eax], 1
mov eax, dword [0x59ad68]
shl dword [eax + 8], 1
mov eax, dword [0x59ad68]
shl dword [eax + 0xc], 1
mov edx, dword [0x59ad68]
mov ecx, dword [edx + 4]
mov eax, ecx
and eax, 0xfffffffe
or ecx, 1
test bl, 1
cmove ecx, eax
mov dword [edx + 4], ecx
mov ecx, edi
mov esi, dword [0x59ad68]
shr ecx, 2
mov edx, dword [esi]
mov eax, edx
and eax, 0xfffffffe
or edx, 1
test cl, 1
cmove edx, eax
xor edi, edi
mov dword [esi], edx
mov esi, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x2c]
mov eax, dword [0x59ad68]
cmp ecx, esi
je 0x412c91
nop dword [eax + eax]
mov edx, dword [ecx]
test edx, edx
jle 0x412c5b
inc dword [eax + 0x24]
jmp 0x412c84
jns 0x412c8a
dec dword [eax + 0x24]
mov eax, dword [0x59ad68]
cmp dword [eax + 0x24], 0
jge 0x412c77
mov dword [eax + 0x24], 0
mov eax, dword [0x59ad68]
cmp dword [eax + 0x24], 1
jle 0x412c89
mov dword [eax + 0x24], 0
mov eax, dword [0x59ad68]
inc edi
add ecx, 4
cmp ecx, esi
jne 0x412c50
mov ebx, dword [ebp + 0x24]
xor esi, esi
mov ecx, dword [ebp + 0x20]
cmp ecx, ebx
je 0x412ce1
nop dword [eax]
mov edx, dword [ecx]
test edx, edx
jle 0x412cab
inc dword [eax + 0x28]
jmp 0x412cd4
jns 0x412cda
dec dword [eax + 0x28]
mov eax, dword [0x59ad68]
cmp dword [eax + 0x28], 0
jge 0x412cc7
mov dword [eax + 0x28], 0
mov eax, dword [0x59ad68]
cmp dword [eax + 0x28], 1
jle 0x412cd9
mov dword [eax + 0x28], 0
mov eax, dword [0x59ad68]
inc esi
add ecx, 4
cmp ecx, ebx
jne 0x412ca0
mov edx, dword [eax + 0xc]
mov ecx, edx
or edx, 1
and ecx, 0xfffffffe
cmp byte [eax + 0x2d], 0
cmove edx, ecx
mov dword [eax + 0xc], edx
mov eax, dword [0x59ad68]
mov edx, dword [eax + 8]
mov ecx, edx
and ecx, 0xfffffffe
or edx, 1
cmp byte [eax + 0x2c], 0
cmove edx, ecx
mov dword [eax + 8], edx
mov eax, dword [0x59ad68]
cmp dword [eax + 0x28], 0
jne 0x412d24
cmp esi, 2
je 0x412d24
xor cl, cl
jmp 0x412d26
mov cl, 1
mov byte [eax + 0x2d], cl
mov eax, dword [0x59ad68]
cmp dword [eax + 0x24], 0
jne 0x412d3d
cmp edi, 2
je 0x412d3d
xor cl, cl
jmp 0x412d3f
mov cl, 1
mov byte [eax + 0x2c], cl
mov edx, dword [0x59a860]
mov ecx, dword [0x59a85c]
test dl, 1
jne 0x412d73
mov eax, dword [0x59a864]
add eax, 2
shr eax, 1
cmp ecx, eax
ja 0x412d73
push ecx
call fcn.004187a0
mov edx, dword [0x59a860]
mov ecx, dword [0x59a85c]
lea eax, [ecx + ecx]
lea esi, [eax - 1]
and esi, edx
lea edi, [ecx - 1]
mov edx, dword [0x59a858]
mov dword [0x59a860], esi
cmove esi, eax
dec esi
mov ebx, esi
shr ebx, 1
and edi, ebx
cmp dword [edx + edi*4], 0
jne 0x412db9
push 0x10
call fcn.004c45ce
mov ecx, dword [0x59a858]
add esp, 4
mov dword [ecx + edi*4], eax
mov ecx, dword [0x59a85c]
mov edx, dword [0x59a858]
movss xmm0, dword [ebp + 0x1c]
lea eax, [ecx - 1]
and eax, ebx
mov ecx, esi
and ecx, 1
cvtps2pd xmm0, xmm0
mov eax, dword [edx + eax*4]
movsd qword [eax + ecx*8], xmm0
mov eax, 1
inc dword [0x59a864]
mov edx, dword [0x59a874]
mov ecx, dword [0x59a870]
mov dword [0x59a860], esi
mov esi, dword [ebp + 0xc]
and esi, 0x200
neg esi
sbb esi, esi
test dword [ebp + 0xc], 0x400
cmovne esi, eax
test dl, 3
jne 0x412e2d
mov eax, dword [0x59a878]
add eax, 4
shr eax, 2
cmp ecx, eax
ja 0x412e2d
push ecx
call fcn.004185d0
mov edx, dword [0x59a874]
mov ecx, dword [0x59a870]
lea eax, [ecx*4]
lea edi, [eax - 1]
and edi, edx
lea ebx, [ecx - 1]
mov edx, dword [0x59a86c]
mov dword [0x59a874], edi
cmove edi, eax
dec edi
mov eax, edi
shr eax, 2
and ebx, eax
mov dword [ebp + 0x1c], eax
cmp dword [edx + ebx*4], 0
jne 0x412e7b
push 0x10
call fcn.004c45ce
mov ecx, dword [0x59a86c]
add esp, 4
mov dword [ecx + ebx*4], eax
mov ecx, dword [0x59a870]
mov edx, dword [0x59a86c]
lea eax, [ecx - 1]
mov ecx, edi
and eax, dword [ebp + 0x1c]
and ecx, 3
mov eax, dword [edx + eax*4]
mov dword [eax + ecx*4], esi
mov eax, dword [0x59a878]
mov ecx, dword [0x59a864]
inc eax
mov dword [0x59a874], edi
mov dword [0x59a878], eax
cmp ecx, 0x20
jbe 0x412ecc
nop dword [eax + eax]
add ecx, 0xffffffff
mov dword [0x59a864], ecx
je 0x412ec2
cmp ecx, 0x20
ja 0x412eb0
jmp 0x412ecc
mov dword [0x59a860], 0
cmp eax, 0x20
jbe 0x412eec
add eax, 0xffffffff
mov dword [0x59a878], eax
je 0x412ee2
cmp eax, 0x20
ja 0x412ed1
jmp 0x412eec
mov dword [0x59a874], 0
mov eax, dword [0x59ad68]
or edi, 0xffffffff
cmp dword [eax + 0x10], 0
je 0x4132ac
cmp dword [eax + 0x18], 0xf
je 0x412f2b
lea eax, [ebp - 0x10]
push eax
call fcn.00415dc0
movss xmm0, dword [eax + 0x270]
ucomiss xmm0, dword [0x52d4d8]
lahf
test ah, 0x44
jp 0x4132ac
mov eax, dword [0x59ad68]
mov ecx, dword [eax + 0x18]
cmp ecx, 0xf
je 0x412f84
mov edx, 0xf
mov ebx, eax
mov esi, edx
sub esi, ecx
mov ecx, esi
shr ecx, 5
test ecx, ecx
je 0x412f50
xor eax, eax
mov dword [ebx], eax
mov eax, dword [0x59ad68]
and esi, 0x1f
je 0x412f5e
mov ecx, esi
shl dword [ebx], cl
mov eax, dword [0x59ad68]
sub edx, dword [eax + 0x18]
lea esi, [eax + 4]
mov ecx, edx
shr ecx, 5
test ecx, ecx
je 0x412f76
xor eax, eax
mov dword [esi], eax
mov eax, dword [0x59ad68]
and edx, 0x1f
je 0x412f84
mov ecx, edx
shl dword [esi], cl
mov eax, dword [0x59ad68]
cmp dword [eax + 0x70], 0
lea ecx, [eax + 0x70]
je 0x413105
push dword [eax + 0xc]
push dword [eax + 4]
call fcn.00412210
mov eax, dword [0x59ad68]
add esp, 8
mov ecx, dword [eax + 0x70]
lea esi, [eax + 0x70]
mov ecx, dword [ecx]
mov dword [ebp + 0x1c], ecx
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [eax + 0x80]
call fcn.00415fa0
mov edx, eax
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x412ff0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x412fe0
lock inc dword [eax + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
add dword [edx + 4], 8
jmp 0x412ff9
push esi
push ecx
mov ecx, edx
call fcn.0041a7f0
mov eax, dword [0x59ad68]
mov ecx, dword [eax + 0x70]
lea esi, [eax + 0x70]
cmp byte [ecx + 4], 0
je 0x41305b
mov ecx, dword [ecx]
mov dword [ebp + 0x1c], ecx
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [eax + 0x78]
call fcn.00415fa0
mov edx, eax
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x41304d
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41303d
lock inc dword [eax + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
add dword [edx + 4], 8
jmp 0x413056
push esi
push ecx
mov ecx, edx
call fcn.0041a7f0
mov eax, dword [0x59ad68]
mov ecx, dword [eax + 0x8c]
lea edx, [eax + 0x88]
lea esi, [eax + 0x70]
cmp ecx, dword [edx + 8]
je 0x413097
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x413087
lock inc dword [eax + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
add dword [edx + 4], 8
jmp 0x4130a0
push esi
push ecx
mov ecx, edx
call fcn.0041a7f0
mov eax, dword [0x59ad68]
mov ecx, dword [eax + 0x98]
lea edx, [eax + 0x94]
lea esi, [eax + 0x70]
cmp ecx, dword [edx + 8]
je 0x4130e1
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4130d1
lock inc dword [eax + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
add dword [edx + 4], 8
jmp 0x4130ea
push esi
push ecx
mov ecx, edx
call fcn.0041a7f0
mov eax, dword [0x59ad68]
mov esi, dword [eax + 0x74]
mov dword [eax + 0x70], 0
mov dword [eax + 0x74], 0
jmp 0x41327d
cmp dword [eax + 0x4c], 0
lea ecx, [eax + 0x4c]
je 0x4132a5
push dword [eax + 8]
push dword [eax]
call fcn.00412210
mov eax, dword [0x59ad68]
add esp, 8
mov ecx, dword [eax + 0x4c]
lea esi, [eax + 0x4c]
mov ecx, dword [ecx]
mov dword [ebp + 0x1c], ecx
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [eax + 0x5c]
call fcn.00415fa0
mov edx, eax
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x41316d
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41315d
lock inc dword [eax + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
add dword [edx + 4], 8
jmp 0x413176
push esi
push ecx
mov ecx, edx
call fcn.0041a7f0
mov eax, dword [0x59ad68]
mov ecx, dword [eax + 0x4c]
lea esi, [eax + 0x4c]
cmp byte [ecx + 4], 0
je 0x4131d8
mov ecx, dword [ecx]
mov dword [ebp + 0x1c], ecx
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [eax + 0x54]
call fcn.00415fa0
mov edx, eax
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x4131ca
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4131ba
lock inc dword [eax + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
add dword [edx + 4], 8
jmp 0x4131d3
push esi
push ecx
mov ecx, edx
call fcn.0041a7f0
mov eax, dword [0x59ad68]
mov ecx, dword [eax + 0x8c]
lea edx, [eax + 0x88]
lea esi, [eax + 0x4c]
cmp ecx, dword [edx + 8]
je 0x413214
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x413204
lock inc dword [eax + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
add dword [edx + 4], 8
jmp 0x41321d
push esi
push ecx
mov ecx, edx
call fcn.0041a7f0
mov eax, dword [0x59ad68]
mov ecx, dword [eax + 0x98]
lea edx, [eax + 0x94]
lea esi, [eax + 0x4c]
cmp ecx, dword [edx + 8]
je 0x41325e
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41324e
lock inc dword [eax + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
add dword [edx + 4], 8
jmp 0x413267
push esi
push ecx
mov ecx, edx
call fcn.0041a7f0
mov eax, dword [0x59ad68]
mov esi, dword [eax + 0x50]
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
test esi, esi
je 0x4132a0
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4132a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4132a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [0x59ad68]
mov dword [eax + 0x10], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00415dc0
movss xmm0, dword [eax + 0x270]
ucomiss xmm0, dword [0x52d4d8]
lahf
test ah, 0x44
mov eax, dword [0x59ad68]
jp 0x413339
inc dword [eax + 0x1c]
mov eax, dword [0x59ad68]
mov dword [eax + 0x18], 0
mov eax, dword [0x59ad68]
cmp dword [eax + 0x1c], 8
jge 0x41361c
mov ecx, dword [ebp + 0xc]
shr ecx, 2
and cl, 1
mov byte [ebp + 0xf], cl
lea ecx, [ebp + 0xf]
push ecx
lea ecx, [eax + 0x30]
call fcn.00415f40
mov ecx, dword [0x59ad68]
add ecx, 0x40
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x41332a
movss xmm0, dword [ebp + 0x14]
movss dword [eax], xmm0
add eax, 4
mov dword [ecx + 4], eax
jmp 0x41361c
lea edx, [ebp + 0x14]
push edx
push eax
call fcn.0041a690
jmp 0x41361c
inc dword [eax + 0x18]
mov eax, dword [0x59ad68]
mov ebx, dword [eax + 0x1c]
test ebx, ebx
je 0x4135d4
cmp ebx, 8
jge 0x4135d4
mov ecx, dword [ebp + 0x10]
not ecx
and ecx, dword [ebp + 0xc]
test cl, 2
je 0x413492
lea ecx, [ebp - 0x1c]
mov dword [eax + 0x10], ebx
call fcn.004174d0
mov esi, dword [0x59ad68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ebx, dword [esi + 0x74]
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], edx
test ebx, ebx
je 0x4133b5
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4133b5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x4133b5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4133da
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4133da
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4133da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [0x59ad68]
movss xmm0, dword [ebp + 0x14]
cvtps2pd xmm0, xmm0
mov eax, dword [eax + 0x70]
mov dword [eax + 0x30], 1
mov eax, dword [0x59ad68]
mov eax, dword [eax + 0x70]
movsd qword [eax + 8], xmm0
mov eax, dword [0x59ad68]
mov ecx, dword [eax + 0x70]
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x28], eax
mov eax, dword [0x59ad68]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x70]
mov dword [eax + 0x2c], ecx
mov eax, dword [0x59ad68]
cmp byte [eax + 0x20], 0
je 0x413458
mov ecx, dword [eax + 0x1c]
mov ebx, 1
mov esi, dword [eax + 0x30]
dec ecx
mov eax, dword [eax + 0x70]
mov edx, ecx
shr edx, 5
and ecx, 0x1f
shl ebx, cl
test dword [esi + edx*4], ebx
je 0x41344c
mov dword [eax + 0x34], 2
jmp 0x413453
mov dword [eax + 0x34], 1
mov eax, dword [0x59ad68]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x40]
movss xmm1, dword [0x52d8ac]
comiss xmm1, dword [edx + ecx*4 - 4]
jbe 0x413488
cmp dword [eax + 0x10], 1
je 0x41347e
movss xmm0, dword [edx + ecx*4 - 8]
comiss xmm0, xmm1
jbe 0x413488
mov cl, 1
mov byte [eax + 0x14], cl
jmp 0x4135cf
xor cl, cl
mov byte [eax + 0x14], cl
jmp 0x4135cf
cmp ebx, 1
jle 0x4135d4
lea ecx, [ebx - 2]
mov edx, 1
mov esi, ecx
and ecx, 0x1f
shl edx, cl
mov ecx, dword [eax + 0x30]
shr esi, 5
test dword [ecx + esi*4], edx
jne 0x4135d4
lea ecx, [ebx - 1]
mov esi, 1
mov edx, ecx
and ecx, 0x1f
shl esi, cl
mov ecx, dword [eax + 0x30]
shr edx, 5
test dword [ecx + edx*4], esi
je 0x4135d4
lea ecx, [ebp - 0x1c]
mov dword [eax + 0x10], ebx
call fcn.004174d0
mov esi, dword [0x59ad68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ebx, dword [esi + 0x50]
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], edx
test ebx, ebx
je 0x413526
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x413526
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x413526
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x41354b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41354b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41354b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [0x59ad68]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x28], eax
mov eax, dword [0x59ad68]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x2c], ecx
mov eax, dword [0x59ad68]
cmp byte [eax + 0x20], 0
je 0x413581
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x34], 1
mov eax, dword [0x59ad68]
mov eax, dword [eax + 0x4c]
movss xmm0, dword [ebp + 0x14]
cvtps2pd xmm0, xmm0
mov dword [eax + 0x30], 2
mov eax, dword [0x59ad68]
mov eax, dword [eax + 0x4c]
movsd qword [eax + 8], xmm0
mov eax, dword [0x59ad68]
mov ecx, dword [eax + 0x4c]
mov ecx, dword [ecx + 0x34]
cmp ecx, 1
jne 0x4135bb
cmp dword [eax + 0x1c], 3
jne 0x4135cb
mov byte [eax + 0x14], cl
jmp 0x4135cf
test ecx, ecx
jne 0x4135cb
cmp dword [eax + 0x1c], 2
jne 0x4135cb
mov byte [eax + 0x14], 1
jmp 0x4135cf
mov byte [eax + 0x14], 0
mov eax, dword [0x59ad68]
mov ecx, dword [eax + 0x40]
cmp ecx, dword [eax + 0x44]
je 0x4135e4
mov dword [eax + 0x44], ecx
mov eax, dword [0x59ad68]
mov ecx, dword [eax + 0x30]
cmp ecx, dword [eax + 0x34]
je 0x4135ef
mov dword [eax + 0x34], ecx
mov dword [eax + 0x3c], 0
mov eax, dword [0x59ad68]
mov dword [eax + 0x1c], 0
lea eax, [ebp - 0x10]
mov esi, dword [0x59ad68]
push eax
call fcn.00415dc0
mov eax, dword [eax + 0x5c]
shr eax, 0xe
and al, 1
mov byte [esi + 0x20], al
mov edx, dword [ebp + 0x20]
test edx, edx
je 0x413664
mov ecx, dword [ebp + 0x28]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x413645
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136a9
push ecx
push edx
call fcn.004c45c0
add esp, 8
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0
mov edx, dword [ebp + 0x2c]
test edx, edx
je 0x413697
mov ecx, dword [ebp + 0x34]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41368d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136a9
push ecx
push edx
call fcn.004c45c0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004cfab7
int3