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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0xb50f81
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xb51b52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0068efc4
test al, al
je 0xb51af3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [0xb20280]
call fcn.00b2e194
mov dword [ebp - 0x30], eax
mov dl, 1
mov eax, dword [0xae85ec]
call fcn.00ae8648
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
call fcn.0071159c
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x44]
call fcn.0071159c
call fcn.0040d358
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x14]
call fcn.007119b4
call fcn.0040d384
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x18]
call fcn.00711a5c
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
call fcn.0071159c
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
jne 0xb5105b
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x10]
call fcn.007114c4
jmp 0xb5106c
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x10]
call fcn.0071159c
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x1c]
call fcn.00711700
push 0
push 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x28]
call fcn.007117e0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x4c]
xor edx, edx
call fcn.0071187c
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x84]
xor edx, edx
call fcn.0071187c
mov edx, dword [ebp - 0xc]
mov dl, byte [edx + 0x60]
xor dl, 1
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x34]
call fcn.0071187c
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x34]
call fcn.00711844
test al, al
je 0xb510de
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xac]
xor edx, edx
call fcn.0071159c
jmp 0xb510f1
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xac]
mov edx, 1
call fcn.0071159c
mov eax, dword [ebp - 0xc]
fld qword [eax + 0x20]
fmul dword [0xb51b64]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x2c]
call fcn.007117e0
mov eax, dword [ebp - 0x44]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [0xb20280]
call fcn.00b2e114
fistp qword [ebp - 0x18]
wait
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
fild qword [ebp - 0x18]
fcomp dword [0xb51b68]
fnstsw ax
sahf
je 0xb511b9
mov eax, dword [ebp - 0xc]
fld qword [eax + 0x20]
fmul dword [0xb51b64]
fild qword [ebp - 0x18]
fsubp st(1)
fistp qword [ebp - 0x20]
wait
xor eax, eax
push ebp
push 0xb511a7
push dword fs:[eax]
mov dword fs:[eax], esp
fild qword [ebp - 0x20]
fmul dword [0xb51b6c]
fild qword [ebp - 0x18]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
mov edx, 2
mov eax, dword [0x6f00bc]
call fcn.006f01f8
fmul dword [0xb51b64]
fistp qword [ebp - 0x28]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb511b9
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x20]
call fcn.007117e0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x24]
call fcn.007117e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c0], 0
je 0xb511f7
mov edx, dword [ebp - 0xc]
add edx, 0x28
mov eax, dword [0x6f00bc]
call fcn.006f0598
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x28]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x38]
call fcn.00711700
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x2c]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x40]
call fcn.00711700
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa8], 0
jne 0xb51235
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xb4]
call fcn.007114c4
jmp 0xb5124c
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0xa8]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xb4]
call fcn.00711700
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x2c], 0
jne 0xb51265
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xb0]
call fcn.007114c4
jmp 0xb51279
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x2c]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xb0]
call fcn.00711700
mov eax, dword [ebp - 0xc]
push dword [eax + 0x54]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x50]
call fcn.007117e0
mov eax, dword [ebp - 0xc]
push dword [eax + 0x44]
push dword [eax + 0x40]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x54]
call fcn.007117e0
mov eax, dword [ebp - 0xc]
push dword [eax + 0x4c]
push dword [eax + 0x48]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x58]
call fcn.007117e0
mov eax, dword [ebp - 0xc]
push dword [eax + 0x5c]
push dword [eax + 0x58]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x5c]
call fcn.007117e0
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x98]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x9c]
call fcn.0071159c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c1], 0
je 0xb512f3
push ebp
call fcn.00b50c8c
pop ecx
xor eax, eax
push ebp
push 0xb5132a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [0xb20280]
call fcn.00b2e1dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb51334
fild qword [ebp - 0x20]
fcomp dword [0xb51b68]
fnstsw ax
sahf
je 0xb513b3
xor eax, eax
push ebp
push 0xb513a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x44]
push eax
fild qword [ebp - 0x28]
fdiv dword [0xb51b64]
fabs
fmul dword [0xb51b64]
add esp, 0xfffffff8
fistp qword [esp]
wait
fild qword [ebp - 0x20]
fdiv dword [0xb51b64]
fabs
fmul dword [0xb51b64]
add esp, 0xfffffff8
fistp qword [esp]
wait
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [0xb20280]
call fcn.00b2e23c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb513b3
mov eax, dword [ebp - 0xc]
push dword [eax + 0x74]
push dword [eax + 0x70]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x88]
call fcn.007117e0
mov eax, dword [ebp - 0xc]
push dword [eax + 0x7c]
push dword [eax + 0x78]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x8c]
call fcn.007117e0
mov eax, dword [ebp - 0xc]
push dword [eax + 0x84]
push dword [eax + 0x80]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x90]
call fcn.007117e0
mov eax, dword [ebp - 0xc]
push dword [eax + 0x8c]
push dword [eax + 0x88]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x94]
call fcn.007117e0
mov eax, dword [ebp - 0xc]
push dword [eax + 0x94]
push dword [eax + 0x90]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x98]
call fcn.007117e0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x9c], 0
je 0xb5145d
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x9c]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xa0]
call fcn.00711700
jmp 0xb5146b
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xa0]
call fcn.007114c4
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa0], 0
je 0xb514c7
xor eax, eax
push ebp
push 0xb514ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa0]
call fcn.0040af68
mov edx, eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xa4]
call fcn.0071159c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb514d5
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xa4]
call fcn.007114c4
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa4], 0
je 0xb514fa
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0xa4]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xa8]
call fcn.00711700
jmp 0xb51508
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xa8]
call fcn.007114c4
lea eax, [ebp - 0x2c]
mov edx, 0xb51b78
call fcn.00405284
call fcn.0040d358
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x50]
mov eax, 0xb51ba0
call fcn.0040e1d4
push dword [ebp - 0x50]
push 0xb51bb4
call fcn.0040d384
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x54]
mov eax, 0xb51bc0
call fcn.0040e1d4
push dword [ebp - 0x54]
push 0xb51bd4
push dword [ebp - 0x2c]
lea eax, [ebp - 0x4c]
mov edx, 5
call fcn.0040556c
mov eax, dword [ebp - 0x4c]
call fcn.00b32d3c
xor eax, eax
call fcn.00b32d3c
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1d4], edx
push 0
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x40]
mov eax, dword [0xb20280]
call fcn.00b2de58
test al, al
jne 0xb515fe
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x40]
call fcn.00ae8c4c
mov eax, dword [ebp - 0x58]
call fcn.00b32d3c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x38]
call fcn.0040ae2c
push dword [ebp - 0x5c]
push 0xb51bb4
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040556c
mov eax, dword [ebp - 0x2c]
call fcn.00b32d3c
mov eax, dword [ebp - 0x40]
call fcn.0040429c
mov ecx, dword [ebp - 0x3c]
mov dl, 1
mov eax, dword [0x409720]
call fcn.0040f3b8
call fcn.00404b40
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
call fcn.00711564
mov edx, dword [ebp - 4]
mov dword [edx + 0x1d4], eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x40]
call fcn.00ae8c4c
mov eax, dword [ebp - 0x60]
call fcn.00b32d3c
mov eax, dword [ebp - 0x40]
call fcn.0040429c
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x68], 0
je 0xb51682
push 0xb51be0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1d4]
mov ecx, 0xb51bf4
mov eax, dword [ebp - 4]
call fcn.00b5258c
push 0xb51c04
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1d4]
mov ecx, 0xb51bf4
mov eax, dword [ebp - 4]
call fcn.00b5258c
push 0xb51be0
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 8]
call fcn.0040ae2c
mov ecx, dword [ebp - 0x70]
or edx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.00b52860
push 0xb51c04
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.0040ae2c
mov ecx, dword [ebp - 0x78]
or edx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.00b52860
mov eax, dword [0xba1f1c]
cmp dword [eax], 0
je 0xb51795
mov eax, dword [0xba1f1c]
mov eax, dword [eax]
cmp byte [eax + 0x70], 0
jne 0xb516f1
mov eax, dword [0xba1f1c]
mov eax, dword [eax]
mov byte [eax + 0x60], 1
jmp 0xb51795
mov eax, dword [0xba1f1c]
mov eax, dword [eax]
call fcn.0042c508
mov eax, dword [0xba1f1c]
mov eax, dword [eax]
call fcn.0042c510
mov eax, dword [0xba1f1c]
mov eax, dword [eax]
call fcn.0040429c
mov eax, dword [0xba1f1c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x124]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x128]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x12c]
push eax
mov cl, 1
mov dl, 1
mov eax, dword [0x8390c8]
call fcn.00839144
mov edx, dword [0xba1f1c]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e0]
mov edx, dword [0xba1f1c]
mov edx, dword [edx]
mov dword [edx + 0x5c], eax
mov eax, dword [0xba1f1c]
mov eax, dword [eax]
add eax, 0x6c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1e4]
call fcn.00405240
mov eax, dword [0xba1f1c]
mov eax, dword [eax]
mov byte [eax + 0x60], 1
mov eax, dword [0xba1f1c]
mov eax, dword [eax]
call fcn.0042c4e0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1d4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1e4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00b55298
mov eax, dword [ebp - 4]
cmp byte [eax + 0x14c], 0
je 0xb51961
mov eax, dword [ebp - 4]
cmp dword [eax + 0x154], 0
je 0xb51961
mov al, byte [0xb51c10]
push eax
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 8]
mov cl, 0xfc
call fcn.00417620
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x154]
mov edx, 0xb51c1c
mov ebx, dword [eax]
call dword [ebx + 0x244]
test al, al
je 0xb51961
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x154]
mov edx, 0xb51c2c
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x150]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x150]
mov dword [edx + 0x10], eax
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
call fcn.0040ae2c
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x150]
add eax, 0x14
mov edx, 0xb51c3c
call fcn.004054f8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x150]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0xc]
fld qword [eax + 0x20]
fmul dword [0xb51b64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x150]
fistp qword [eax + 0x20]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x150]
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x60]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x150]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, 0xb51c4c
call fcn.004055f8
jne 0xb518e2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x150]
xor edx, edx
mov dword [eax + 0x30], edx
jmp 0xb518f2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x150]
mov dword [eax + 0x30], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x150]
add eax, 0x34
mov edx, dword [ebp - 0x34]
call fcn.00405240
mov eax, dword [ebp - 0xc]
fld qword [eax + 0x18]
fmul dword [0xb51b64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x150]
fistp qword [eax + 0x38]
wait
mov eax, dword [ebp - 0xc]
fld qword [eax + 0x38]
fmul dword [0xb51b64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x150]
fistp qword [eax + 0x40]
wait
mov eax, dword [ebp - 0xc]
fld qword [eax + 0x20]
fmul dword [0xb51b64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x150]
fistp qword [eax + 0x48]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x150]
mov dl, 3
call fcn.00aebfec
mov eax, dword [ebp - 4]
cmp byte [eax + 0x158], 0
je 0xb51af3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x160], 0
je 0xb51af3
mov al, byte [0xb51c10]
push eax
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 8]
mov cl, 0xfc
call fcn.00417620
lea ecx, [ebp - 0x9c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
mov edx, 0xb51c1c
mov ebx, dword [eax]
call dword [ebx + 0x244]
test al, al
je 0xb51af3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
mov edx, 0xb51c2c
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x15c]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x15c]
mov dword [edx + 0x14], eax
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
call fcn.0040ae2c
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
add eax, 0x18
mov edx, 0xb51c3c
call fcn.004054f8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x15c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x60]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x15c]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, 0xb51c4c
call fcn.004055f8
jne 0xb51a74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
xor edx, edx
mov dword [eax + 0x28], edx
jmp 0xb51a84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
mov dword [eax + 0x28], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
add eax, 0x2c
mov edx, dword [ebp - 0x34]
call fcn.00405240
mov eax, dword [ebp - 0xc]
fld qword [eax + 0x18]
fmul dword [0xb51b64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
fistp qword [eax + 0x30]
wait
mov eax, dword [ebp - 0xc]
fld qword [eax + 0x38]
fmul dword [0xb51b64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
fistp qword [eax + 0x38]
wait
mov eax, dword [ebp - 0xc]
fld qword [eax + 0x20]
fmul dword [0xb51b64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
fistp qword [eax + 0x50]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
mov dl, 3
call fcn.00af4c98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb51b59
lea eax, [ebp - 0xa0]
call fcn.004051ec
lea eax, [ebp - 0x9c]
call fcn.00413110
lea eax, [ebp - 0x8c]
call fcn.004051ec
lea eax, [ebp - 0x88]
call fcn.00413110
lea eax, [ebp - 0x78]
mov edx, 0xc
call fcn.00405210
lea eax, [ebp - 0x3c]
call fcn.004051ec
lea eax, [ebp - 0x34]
call fcn.004051ec
lea eax, [ebp - 0x2c]
call fcn.004051ec
ret