Function at 0x409e50
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ad1b
push eax
mov dword fs:[0], esp
sub esp, 0x710
push ebx
push esi
push edi
mov esi, ecx
push 0x1cc
call fcn.0045b6b0
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 0
mov edi, eax
mov eax, 0
test edi, edi
je 0x409e9e
push 1
mov ecx, edi
call fcn.00478290
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
push eax
mov ecx, esi
mov dword [esi + 0x38], eax
call fcn.004203b0
cmp eax, 1
sbb eax, eax
neg eax
test eax, eax
je 0x409efc
push str.PodiumEventCamera_not_created._n
lea eax, [ebp - 0x104]
push eax
call fcn.004bd200
add esp, 8
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x1c]
push eax
call fcn.004936b0
mov eax, dword [esi + 0x98]
test eax, eax
je 0x40a138
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x5c], eax
mov edx, dword [0x4e2fdc]
mov eax, dword [edx + 0x5fc]
test eax, eax
je 0x40a0b0
mov eax, dword [eax + 0x3c]
fld dword [eax + 0x18bc]
fld dword [0x4d425c]
fmul st(1)
fxch st(1)
fmul dword [0x4d4260]
lea edx, [esi + 0x7c]
lea edi, [ebp - 0x1c]
fxch st(1)
fstp dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
fstp dword [ebp - 0x14]
mov eax, dword [edi]
push 0
push 0
mov dword [edx], eax
mov ebx, dword [edi + 4]
push edx
mov dword [edx + 4], ebx
mov edi, dword [edi + 8]
mov dword [edx + 8], edi
call fcn.00411160
mov dword [ebp - 0x44], 0x3ee147ae
mov dword [ebp - 0x40], 0x40600000
mov eax, 0xbe800000
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0xc0900000
mov dword [ebp - 0x34], 0x403872b0
mov dword [ebp - 0x30], 0xbe19999a
fld qword [0x4d42a8]
fsin
mov dword [ebp - 0x6c], 0xbf800000
mov dword [ebp - 0x2c], 0x4081999a
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x28], 0x4018f5c3
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x70], 0
fstp dword [ebp - 0x68]
fld qword [0x4d42a8]
fcos
mov dword [ebp - 0x58], 0
fstp dword [ebp - 0x60]
fld qword [0x4d42b0]
fsin
xor edi, edi
lea ebx, [esi + 0x60]
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
fstp dword [ebp - 0x5c]
fld qword [0x4d42b0]
fcos
fstp dword [ebp - 0x54]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20c], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jl 0x40a6cd
push str.sbike
lea eax, [ebp - 0x410]
push str._sWinner.mcf
push eax
call fcn.004bd200
add esp, 0xc
lea eax, [ebp - 0x71c]
lea ecx, [ebp - 0x410]
nop
push eax
push ecx
mov ecx, dword [0x4e2fdc]
add ecx, 0x624
call fcn.00429340
test eax, eax
je 0x40a73f
push 0x4bc
call fcn.0045b6b0
add esp, 4
mov dword [ebp - 0x108], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x40a554
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0x108]
push eax
call fcn.0044da50
jmp 0x40a556
mov eax, dword [0x4e2fdc]
mov eax, dword [eax + 0x600]
test eax, eax
je 0x40a0f2
mov eax, dword [eax + 0x3c]
fld dword [eax + 0x18bc]
fld dword [0x4d425c]
fmul st(1)
fxch st(1)
fmul dword [0x4d4260]
lea edx, [esi + 0x7c]
lea edi, [ebp - 0x1c]
fxch st(1)
fstp dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
fstp dword [ebp - 0x14]
jmp 0x409f64
mov eax, dword [0x4e2fdc]
mov eax, dword [eax + 0x604]
test eax, eax
je 0x409f7e
mov eax, dword [eax + 0x3c]
fld dword [eax + 0x18bc]
fld dword [0x4d4264]
fmul st(1)
fxch st(1)
fmul dword [0x4d4268]
lea edx, [esi + 0x7c]
lea edi, [ebp - 0x1c]
fxch st(1)
fstp dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
fstp dword [ebp - 0x14]
jmp 0x409f64
lea edx, [esi + 0x7c]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x43000000
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x42c80000
mov eax, dword [ecx]
push 0xc8
mov dword [edx], eax
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
call fcn.0045b6b0
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 1
mov edi, eax
mov eax, 0
test edi, edi
je 0x40a18e
push 1
mov ecx, edi
call fcn.00454a80
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x54]
push 0x3f800000
mov ecx, dword [ecx + 0x54]
push 0x44400000
push 0
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx]
push edx
push 0x43b40000
push 0
mov ecx, dword [esi + 0x1c]
push 0x3f800000
push 0x453b8000
push 0x4407c000
push ebx
push ecx
mov ecx, eax
call fcn.00454b60
push eax
mov ecx, esi
mov dword [esi + 0x58], eax
call fcn.004203b0
cmp eax, 1
sbb eax, eax
neg eax
test eax, eax
je 0x40a206
push str.Haze_not_created._n
lea eax, [ebp - 0x104]
push eax
call fcn.004bd200
add esp, 8
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.simple
lea eax, [ebp - 0x30c]
push 0x4dffbc
push str._s_s.trn
push eax
call fcn.004bd200
add esp, 0x10
lea eax, [ebp - 0x30c]
mov ecx, dword [0x4e2fdc]
add ecx, 0x624
push 0x4df470
push eax
call fcn.00429290
mov ebx, eax
test ebx, ebx
jne 0x40a253
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x409ee7
push 0xa08
call fcn.0045b6b0
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 2
mov edi, eax
mov eax, 0
test edi, edi
je 0x40a27e
push 1
mov ecx, edi
call fcn.0040fd10
mov edx, dword [0x4e2fdc]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edx + 0x618]
mov edx, dword [ecx + 0x160]
add ecx, 0x158
push edx
push ecx
mov edx, dword [esi + 0x30]
push 1
mov ecx, eax
push edx
push ebx
mov ebx, dword [esi + 0x1c]
push ebx
call fcn.0040fe90
push eax
mov ecx, esi
mov dword [esi + 0x3c], eax
call fcn.004203b0
cmp eax, 1
sbb eax, eax
neg eax
test eax, eax
je 0x40a2d1
push str.Terrain_not_created._n
jmp 0x409ecb
push 0x118
call fcn.0045b6b0
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 3
mov edi, eax
mov eax, 0
test edi, edi
je 0x40a306
mov eax, dword [0x4e2fdc]
mov ecx, dword [eax + 0x728]
push ecx
mov ecx, edi
call fcn.00498e30
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esi + 0x5c], eax
mov edx, dword [esi + 0x1c]
mov ebx, dword [eax]
push edx
call dword [ebx + 0x1c]
push eax
mov ecx, esi
call fcn.004203b0
mov ecx, dword [0x4e2fdc]
movsx eax, word [ecx + 0x1072]
cmp eax, 5
ja case.default.0x40a339
jmp dword [eax*4 + 0x40ad34]
mov dword [ebp - 0x108], 0
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0x48]
test ecx, ecx
jle case.default.0x40a339
xor edi, edi
mov eax, dword [esi + 0x54]
mov ebx, dword [eax + 0x4c]
add ebx, edi
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x40a410
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x40a379
add ebx, 0x68
jmp 0x40a37b
xor ebx, ebx
test eax, eax
je 0x40a387
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x20], eax
jmp 0x40a38e
mov dword [ebp - 0x20], 0
push 0xbc
call fcn.0045b6b0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x40a3b7
push 1
mov ecx, eax
call fcn.004988f0
mov dword [ebp - 0x14], eax
jmp 0x40a3be
mov dword [ebp - 0x14], 0
mov eax, dword [esi + 0x54]
push ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 0x20]
add ecx, edi
push eax
push 0
nop
mov ebx, dword [ecx + 0x34]
mov edx, dword [ecx + 0x38]
push edx
mov eax, dword [ecx + 0x30]
push ebx
mov edx, dword [ecx + 0x14]
push eax
mov ebx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push ebx
mov ecx, dword [esi + 0x1c]
push eax
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00498cc0
push eax
mov ecx, esi
call fcn.004203b0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x40a410
push ecx
mov ecx, dword [esi + 0x5c]
call fcn.00498f60
add edi, 0xa8
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
mov ecx, dword [esi + 0x54]
cmp dword [ecx + 0x48], eax
jg 0x40a35a
mov eax, dword [0x4e2fdc]
cmp eax, 0xffffffc4
jne 0x409f7e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x409ee7
mov dword [ebp - 0x108], 0
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0x48]
test ecx, ecx
jle case.default.0x40a339
xor edi, edi
mov eax, dword [esi + 0x54]
mov ebx, dword [eax + 0x4c]
add ebx, edi
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x40a523
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x40a48b
add ebx, 0x68
jmp 0x40a48d
xor ebx, ebx
test eax, eax
je 0x40a499
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x20], eax
jmp 0x40a4a0
mov dword [ebp - 0x20], 0
push 0xbc
call fcn.0045b6b0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x40a4c9
push 1
mov ecx, eax
call fcn.004988f0
mov dword [ebp - 0x14], eax
jmp 0x40a4d0
mov dword [ebp - 0x14], 0
mov eax, dword [esi + 0x54]
push ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 0x20]
add ecx, edi
push eax
mov edx, dword [ecx + 0x48]
mov ebx, dword [ecx + 0x38]
push edx
mov eax, dword [ecx + 0x34]
push ebx
mov edx, dword [ecx + 0x30]
push eax
mov ebx, dword [ecx + 0x14]
push edx
mov eax, dword [ecx + 4]
push ebx
mov ecx, dword [ecx]
push eax
mov edx, dword [esi + 0x1c]
push ecx
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00498cc0
push eax
mov ecx, esi
call fcn.004203b0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x40a523
push ecx
mov ecx, dword [esi + 0x5c]
call fcn.00498f60
add edi, 0xa8
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
mov ecx, dword [esi + 0x54]
cmp dword [ecx + 0x48], eax
jg 0x40a46c
jmp case.default.0x40a339
xor eax, eax
push 1
mov ecx, dword [ebp - 0x20c]
push ecx
mov edx, dword [0x4e2fdc]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edx + 0x2e0]
mov edx, dword [esi + 0x30]
push ecx
push edx
mov ecx, dword [esi + 0x5c]
lea edx, [ebp - 0x71c]
push ecx
push edx
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x30]
test eax, eax
je 0x40a59a
sub eax, 0x404
mov dword [ebx], eax
jmp 0x40a5a0
mov dword [ebx], 0
mov eax, dword [ebx]
test eax, eax
je 0x40a5ad
add eax, 0x404
jmp 0x40a5af
xor eax, eax
push eax
mov ecx, esi
call fcn.004203b0
mov ecx, dword [ebx]
test ecx, ecx
je 0x40a6cd
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x40a5dc
mov edx, dword [eax + 0x20]
test edx, edx
je 0x40a5dc
push 1
mov ecx, dword [ecx + 0x434]
call fcn.00447cb0
call fcn.004bd9f0
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x20]
fild dword [ebp - 0x108]
sub eax, 2
cmp eax, 1
fmul dword [0x4dfffc]
sbb eax, eax
add eax, 3
mov dword [ebp - 0x108], eax
fild dword [ebp - 0x108]
fmulp st(1)
call fcn.004bd1d8
mov ecx, dword [ebp - 0x14]
lea edx, [eax + ecx + 1]
lea eax, [ebp - 0x84]
push edx
push str.Win_d
push eax
call fcn.004bd200
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebx]
call fcn.0042e610
lea ecx, [ebp - 0x50]
mov dword [ebx + 0xc], eax
fld dword [ebp + edi - 0x44]
fadd dword [esi + 0x7c]
fstp dword [ebp - 0x50]
fld dword [ebp + edi - 0x40]
fadd dword [esi + 0x80]
fstp dword [ebp - 0x4c]
fld dword [ebp + edi - 0x3c]
fadd dword [esi + 0x84]
fstp dword [ebp - 0x48]
mov edx, dword [ebx]
push ecx
mov ecx, dword [edx + 0x434]
call fcn.004b6000
push 0
lea ecx, [ebp + edi - 0x74]
push 0x4ebd78
mov edx, dword [ebx]
push ecx
mov ecx, dword [edx + 0x434]
call fcn.004b5890
mov ecx, dword [ebx + 0xc]
push ecx
mov ecx, dword [ebx]
call fcn.00430840
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
lea ecx, [ebp - 0x618]
inc eax
push eax
push str.rider_2.2d.tga
push ecx
call fcn.004bd200
add esp, 0xc
push 0
lea ecx, [ebp - 0x618]
mov edx, dword [ebx]
push ecx
push 0
mov ecx, dword [edx + 0x434]
call fcn.004485c0
add edi, 0xc
add ebx, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, 3
add edx, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x20c]
mov eax, dword [ebp - 0x20]
add ecx, 8
inc eax
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 9
jl 0x40a027
mov eax, dword [esi + 0x98]
test eax, eax
jne 0x40a7c0
push 0x158
call fcn.0045b6b0
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 7
mov edi, eax
test edi, edi
je 0x40a759
push 1
mov ecx, edi
call fcn.004b8b00
mov ecx, eax
jmp 0x40a75b
push str.Winner.mcf_not_loaded._n
jmp 0x409ecb
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
push 0
mov eax, dword [esi + 0x3c]
sub esp, 4
mov edx, dword [0x4e2fdc]
fld dword [eax + 0x40]
fmul dword [0x4d42b8]
mov ebx, dword [edx + 0x2e0]
mov eax, dword [esi + 0x30]
push ebx
mov edx, dword [esi + 0x1c]
push 0
push eax
fstp dword [esp + 0xc]
push edx
call fcn.004b8c60
push eax
mov ecx, esi
mov dword [esi + 0x34], eax
call fcn.004203b0
cmp eax, 1
sbb eax, eax
neg eax
test eax, eax
je 0x40a7c0
push str.Stadium_not_loaded._n
jmp 0x409ecb
push str.podium.slt
lea eax, [ebp - 0x410]
push str.geometry
push 0x4df954
push eax
call fcn.004bd200
add esp, 0x10
lea eax, [ebp - 0x514]
lea ecx, [ebp - 0x410]
nop
push eax
push ecx
mov ecx, dword [0x4e2fdc]
add ecx, 0x624
call fcn.00429340
test eax, eax
je 0x409ee7
push 0xa4
call fcn.0045b6b0
mov dword [ebp - 0x14], eax
add esp, 4
mov edi, eax
mov ecx, 0
mov dword [ebp - 4], 8
test edi, edi
je 0x40a833
push 1
mov ecx, edi
call fcn.00473c10
mov ecx, eax
lea ebx, [esi + 0x7c]
push 0
mov dword [ebp - 4], 0xffffffff
push 0x3f000000
mov eax, dword [ebx + 8]
push 0x3f000000
mov edx, dword [ebx + 4]
push 0x40000000
push 0
push 0
push eax
push edx
mov eax, dword [ebx]
push eax
mov edx, dword [0x4e2fdc]
mov eax, dword [edx + 0x2e0]
lea edx, [ebp - 0x514]
push eax
push edx
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x1c]
push eax
push 0
push edx
call fcn.00473d70
push eax
mov ecx, esi
mov dword [esi + 0x50], eax
call fcn.004203b0
cmp eax, 1
sbb eax, eax
neg eax
test eax, eax
je 0x40a8a0
push str.Podium_not_loaded._n
jmp 0x409ecb
mov eax, dword [0x4e2fdc]
mov ecx, dword [eax + 0x700]
test ecx, ecx
je 0x40a9c4
mov eax, dword [esi + 0x34]
test eax, eax
je 0x40a8c9
mov eax, dword [0x4e2fdc]
mov ecx, dword [eax + 0xe2c]
test ecx, ecx
jne 0x40a8d7
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x40aa0e
push 0x1c
call fcn.0045b6b0
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 9
mov edi, eax
mov eax, 0
test edi, edi
je 0x40a8fd
mov ecx, edi
call fcn.00401b30
mov dword [ebp - 4], 0xffffffff
push 0x1e0
mov dword [esi + 0x88], eax
call fcn.0045b6b0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x40a947
mov eax, dword [esi + 0x88]
mov ecx, dword [0x4e2fdc]
push eax
nop
mov edx, dword [ecx + 0x30c]
mov ecx, dword [ebp - 0x10]
push edx
call fcn.00402080
mov dword [ebp - 0x14], eax
jmp 0x40a94e
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004203b0
push str.audio
lea eax, [ebp - 0x208]
push str._sloop_lo.wav
push eax
call fcn.004bd200
add esp, 0xc
lea eax, [ebp - 0x208]
mov ecx, dword [0x4e2fdc]
add ecx, 0x624
push 0x4df470
push eax
call fcn.00429290
mov edi, eax
test edi, edi
je 0x40a9b8
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x14]
push 0
push 0
push 1
push 0
push edi
call fcn.004022c0
push edi
call fcn.004bd0c0
add esp, 4
push 1
mov ecx, dword [ebp - 0x14]
push 0
call fcn.00402770
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x40aa0e
mov eax, dword [esi + 0xb8]
lea ecx, [esi + 0xa0]
lea edx, [esi + 0xb8]
mov dword [ecx], eax
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
lea ecx, [esi + 0xac]
mov eax, dword [esi + 0xc4]
lea edx, [esi + 0xc4]
mov dword [ecx], eax
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
fld dword [ebx]
fadd dword [esi + 0xa0]
lea edi, [esi + 0xa0]
fstp dword [edi]
fld dword [esi + 0x80]
fadd dword [esi + 0xa4]
fstp dword [esi + 0xa4]
fld dword [esi + 0x84]
fadd dword [esi + 0xa8]
fstp dword [esi + 0xa8]
fld dword [ebx]
fadd dword [esi + 0xac]
fstp dword [esi + 0xac]
fld dword [esi + 0xb0]
fadd dword [esi + 0x80]
lea ecx, [ebp - 0x1c]
fstp dword [esi + 0xb0]
fld dword [esi + 0xb4]
fadd dword [esi + 0x84]
fstp dword [esi + 0xb4]
mov eax, dword [ebx]
mov dword [ecx], eax
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
mov ebx, dword [ebx + 8]
mov dword [ecx + 8], ebx
fld dword [ebp - 0x18]
fadd dword [0x4d4258]
fstp dword [ebp - 0x18]
mov ecx, dword [esi + 0x38]
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x18]
push edx
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x50]
push 0
mov ecx, dword [esi + 0x38]
push 0
push 0
push 0
push edi
call fcn.00478dc0
mov eax, dword [0x4e2fdc]
push 0x10
mov ecx, dword [eax + 0x5f8]
test ecx, ecx
je 0x40abd4
call fcn.004bd170
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 0xb
mov ebx, eax
test ebx, ebx
je 0x40ab1c
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, ebx
mov dword [ebx + 4], 0x3f266666
mov dword [ebx + 8], 0x7f7fffff
mov dword [ebx + 0xc], 0xff7fffff
jmp 0x40ab1e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push 0x10
mov dword [esi + 0x8c], eax
call fcn.004bd170
mov dword [ebp - 0x10], eax
add esp, 4
mov dword [ebp - 4], 0xc
mov edi, eax
mov eax, 0
test edi, edi
je 0x40ab69
mov eax, dword [esi + 0xa4]
mov dword [edi], eax
mov eax, edi
mov dword [edi + 4], 0x3f266666
mov dword [edi + 8], 0x7f7fffff
mov dword [edi + 0xc], 0xff7fffff
mov dword [ebp - 4], 0xffffffff
push 0x10
mov dword [esi + 0x90], eax
call fcn.004bd170
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 0xd
mov ebx, eax
mov eax, 0
test ebx, ebx
je 0x40aca2
mov eax, dword [esi + 0xa8]
mov dword [ebx], eax
mov dword [ebx + 4], 0x3f266666
jmp 0x40ac92
call fcn.004bd170
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 0xe
mov ebx, eax
mov eax, 0
test ebx, ebx
je 0x40ac0c
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, ebx
mov dword [ebx + 4], 0x3f666666
mov dword [ebx + 8], 0x7f7fffff
mov dword [ebx + 0xc], 0xff7fffff
mov dword [ebp - 4], 0xffffffff
push 0x10
mov dword [esi + 0x8c], eax
call fcn.004bd170
mov dword [ebp - 0x10], eax
add esp, 4
mov dword [ebp - 4], 0xf
mov edi, eax
mov eax, 0
test edi, edi
je 0x40ac57
mov eax, dword [esi + 0xa4]
mov dword [edi], eax
mov eax, edi
mov dword [edi + 4], 0x3f666666
mov dword [edi + 8], 0x7f7fffff
mov dword [edi + 0xc], 0xff7fffff
mov dword [ebp - 4], 0xffffffff
push 0x10
mov dword [esi + 0x90], eax
call fcn.004bd170
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 0x10
mov ebx, eax
mov eax, 0
test ebx, ebx
je 0x40aca2
mov eax, dword [esi + 0xa8]
mov dword [ebx], eax
mov dword [ebx + 4], 0x3f666666
mov dword [ebx + 8], 0x7f7fffff
mov dword [ebx + 0xc], 0xff7fffff
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x94], eax
mov eax, 1
mov dword [esi + 0x40], 0
jmp 0x409ee9