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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x104
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x101c]
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
lea edx, [eax + 0x103c]
mov ecx, dword [edx]
mov dword [esp + 4], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 8], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0xc], ecx
fld dword [esp + 0xc]
fmul dword [esp + 0x1c]
mov edx, dword [edx + 0xc]
fld dword [esp + 8]
mov ecx, dword [esp + 0x18]
fmul dword [esp + 0x20]
mov eax, dword [eax + 0xfe4]
test eax, eax
fsubp st(1)
fld dword [esp + 0x20]
mov dword [esp + 0x10], edx
fmul dword [esp + 4]
mov edx, dword [esp + 0x1c]
fld dword [esp + 0xc]
mov dword [esp + 0x74], ecx
fmul dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 4]
fsubp st(1)
fld dword [esp + 8]
mov dword [esp + 0x7c], ecx
fmul dword [esp + 0x18]
mov ecx, dword [esp + 8]
fld dword [esp + 0x1c]
push ebx
fmul dword [esp + 8]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x10]
fsubp st(1)
mov dword [esp + 0x8c], ecx
push esi
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
fxch st(1)
push edi
fstp dword [esp + 0xa0]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
fstp dword [esp + 0xa4]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xbc], 0x3f800000
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], 0
mov dword [0xf918b0], 0x3f800000
je 0x45c33b
mov ecx, dword [eax + 0x190]
test ecx, ecx
je 0x45c33b
fld dword [0xf918ac]
call fcn.00581d24
mov ecx, eax
cdq
mov esi, 0x60
idiv esi
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fcomp dword [0x5bf220]
fnstsw ax
test ah, 0x41
jne 0x45c33b
mov eax, ecx
cdq
mov ecx, 0xc
idiv ecx
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fmul dword [0x5bf048]
fadd dword [0x5bef9c]
fstp dword [0xf918b0]
xor esi, esi
lea ecx, [ecx]
mov edx, dword [esi + 0x1019024]
lea eax, [esi + 0x1019024]
and edx, 0xff
test edx, edx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
jge 0x45c364
fadd dword [0x5befa4]
movzx ecx, byte [esi + 0x1019025]
movzx edx, byte [esi + 0x1019026]
mov dword [esp + 0xc], ecx
fmul dword [0x5beff4]
movzx ecx, byte [esi + 0x1019027]
sub esp, 0x10
fmul dword [0xf918b0]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
movzx edx, byte [esi + 0x1018f6b]
fmul dword [0x5beff4]
fmul dword [0xf918b0]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [esi + 0x1018f6a]
fmul dword [0x5beff4]
fmul dword [0xf918b0]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
movzx edx, byte [esi + 0x1018f69]
fmul dword [0x5beff4]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x1018f68]
and ecx, 0xff
test ecx, ecx
fmul dword [0x5beff4]
mov dword [esp + 0x30], ecx
fsub st(1)
fmul dword [0x5bf1b4]
fadd st(1)
fstp dword [esp + 0xc]
fstp st(0)
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fmul dword [0x5beff4]
fsub st(1)
fmul dword [0x5bf1b4]
fadd st(1)
fstp dword [esp + 8]
fstp st(0)
fild dword [esp + 0x1c]
fmul dword [0x5beff4]
fsub st(1)
fmul dword [0x5bf1b4]
fadd st(1)
fstp dword [esp + 4]
fstp st(0)
fild dword [esp + 0x30]
jge 0x45c44b
fadd dword [0x5befa4]
fmul dword [0x5beff4]
fsub st(1)
fmul dword [0x5bf1b4]
fadd st(1)
fstp dword [esp]
push eax
fstp st(0)
call fcn.00459050
fld dword [esi + 0x67d4bc]
fsub dword [esi + 0x67d4b4]
fst dword [esp + 0xc]
fabs
fstp dword [esp + 0x34]
fld dword [0x5bef9c]
fld dword [esp + 0xc]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 5
jp 0x45c49b
fstp st(0)
fld dword [0x5befc8]
jmp 0x45c4b4
fld dword [esp + 0xc]
fcomp dword [0x5bef98]
fnstsw ax
test ah, 0x44
jp 0x45c4b4
fstp st(0)
fld dword [0x5bef98]
fld dword [esi + 0x67d4c4]
fld dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x45c4cd
fstp dword [esp + 0x34]
jmp 0x45c4cf
fstp st(0)
fmul dword [esp + 0x34]
add esi, 4
cmp esi, 8
fadd dword [esi + 0x67d4b0]
fstp dword [esi + 0x67d4b0]
jl 0x45c340
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xfe4]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x34], edi
je 0x45cf34
cmp dword [eax + 0x190], edi
je 0x45ca9f
mov al, byte [0x605f60]
test al, al
jne 0x45c696
mov al, byte [0xf918b8]
test al, 4
mov esi, 1
je 0x45c573
mov eax, dword [0xf918a8]
fild dword [0xf918a8]
lea edx, [eax + eax*2]
mov eax, dword [0x1018f9c]
lea ecx, [eax + edx*8]
fstp dword [esp + 0xc]
mov dword [0x1018f9c], ecx
mov ecx, dword [0x67d4dc]
mov edx, dword [ebx]
push 1
inc ecx
push 0x3dcccccd
mov dword [0x67d4dc], ecx
push edi
mov ecx, ebx
mov esi, 3
call dword [edx + 0x30]
fld dword [esp + 0xc]
mov ebx, dword [ebp + 8]
jmp 0x45c5e4
test al, 2
je 0x45c5c2
mov eax, dword [0x605f24]
fild dword [0x605f24]
mov ecx, dword [0x1018f9c]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8]
fstp dword [esp + 0xc]
mov dword [0x1018f9c], edx
mov edx, dword [0x67d4d8]
mov eax, dword [ebx]
push 1
push 0x3d4ccccd
inc edx
push edi
mov ecx, ebx
mov dword [0x67d4d8], edx
mov esi, 2
call dword [eax + 0x30]
fld dword [esp + 0xc]
mov ebx, dword [ebp + 8]
jmp 0x45c5e4
mov eax, dword [0x605f20]
fild dword [0x605f20]
mov edx, dword [0x1018f9c]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*8]
mov dword [0x1018f9c], eax
inc dword [0x67d4a8]
mov eax, dword [ebx + 0xef8]
fstp dword [esp + 0x54]
lea ecx, [eax + 1]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x1043b38]
cmp ecx, edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], esi
je 0x45c613
mov edx, dword [ecx]
lea eax, [esp + 0x48]
push eax
call dword [edx]
mov ebx, dword [ebp + 8]
mov al, byte [0xf918bc]
test al, al
mov dword [0x67d4e0], esi
jne 0x45c62b
inc dword [ebx + 0xef8]
mov ebx, dword [ebp + 8]
fild dword [ebx + 0xef8]
fmul dword [0x5bf21c]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fsin
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fmul dword [0x5bf218]
fadd dword [0x5bf214]
call fcn.00581d24
cmp esi, 1
mov dword [0x1018fac], eax
jne 0x45c68b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x4ba0], 3
je 0x45c68b
mov ecx, dword [0x1043b30]
cmp ecx, edi
mov dword [esp + 0x58], 2
je 0x45c68b
mov edx, dword [ecx]
lea eax, [esp + 0x58]
push eax
call dword [edx]
mov dword [0xf918b8], edi
jmp 0x45c895
cmp dword [0xf918b8], 4
jne 0x45c880
mov ecx, dword [0x1043a70]
cmp ecx, edi
mov esi, str.CHALLENGE_RING_SCORE_GREEN
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov byte [esp + 0x18], 0
je 0x45c6ce
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov ecx, dword [0x1043a70]
cmp ecx, edi
mov ebx, str.CHALLENGE_RING_SCORE_YELLOW
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
mov byte [esp + 0x18], 0
je 0x45c6f3
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov ecx, dword [0x1043a70]
test ecx, ecx
mov edi, str.CHALLENGE_RING_SCORE_FAIL
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
je 0x45c71c
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov ecx, dword [0x1043a70]
test ecx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 1
mov byte [esp + 0x18], 0
je 0x45c740
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov ecx, dword [0x1043a70]
test ecx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 1
mov byte [esp + 0x18], 0
je 0x45c764
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov ecx, dword [0x1043a70]
test ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 1
mov byte [esp + 0x18], 0
je 0x45c788
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov ecx, dword [0x1043a70]
test ecx, ecx
mov esi, str.CHALLENGE_RING_BIRTH
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
je 0x45c7b1
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov ecx, dword [0x1043a70]
test ecx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 1
mov byte [esp + 0x18], 0
je 0x45c7d5
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov ecx, dword [0x1043a70]
test ecx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
je 0x45c7f9
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov ecx, dword [0x1043a70]
test ecx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 1
mov byte [esp + 0x18], 1
je 0x45c817
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov eax, dword [0xf918b4]
test eax, eax
mov dword [0x67d4b4], 0
mov dword [0x67d4bc], 0x3f800000
je 0x45c842
mov ecx, dword [0x605f3c]
mov dword [0x67d4c4], ecx
jmp 0x45c84e
mov edx, dword [0x605f40]
mov dword [0x67d4c4], edx
xor edi, edi
test eax, eax
mov dword [0x67d4b8], 0
mov dword [0x67d4c0], 0x3f800000
je 0x45c874
mov eax, dword [0x605f40]
mov dword [0x67d4c8], eax
jmp 0x45c880
mov ecx, dword [0x605f3c]
mov dword [0x67d4c8], ecx
mov eax, dword [0xf918b8]
cmp eax, 4
jle 0x45c88f
mov eax, 4
inc eax
mov dword [0xf918b8], eax
fld dword [0xf918ac]
mov byte [0x605f60], 1
fadd dword [0x5bef9c]
fst dword [0xf918ac]
call fcn.00581d24
mov ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
and edx, 1
mov dword [0xf918b4], edx
xor ebx, ebx
mov esi, 0x1019074
jmp 0x45c8e0
cmp esi, 0x1019094
jge 0x45ca8d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xf20]
add ecx, 0xf20
push ebx
call dword [edx + 0x24]
mov edi, eax
test edi, edi
je 0x45ca83
mov ecx, dword [0x656178]
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov ecx, dword [eax + 0x70]
test ecx, ecx
je 0x45ca83
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xfe4]
cmp edi, eax
je 0x45ca83
lea edx, [eax + 0x60]
mov ecx, dword [edx]
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x40], ecx
add edi, 0x60
mov ecx, dword [edi]
mov dword [esp + 0x44], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x48], ecx
fld dword [esp + 0x48]
fsub dword [esp + 0x38]
mov ecx, dword [edi + 8]
mov dword [esp + 0x4c], edx
fld dword [esp + 0x4c]
fsub dword [esp + 0x3c]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x50], ecx
fld dword [esp + 0x50]
fsub dword [esp + 0x40]
add eax, 0x60
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
fstp dword [esp + 0x64]
fxch st(1)
mov dword [esp + 0x54], edx
fmul dword [0x5bf20c]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
fstp dword [esp + 0x6c]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
fmul dword [0x5bf20c]
fld dword [esp + 0x64]
mov dword [esp + 0x30], edx
fmul dword [0x5bf20c]
fstp dword [esp + 0x74]
fld dword [esp + 0x6c]
fadd dword [esp + 0x24]
fstp dword [esp + 0x100]
fadd dword [esp + 0x28]
fld dword [esp + 0x2c]
fadd dword [esp + 0x74]
fxch st(1)
fstp dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [0xf918b0]
fsin
fstp dword [esp + 0xc]
fld dword [0xf918ac]
fsin
fstp dword [esp + 0x58]
fild dword [esp + 0x34]
fadd dword [esp + 0x58]
fadd dword [esp + 0xc]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fsin
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov eax, dword [esp + 0x34]
fadd dword [0x5bef9c]
mov ecx, dword [0xf918b4]
cmp ecx, eax
fmul dword [0x5bef98]
fadd dword [esp + 0x14]
fadd dword [0x668de4]
jne 0x45ca54
mov ecx, dword [0x1018f24]
mov dword [eax*4 + 0x1018f68], ecx
jmp 0x45ca61
mov edx, dword [0x1019038]
mov dword [eax*4 + 0x1018f68], edx
mov ecx, dword [esp + 0x100]
fstp dword [esi - 4]
mov edx, dword [esp + 0x18]
inc eax
mov dword [esi - 8], ecx
mov dword [esi], edx
mov dword [esi + 4], 0
mov dword [esp + 0x34], eax
add esi, 0x10
inc ebx
cmp ebx, 3
jl 0x45c8e0
mov eax, dword [ebp + 8]
mov dword [eax + 0x4ba0], 0
jmp 0x45cf34
mov cl, byte [0x605f60]
test cl, cl
je 0x45caaf
mov dword [0xf918b8], edi
mov edx, dword [eax + 0x184]
mov eax, dword [ebx + 0xf00]
cmp edx, edi
setne cl
movzx edx, cl
lea ecx, [eax + 0x60]
mov dword [0x67d4ec], edx
mov edx, dword [ecx]
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 4]
fld dword [esp + 0x48]
add eax, 0x20
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
mov edx, dword [0xf918b4]
mov eax, edx
shl eax, 4
lea ecx, [eax + 0x101906c]
mov esi, dword [ecx]
mov dword [esp + 0x38], esi
mov esi, dword [ecx + 4]
fsub dword [esp + 0x38]
mov dword [esp + 0x3c], esi
mov esi, dword [ecx + 8]
mov dword [esp + 0x40], esi
fstp dword [esp + 0x5c]
mov ecx, dword [ecx + 0xc]
fld dword [esp + 0x4c]
mov dword [esp + 0x44], ecx
fsub dword [esp + 0x3c]
mov ecx, 0x101907c
fld dword [esp + 0x50]
sub ecx, eax
fsub dword [esp + 0x40]
mov eax, dword [ecx]
fxch st(1)
mov dword [esp + 0x6c], eax
fstp dword [esp + 0x3c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x70], eax
fst dword [esp + 0x40]
mov eax, dword [ecx + 8]
fld dword [esp + 0x3c]
mov ecx, dword [ecx + 0xc]
fld st(0)
mov dword [esp + 0x74], eax
fmul st(1)
mov byte [0x605f60], 0
fld st(2)
fmul st(3)
mov dword [esp + 0x78], ecx
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x5c]
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcomp dword [0x5bf210]
fnstsw ax
test ah, 5
jp 0x45cc40
test byte [0xf918b8], 4
jne 0x45cc40
mov ecx, dword [0x1043a70]
cmp ecx, edi
mov dword [esp + 0x10], str.CHALLENGE_RING_SCORE_GREEN
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], 1
je 0x45cbef
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov edx, dword [0xf918b4]
mov ecx, dword [0x1043a70]
mov ebx, dword [ebp + 8]
mov esi, dword [0x1043b30]
cmp esi, edi
mov dword [esp + 0x20], edi
je 0x45cc1d
mov edx, dword [esi]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [edx]
mov edx, dword [0xf918b4]
mov esi, dword [0x1043b30]
mov ecx, dword [0x1043a70]
mov ebx, dword [ebp + 8]
mov eax, dword [0xf918b8]
fld dword [0x605f34]
or eax, 4
fstp dword [edx*4 + 0x67d4c4]
mov dword [edx*4 + 0x67d4bc], edi
mov dword [0xf918b8], eax
jmp 0x45cc4c
mov esi, dword [0x1043b30]
mov ecx, dword [0x1043a70]
fld dword [esp + 0x24]
mov edi, str.CHALLENGE_RING_SCORE_FAIL
fmul dword [esp + 0x5c]
fld dword [esp + 0x2c]
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x3c]
faddp st(1)
fcomp dword [0x5bef98]
fnstsw ax
test ah, 0x41
jne 0x45cd28
fld dword [esp + 0x2c]
fld dword [esp + 0x28]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcomp dword [0x5bf03c]
fnstsw ax
test ah, 0x41
jne 0x45cd28
test byte [0xf918b8], 0x14
jne 0x45cd28
test ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], 1
je 0x45cce5
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov edx, dword [0xf918b4]
mov esi, dword [0x1043b30]
mov ecx, dword [0x1043a70]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x4ba0]
or eax, 1
mov dword [ebx + 0x4ba0], eax
fld dword [0x605f30]
mov eax, dword [0x1019010]
fstp dword [edx*4 + 0x67d4c4]
mov ebx, dword [ebp + 8]
mov dword [edx*4 + 0x1018f68], eax
mov eax, dword [0xf918b8]
or eax, 0x10
mov dword [edx*4 + 0x67d4bc], 0
mov dword [0xf918b8], eax
fld dword [esp + 0x48]
fsub dword [esp + 0x6c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x4c]
fsub dword [esp + 0x70]
fld dword [esp + 0x50]
fsub dword [esp + 0x74]
fxch st(1)
fstp dword [esp + 0x3c]
fst dword [esp + 0x40]
fld dword [esp + 0x3c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x5c]
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcomp dword [0x5bf210]
fnstsw ax
test ah, 5
jp 0x45ce26
test byte [0xf918b8], 2
jne 0x45ce26
mov eax, 1
sub eax, edx
test ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 1
je 0x45cdbd
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov edx, dword [0xf918b4]
mov esi, dword [0x1043b30]
mov ecx, dword [0x1043a70]
test esi, esi
mov dword [esp + 0x20], 1
je 0x45cde6
mov edx, dword [esi]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [edx]
mov edx, dword [0xf918b4]
mov esi, dword [0x1043b30]
mov ecx, dword [0x1043a70]
mov ebx, dword [0x1019010]
lea eax, [edx*4]
mov edi, 0x1018f6c
sub edi, eax
mov dword [edi], ebx
mov ebx, dword [ebp + 8]
mov edi, 0x67d4c0
sub edi, eax
mov dword [edi], 0
mov edi, 0x67d4c8
sub edi, eax
mov eax, dword [0x605f38]
mov dword [edi], eax
or dword [0xf918b8], 2
mov edi, str.CHALLENGE_RING_SCORE_FAIL
fld dword [esp + 0x5c]
fmul dword [esp + 0x24]
fld dword [esp + 0x2c]
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x3c]
faddp st(1)
fcomp dword [0x5bef98]
fnstsw ax
test ah, 0x41
jne 0x45cf07
fld dword [esp + 0x2c]
fld dword [esp + 0x28]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcomp dword [0x5bf03c]
fnstsw ax
test ah, 0x41
jne 0x45cf07
test byte [0xf918b8], 0x22
jne 0x45cf07
mov eax, 1
sub eax, edx
test ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 1
je 0x45cebf
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx]
mov edx, dword [0xf918b4]
mov esi, dword [0x1043b30]
mov ebx, dword [ebp + 8]
or dword [ebx + 0x4ba0], 2
mov ebx, dword [ebp + 8]
lea eax, [edx*4]
mov edx, dword [0x1019010]
mov ecx, 0x1018f6c
sub ecx, eax
mov dword [ecx], edx
mov ecx, 0x67d4c0
sub ecx, eax
mov edx, 0x67d4c8
sub edx, eax
mov eax, dword [0x605f30]
mov dword [edx], eax
mov eax, dword [0xf918b8]
or eax, 0x20
mov dword [ecx], 0
mov dword [0xf918b8], eax
cmp dword [ebx + 0x4ba0], 3
jne 0x45cf34
test esi, esi
mov dword [esp + 0x20], 2
je 0x45cf2a
mov edx, dword [esi]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [edx]
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x4ba0], 0
mov ebx, dword [0x10439d4]
xor edi, edi
mov esi, 0x1019074
fld dword [esi - 4]
mov ecx, dword [esi - 8]
mov edx, dword [esi]
mov eax, dword [edi*4 + 0x1019024]
fstp dword [esp + 0xd8]
fld dword [esi + 4]
mov dword [esp + 0xd4], ecx
fstp dword [esp + 0xe0]
fld dword [edi*4 + 0x67d4b4]
mov dword [esp + 0xdc], edx
lea ecx, [esp + 0x80]
fstp dword [esp + 0xe4]
lea edx, [esp + 0xc4]
mov dword [esp + 0xf4], 1
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], eax
call fcn.00407130
test ebx, ebx
mov eax, 1
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
je 0x45cfdf
mov edx, dword [ebx]
lea eax, [esp + 0xc4]
push eax
mov ecx, ebx
call dword [edx]
mov ebx, dword [0x10439d4]
add esi, 0x10
inc edi
cmp esi, 0x1019094
jl 0x45cf41
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4