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

Disassembly:
push 0x34
call dword [0x46d7d0]
call fcn.0042301f
push dword [0x46b1a8]
call dword [0x46e8e4]
mov eax, 0x46b838
push eax
lea eax, [ebx + 0x70]
mov dword [eax + 8], 0
mov byte [eax], 3
push eax
call dword [0x46e4a8]
mov eax, 0x46b8c0
push eax
lea eax, [ebx + 0x70]
mov dword [eax + 8], 0
mov byte [eax], 3
push eax
call dword [0x46e4a8]
mov eax, 1
mov ecx, 0x46c998
call dword [0x46e4a4]
mov dword [ebx + 0x6c], eax
sub eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x10]
push eax
mov eax, dword [0x46b4f8]
shl eax, 4
add eax, dword [0x46b48c]
call dword [0x46dd84]
mov dword [ebx - 4], 0x3c3c3c
mov dword [ebx + 0x68], 1
mov eax, dword [ebx + 0x6c]
mov dword [ebx - 8], eax
mov edx, dword [ebx + 0x68]
cmp edx, eax
jg 0x422fa9
mov eax, dword [ebx + 0x68]
shl eax, 2
add eax, dword [0x46c9b4]
push dword [eax]
call dword [0x46d8c8]
test eax, eax
je 0x422f97
mov eax, dword [ebx + 0x68]
cmp eax, dword [0x46b4fc]
jne 0x422212
push dword [0x46b990]
lea eax, [ebx + 0x64]
push eax
call dword [0x46db4c]
mov dword [ebx + 0x24], 0xffffffff
jmp 0x422231
mov eax, dword [ebx + 0x68]
shl eax, 2
add eax, dword [0x46c9b4]
push dword [eax]
lea eax, [ebx + 0x64]
push eax
call dword [0x46db4c]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x58], 1
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x422249
mov eax, dword [eax - 4]
and eax, 0x3fffffff
mov dword [ebx - 0xc], eax
mov edx, dword [ebx + 0x58]
cmp edx, eax
jg 0x422f97
push dword [ebx + 0x64]
push dword [ebx + 0x58]
call dword [0x46e858]
mov dword [ebx + 0x54], eax
cmp eax, 0xff
jne 0x422f85
mov eax, dword [ebx + 0x60]
inc eax
mov dword [ebx + 0x60], eax
push dword [ebx + 0x64]
mov eax, dword [ebx + 0x58]
inc eax
push eax
push 0x13
call dword [0x46db18]
push eax
lea eax, [ebx + 0x44]
push eax
call dword [0x46db4c]
mov eax, dword [ebx + 0x44]
lea ecx, [ebx - 0x20]
call dword [0x46de10]
mov ecx, eax
call dword [0x46de28]
fstp qword [ebx + 0x48]
lea ecx, [ebx - 0x20]
call dword [0x46e350]
fld qword [ebx + 0x48]
fldcw word [0x46d7a8]
frndint
fldcw word [0x46d7a0]
fistp dword [ebx + 0x20]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x422f85
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
cmp eax, dword [ebx + 0x20]
jg 0x4222ed
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x20]
cmp eax, dword [ebx + 0x20]
jge 0x4222ee
test al, 0xf9
stc
jae 0x422f85
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
sub eax, dword [ebx + 0x20]
neg eax
mov dword [ebx + 8], eax
fld qword [ebx + 0x48]
fldcw word [0x46d7a8]
frndint
fldcw word [0x46d7a0]
fistp dword [ebx + 0x40]
push eax
push eax
push esp
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
call dword [0x46dd14]
mov dword [ebx + 0x38], eax
pop eax
mov dword [ebx + 0x34], eax
pop eax
mov dword [ebx + 0x30], eax
fild dword [ebx + 0x38]
fmul dword [0x464084]
fiadd dword [ebx + 0x34]
fistp dword [ebx + 0x3c]
push dword [ebx + 0x60]
push dword [ebx + 0x64]
lea eax, [ebx - 0x10]
push eax
call dword [0x46db4c]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x24]
and dword [eax], 0
push eax
call fcn.00408c54
push dword [ebx - 0x24]
lea eax, [ebx + 0x28]
push eax
call dword [0x46db4c]
lea ecx, [ebx - 0x10]
push ecx
lea ecx, [ebx - 0x24]
push ecx
mov eax, 2
call dword [0x46e88c]
push 0xffffffffffffffff
push 6
push dword [ebx + 0x28]
lea eax, [ebx - 0x10]
push eax
call dword [0x46db4c]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x24]
and dword [eax], 0
push eax
call fcn.00408dfc
push dword [ebx - 0x24]
call dword [0x46da10]
fistp dword [ebx - 0x28]
lea ecx, [ebx - 0x10]
push ecx
lea ecx, [ebx - 0x24]
push ecx
mov eax, 2
call dword [0x46e88c]
push 0xffffffffffffffff
push 7
push dword [ebx + 0x28]
lea eax, [ebx - 0x10]
push eax
call dword [0x46db4c]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x24]
and dword [eax], 0
push eax
call fcn.00408dfc
push dword [ebx - 0x24]
lea eax, [ebx + 0x28]
push eax
call dword [0x46db4c]
lea ecx, [ebx - 0x10]
push ecx
lea ecx, [ebx - 0x24]
push ecx
mov eax, 2
call dword [0x46e88c]
push dword [ebx + 0x28]
call dword [0x46da10]
fistp dword [ebx + 0x2c]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x28]
sub eax, dword [ebx + 0x3c]
neg eax
push eax
fild dword [esp]
pop ecx
mov eax, dword [ebp + 0x14]
fild dword [eax + 0x24]
fdivp st(1)
fistp dword [ebx + 4]
cmp dword [ebx + 0x24], 0xffffffff
jne 0x422453
mov eax, dword [ebx - 0x28]
test eax, eax
je 0x422444
mov dword [ebx], 0xff8c6e
mov dword [ebx - 4], 0xffffff
jmp 0x422476
mov dword [ebx], 0x6464fa
mov dword [ebx - 4], 0xffffff
jmp 0x422476
mov eax, dword [ebx - 0x28]
test eax, eax
je 0x422469
mov dword [ebx], 0xfaf0e6
mov dword [ebx - 4], 0x646464
jmp 0x422476
mov dword [ebx], 0xe6e6fa
mov dword [ebx - 4], 0x646464
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebp + 0x14]
fild dword [eax]
fild dword [ebx + 8]
mov eax, dword [ebp + 0x14]
add eax, 8
fmul qword [eax]
faddp st(1)
fadd dword [0x464094]
fstp qword [ebx + 0x78]
lea eax, [ebx + 0x70]
mov byte [eax], 5
push eax
mov eax, dword [0x46b4f8]
shl eax, 4
add eax, dword [0x46b48c]
call dword [0x46dd40]
call dword [0x46dd88]
mov eax, dword [ebp + 0x14]
fild dword [eax + 4]
fild dword [ebx + 4]
mov eax, dword [ebp + 0x14]
fild dword [eax + 0x10]
fmulp st(1)
faddp st(1)
fadd dword [0x4640b8]
fistp dword [ebx + 0xc]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46ddb8]
call dword [0x46de18]
mov dword [ebx - 0x2c], eax
lea ecx, [ebx - 0x20]
call dword [0x46e350]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
add eax, dword [ebx + 0xc]
mov dword [ebx - 0x30], eax
push dword [ebx]
call dword [0x46df9c]
lea eax, [ebx + 0x10]
call dword [0x46de24]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebx + 0xc]
dec eax
push eax
fild dword [esp]
push ecx
fstp qword [esp]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46ddb8]
push eax
mov eax, 2
call dword [0x46ddc4]
call dword [0x46de24]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
add eax, dword [ebx + 0xc]
dec eax
dec eax
push eax
fild dword [esp]
pop ecx
fild dword [ebx + 0x2c]
mov eax, dword [ebp + 0x14]
fild dword [eax + 0x10]
fmulp st(1)
faddp st(1)
fsub dword [0x464094]
sub esp, 8
fstp qword [esp]
push pe_nt_image_headers32
call dword [0x46dfbc]
lea ecx, [ebx - 0x20]
call dword [0x46e350]
sub eax, eax
mov al, byte [ebx]
push eax
fild dword [esp]
pop ecx
fmul dword [0x4640fc]
push eax
fistp dword [esp]
pop eax
and eax, 0xff
push eax
mov eax, dword [ebx]
shr eax, 8
and eax, 0xff
push eax
fild dword [esp]
pop ecx
fmul dword [0x4640fc]
push eax
fistp dword [esp]
pop eax
and eax, 0xff
shl eax, 8
pop edx
or eax, edx
push eax
mov eax, dword [ebx]
shr eax, 0x10
and eax, 0xff
push eax
fild dword [esp]
pop ecx
fmul dword [0x4640fc]
push eax
fistp dword [esp]
pop eax
and eax, 0xff
shl eax, 0x10
pop edx
or eax, edx
push eax
call dword [0x46df9c]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
call dword [0x46de04]
call dword [0x46de24]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebx + 0xc]
dec eax
dec eax
push eax
fild dword [esp]
push ecx
fstp qword [esp]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x40]
call dword [0x46dd94]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46ddb8]
call dword [0x46de04]
call dword [0x46de24]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebx + 0xc]
dec eax
dec eax
push eax
fild dword [esp]
push ecx
fstp qword [esp]
push 0
call dword [0x46dfbc]
lea ecx, [ebx - 0x20]
push ecx
lea ecx, [ebx - 0x40]
push ecx
mov eax, 0x2000000
call dword [0x46e88c]
push 2
call dword [0x46dfa8]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46ddb8]
push eax
mov eax, 5
call dword [0x46ddc4]
call dword [0x46de24]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebx + 0xc]
add eax, 4
push eax
fild dword [esp]
push ecx
fstp qword [esp]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x40]
call dword [0x46dd94]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46ddb8]
push eax
mov eax, 5
call dword [0x46ddc4]
call dword [0x46de24]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
add eax, dword [ebx + 0xc]
add eax, 0xfffffffb
push eax
fild dword [esp]
pop ecx
fild dword [ebx + 0x2c]
mov eax, dword [ebp + 0x14]
fild dword [eax + 0x10]
fmulp st(1)
faddp st(1)
sub esp, 8
fstp qword [esp]
push 0
call dword [0x46dfbc]
lea ecx, [ebx - 0x20]
push ecx
lea ecx, [ebx - 0x40]
push ecx
mov eax, 0x2000000
call dword [0x46e88c]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46ddb8]
push eax
mov eax, 9
call dword [0x46ddc4]
call dword [0x46de24]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebx + 0xc]
add eax, 4
push eax
fild dword [esp]
push ecx
fstp qword [esp]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x40]
call dword [0x46dd94]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46ddb8]
push eax
mov eax, 3
call dword [0x46ddc4]
call dword [0x46de24]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebx + 0xc]
add eax, 4
push eax
fild dword [esp]
push ecx
fstp qword [esp]
push 0
call dword [0x46dfbc]
lea ecx, [ebx - 0x20]
push ecx
lea ecx, [ebx - 0x40]
push ecx
mov eax, 0x2000000
call dword [0x46e88c]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46ddb8]
push eax
mov eax, 9
call dword [0x46ddc4]
call dword [0x46de24]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
add eax, dword [ebx + 0xc]
add eax, 0xfffffffb
push eax
fild dword [esp]
pop ecx
fild dword [ebx + 0x2c]
mov eax, dword [ebp + 0x14]
fild dword [eax + 0x10]
fmulp st(1)
faddp st(1)
sub esp, 8
fstp qword [esp]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x40]
call dword [0x46dd94]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46ddb8]
push eax
mov eax, 3
call dword [0x46ddc4]
call dword [0x46de24]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
add eax, dword [ebx + 0xc]
add eax, 0xfffffffb
push eax
fild dword [esp]
pop ecx
fild dword [ebx + 0x2c]
mov eax, dword [ebp + 0x14]
fild dword [eax + 0x10]
fmulp st(1)
faddp st(1)
sub esp, 8
fstp qword [esp]
push 0
call dword [0x46dfbc]
lea ecx, [ebx - 0x20]
push ecx
lea ecx, [ebx - 0x40]
push ecx
mov eax, 0x2000000
call dword [0x46e88c]
push 1
call dword [0x46dfa8]
push dword [ebx]
call dword [0x46df9c]
push dword [ebx - 4]
call dword [0x46df9c]
push 0x41280000
call dword [0x46e7a4]
cmp dword [ebx + 0x38], 9
jg 0x422943
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
push 0x464fb8
call dword [0x46f984]
call dword [0x46ddb8]
call dword [0x46de24]
push eax
fstp dword [esp]
mov eax, dword [ebx + 0xc]
dec eax
dec eax
push eax
fild dword [esp]
fstp dword [esp]
push dword [ebx + 0x38]
call dword [0x46d8ec]
push eax
push 0x46998c
push dword [ebx + 0x34]
push 2
call dword [0x46da94]
push eax
call dword [0x46d9e0]
push eax
call dword [0x46d9e0]
push eax
call dword [0x46e448]
lea ecx, [ebx - 0x20]
call dword [0x46e350]
jmp 0x4229ab
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
mov eax, 5
call dword [0x46ddb0]
call dword [0x46de24]
push eax
fstp dword [esp]
mov eax, dword [ebx + 0xc]
dec eax
dec eax
push eax
fild dword [esp]
fstp dword [esp]
push dword [ebx + 0x38]
push 2
call dword [0x46d990]
push eax
push 0x46998c
push dword [ebx + 0x34]
push 2
call dword [0x46da94]
push eax
call dword [0x46d9e0]
push eax
call dword [0x46d9e0]
push eax
call dword [0x46e448]
lea ecx, [ebx - 0x20]
call dword [0x46e350]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
push 0x464fb8
call dword [0x46f984]
fmul dword [0x4640a4]
call dword [0x46ddb8]
push eax
mov eax, 5
call dword [0x46ddb0]
call dword [0x46de24]
push eax
fstp dword [esp]
mov eax, dword [ebx + 0xc]
dec eax
dec eax
push eax
fild dword [esp]
fstp dword [esp]
push 0x37
mov eax, dword [ebx + 0x68]
mov edx, eax
shl eax, 3
lea eax, [eax + eax*4]
sub eax, edx
shl eax, 4
add eax, dword [0x46b9bc]
add eax, 0x20
mov edx, 0x1e
call dword [0x46e1e0]
push eax
lea eax, [ebx - 0x24]
push eax
call dword [0x46db4c]
lea eax, [ebx - 0x24]
push eax
lea eax, [ebx - 0x44]
and dword [eax], 0
push eax
call fcn.004075a8
push dword [ebx - 0x44]
lea eax, [ebx - 0x10]
push eax
call dword [0x46db4c]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x48]
and dword [eax], 0
push eax
call fcn.00423024
push dword [ebx - 0x48]
call dword [0x46e448]
lea ecx, [ebx - 0x20]
push ecx
lea ecx, [ebx - 0x10]
push ecx
lea ecx, [ebx - 0x24]
push ecx
lea ecx, [ebx - 0x44]
push ecx
lea ecx, [ebx - 0x48]
push ecx
mov eax, 0x1000004
call dword [0x46e88c]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
push 0x464fb8
call dword [0x46f984]
call dword [0x46ddb8]
call dword [0x46de04]
call dword [0x46de24]
push eax
fstp dword [esp]
mov eax, dword [ebx + 0xc]
add eax, 0xb
push eax
fild dword [esp]
fstp dword [esp]
push 0x64
mov eax, dword [ebx + 0x68]
mov edx, eax
shl eax, 3
lea eax, [eax + eax*4]
sub eax, edx
shl eax, 4
add eax, dword [0x46b9bc]
add eax, 0x3e
mov edx, 0x3c
call dword [0x46e1e0]
push eax
lea eax, [ebx - 0x24]
push eax
call dword [0x46db4c]
lea eax, [ebx - 0x24]
push eax
lea eax, [ebx - 0x44]
and dword [eax], 0
push eax
call fcn.004075a8
push dword [ebx - 0x44]
lea eax, [ebx - 0x10]
push eax
call dword [0x46db4c]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x48]
and dword [eax], 0
push eax
call fcn.00423024
push dword [ebx - 0x48]
call dword [0x46e448]
lea ecx, [ebx - 0x20]
push ecx
lea ecx, [ebx - 0x10]
push ecx
lea ecx, [ebx - 0x24]
push ecx
lea ecx, [ebx - 0x44]
push ecx
lea ecx, [ebx - 0x48]
push ecx
mov eax, 0x1000004
call dword [0x46e88c]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
push 0x464fb8
call dword [0x46f984]
fmul dword [0x4640a4]
call dword [0x46ddb8]
push eax
mov eax, 4
call dword [0x46ddb0]
call dword [0x46de24]
push eax
fstp dword [esp]
mov eax, dword [ebx + 0xc]
dec eax
dec eax
push eax
fild dword [esp]
fstp dword [esp]
push 0x37
mov eax, dword [ebx + 0x68]
mov edx, eax
shl eax, 3
lea eax, [eax + eax*4]
sub eax, edx
shl eax, 4
add eax, dword [0x46b9bc]
add eax, 0x20
mov edx, 0x1e
call dword [0x46e1e0]
push eax
lea eax, [ebx - 0x24]
push eax
call dword [0x46db4c]
lea eax, [ebx - 0x24]
push eax
lea eax, [ebx - 0x44]
and dword [eax], 0
push eax
call fcn.004075a8
push dword [ebx - 0x44]
lea eax, [ebx - 0x10]
push eax
call dword [0x46db4c]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x48]
and dword [eax], 0
push eax
call fcn.00423024
push dword [ebx - 0x48]
call dword [0x46e448]
lea ecx, [ebx - 0x20]
push ecx
lea ecx, [ebx - 0x10]
push ecx
lea ecx, [ebx - 0x24]
push ecx
lea ecx, [ebx - 0x44]
push ecx
lea ecx, [ebx - 0x48]
push ecx
mov eax, 0x1000004
call dword [0x46e88c]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
push 0x464fb8
call dword [0x46f984]
call dword [0x46ddb8]
call dword [0x46de24]
push eax
fstp dword [esp]
mov eax, dword [ebx + 0xc]
add eax, 0xb
push eax
fild dword [esp]
fstp dword [esp]
push 0x64
mov eax, dword [ebx + 0x68]
mov edx, eax
shl eax, 3
lea eax, [eax + eax*4]
sub eax, edx
shl eax, 4
add eax, dword [0x46b9bc]
add eax, 0x3e
mov edx, 0x3c
call dword [0x46e1e0]
push eax
lea eax, [ebx - 0x24]
push eax
call dword [0x46db4c]
lea eax, [ebx - 0x24]
push eax
lea eax, [ebx - 0x44]
and dword [eax], 0
push eax
call fcn.004075a8
push dword [ebx - 0x44]
lea eax, [ebx - 0x10]
push eax
call dword [0x46db4c]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x48]
and dword [eax], 0
push eax
call fcn.00423024
push dword [ebx - 0x48]
call dword [0x46e448]
lea ecx, [ebx - 0x20]
push ecx
lea ecx, [ebx - 0x10]
push ecx
lea ecx, [ebx - 0x24]
push ecx
lea ecx, [ebx - 0x44]
push ecx
lea ecx, [ebx - 0x48]
push ecx
mov eax, 0x1000004
call dword [0x46e88c]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x422f85
mov eax, dword [ebx + 0x2c]
inc eax
push eax
fild dword [esp]
pop ecx
fmul dword [0x464100]
push eax
fistp dword [esp]
pop eax
add dword [ebx + 0x3c], eax
fild dword [ebx + 0x3c]
fdiv dword [0x464084]
fldcw word [0x46d7a8]
frndint
fldcw word [0x46d7a0]
fistp dword [ebx + 0x38]
mov eax, dword [ebx + 0x3c]
mov edx, 0x3c
mov ecx, edx
cdq
idiv ecx
mov eax, edx
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x2c]
inc eax
push eax
fild dword [esp]
pop ecx
fmul dword [0x464100]
fdiv dword [0x464084]
fldcw word [0x46d7a8]
frndint
fldcw word [0x46d7a0]
fistp dword [ebx - 0x4c]
mov eax, dword [ebx + 0x2c]
inc eax
push eax
fild dword [esp]
pop ecx
fmul dword [0x464100]
push eax
fistp dword [esp]
pop eax
mov edx, 0x3c
mov ecx, edx
cdq
idiv ecx
mov eax, edx
mov dword [ebx - 0x50], eax
cmp dword [ebx + 0x38], 9
jg 0x422e7b
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
push 0x464fb8
call dword [0x46f984]
call dword [0x46ddb8]
call dword [0x46de24]
push eax
fstp dword [esp]
mov eax, dword [ebx + 0xc]
add eax, 0xfffffffd
push eax
fild dword [esp]
pop ecx
fild dword [ebx + 0x2c]
mov eax, dword [ebp + 0x14]
fild dword [eax + 0x10]
fmulp st(1)
faddp st(1)
push eax
fstp dword [esp]
push 0x469994
push dword [ebx + 0x38]
push 2
call dword [0x46d990]
push eax
call dword [0x46d9e0]
push eax
push 0x3a
call dword [0x46da3c]
push eax
push dword [ebx + 0x34]
push 2
call dword [0x46da94]
push eax
call dword [0x46d9e0]
push eax
call dword [0x46e448]
lea ecx, [ebx - 0x20]
call dword [0x46e350]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
push 0x464fb8
call dword [0x46f984]
call dword [0x46ddb8]
call dword [0x46de24]
push eax
fstp dword [esp]
mov eax, dword [ebx + 0xc]
add eax, 0xa
push eax
fild dword [esp]
pop ecx
fild dword [ebx + 0x2c]
mov eax, dword [ebp + 0x14]
fild dword [eax + 0x10]
fmulp st(1)
faddp st(1)
push eax
fstp dword [esp]
push 0x4699a0
push dword [ebx - 0x4c]
call dword [0x46d8ec]
push eax
call dword [0x46d9e0]
push eax
push 0x2e
call dword [0x46da3c]
push eax
push dword [ebx - 0x50]
call dword [0x46d8ec]
push eax
call dword [0x46d9e0]
push eax
push 0x64745320
call dword [0x46da48]
push eax
call dword [0x46e448]
lea ecx, [ebx - 0x20]
call dword [0x46e350]
jmp 0x422f85
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
mov eax, 5
call dword [0x46ddb0]
call dword [0x46de24]
push eax
fstp dword [esp]
mov eax, dword [ebx + 0xc]
add eax, 0xfffffffd
push eax
fild dword [esp]
pop ecx
fild dword [ebx + 0x2c]
mov eax, dword [ebp + 0x14]
fild dword [eax + 0x10]
fmulp st(1)
faddp st(1)
push eax
fstp dword [esp]
push 0x469994
push dword [ebx + 0x38]
push 2
call dword [0x46d990]
push eax
call dword [0x46d9e0]
push eax
push 0x3a
call dword [0x46da3c]
push eax
push dword [ebx + 0x34]
push 2
call dword [0x46da94]
push eax
call dword [0x46d9e0]
push eax
call dword [0x46e448]
lea ecx, [ebx - 0x20]
call dword [0x46e350]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46dd94]
push eax
mov eax, 5
call dword [0x46ddb0]
call dword [0x46de24]
push eax
fstp dword [esp]
mov eax, dword [ebx + 0xc]
add eax, 0xa
push eax
fild dword [esp]
pop ecx
fild dword [ebx + 0x2c]
mov eax, dword [ebp + 0x14]
fild dword [eax + 0x10]
fmulp st(1)
faddp st(1)
push eax
fstp dword [esp]
push 0x4699a0
push dword [ebx - 0x4c]
call dword [0x46d8ec]
push eax
call dword [0x46d9e0]
push eax
push 0x2e
call dword [0x46da3c]
push eax
push dword [ebx - 0x50]
call dword [0x46d8ec]
push eax
call dword [0x46d9e0]
push eax
push 0x64745320
call dword [0x46da48]
push eax
call dword [0x46e448]
lea ecx, [ebx - 0x20]
call dword [0x46e350]
mov eax, dword [ebx + 0x58]
inc eax
jo 0x422f97
cmp eax, dword [ebx - 0xc]
mov dword [ebx + 0x58], eax
jle 0x42225c
mov eax, dword [ebx + 0x68]
inc eax
jo 0x422fa9
cmp eax, dword [ebx - 8]
mov dword [ebx + 0x68], eax
jle 0x4221d5
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
lea ecx, [ebx + 0x10]
lea edx, [ebx + 0x64]
lea eax, [ebx + 0x50]
push ecx
push edx
push eax
lea ecx, [ebx + 0x44]
lea edx, [ebx + 0x28]
push ecx
push edx
mov eax, 0x1000004
call dword [0x46e88c]
mov esp, ebp
pop ebp
pop ebx
pop edi
pop esi
ret 4