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

Disassembly:
push 0x34
call dword [0x46b908]
call fcn.00423327
push dword [0x4691a8]
call dword [0x46ca1c]
mov eax, 0x469980
push eax
lea eax, [ebx + 0x70]
mov dword [eax + 8], 0
mov byte [eax], 3
push eax
call dword [0x46c5e0]
mov eax, 0x469a08
push eax
lea eax, [ebx + 0x70]
mov dword [eax + 8], 0
mov byte [eax], 3
push eax
call dword [0x46c5e0]
mov eax, 1
mov ecx, 0x46aae0
call dword [0x46c5dc]
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 [0x469640]
shl eax, 4
add eax, dword [0x4695d4]
call dword [0x46bebc]
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 0x4232b1
mov eax, dword [ebx + 0x68]
shl eax, 2
add eax, dword [0x46aafc]
push dword [eax]
call dword [0x46ba00]
test eax, eax
je 0x42329f
mov eax, dword [ebx + 0x68]
cmp eax, dword [0x469644]
jne 0x42252e
push dword [0x469ad8]
lea eax, [ebx + 0x64]
push eax
call dword [0x46bc84]
mov dword [ebx + 0x24], 0xffffffff
jmp 0x42254d
mov eax, dword [ebx + 0x68]
shl eax, 2
add eax, dword [0x46aafc]
push dword [eax]
lea eax, [ebx + 0x64]
push eax
call dword [0x46bc84]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x58], 1
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x422565
mov eax, dword [eax - 4]
and eax, 0x3fffffff
mov dword [ebx - 0xc], eax
mov edx, dword [ebx + 0x58]
cmp edx, eax
jg 0x42329f
push dword [ebx + 0x64]
push dword [ebx + 0x58]
call dword [0x46c990]
mov dword [ebx + 0x54], eax
cmp eax, 0xff
jne 0x42328d
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 [0x46bc50]
push eax
lea eax, [ebx + 0x44]
push eax
call dword [0x46bc84]
mov eax, dword [ebx + 0x44]
lea ecx, [ebx - 0x20]
call dword [0x46bf48]
mov ecx, eax
call dword [0x46bf60]
fstp qword [ebx + 0x48]
lea ecx, [ebx - 0x20]
call dword [0x46c488]
fld qword [ebx + 0x48]
fldcw word [0x46b8e0]
frndint
fldcw word [0x46b8d8]
fistp dword [ebx + 0x20]
wait
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x42328d
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
cmp eax, dword [ebx + 0x20]
jg 0x42260a
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x20]
cmp eax, dword [ebx + 0x20]
jge 0x42260b
test al, 0xf9
stc
jae 0x42328d
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 [0x46b8e0]
frndint
fldcw word [0x46b8d8]
fistp dword [ebx + 0x40]
wait
push eax
push eax
push esp
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
call dword [0x46be4c]
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 [0x462c68]
fiadd dword [ebx + 0x34]
fistp dword [ebx + 0x3c]
wait
push dword [ebx + 0x60]
push dword [ebx + 0x64]
lea eax, [ebx - 0x10]
push eax
call dword [0x46bc84]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x24]
and dword [eax], 0
push eax
call fcn.00409720
push dword [ebx - 0x24]
lea eax, [ebx + 0x28]
push eax
call dword [0x46bc84]
lea ecx, [ebx - 0x10]
push ecx
lea ecx, [ebx - 0x24]
push ecx
mov eax, 2
call dword [0x46c9c4]
push 0xffffffffffffffff
push 6
push dword [ebx + 0x28]
lea eax, [ebx - 0x10]
push eax
call dword [0x46bc84]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x24]
and dword [eax], 0
push eax
call fcn.004098c8
push dword [ebx - 0x24]
call dword [0x46bb48]
fistp dword [ebx - 0x28]
wait
lea ecx, [ebx - 0x10]
push ecx
lea ecx, [ebx - 0x24]
push ecx
mov eax, 2
call dword [0x46c9c4]
push 0xffffffffffffffff
push 7
push dword [ebx + 0x28]
lea eax, [ebx - 0x10]
push eax
call dword [0x46bc84]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x24]
and dword [eax], 0
push eax
call fcn.004098c8
push dword [ebx - 0x24]
lea eax, [ebx + 0x28]
push eax
call dword [0x46bc84]
lea ecx, [ebx - 0x10]
push ecx
lea ecx, [ebx - 0x24]
push ecx
mov eax, 2
call dword [0x46c9c4]
push dword [ebx + 0x28]
call dword [0x46bb48]
fistp dword [ebx + 0x2c]
wait
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]
wait
cmp dword [ebx + 0x24], 0xffffffff
jne 0x422775
mov eax, dword [ebx - 0x28]
test eax, eax
je 0x422766
mov dword [ebx], 0xff8c6e
mov dword [ebx - 4], 0xffffff
jmp 0x422798
mov dword [ebx], 0x6464fa
mov dword [ebx - 4], 0xffffff
jmp 0x422798
mov eax, dword [ebx - 0x28]
test eax, eax
je 0x42278b
mov dword [ebx], 0xfaf0e6
mov dword [ebx - 4], 0x646464
jmp 0x422798
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 [0x462c78]
fstp qword [ebx + 0x78]
lea eax, [ebx + 0x70]
mov byte [eax], 5
push eax
mov eax, dword [0x469640]
shl eax, 4
add eax, dword [0x4695d4]
call dword [0x46be78]
call dword [0x46bec0]
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 [0x462c80]
fistp dword [ebx + 0xc]
wait
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46bef0]
call dword [0x46bf50]
mov dword [ebx - 0x2c], eax
lea ecx, [ebx - 0x20]
call dword [0x46c488]
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 [0x46c0d4]
lea eax, [ebx + 0x10]
call dword [0x46bf5c]
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 [0x46becc]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46bef0]
push eax
mov eax, 2
call dword [0x46befc]
call dword [0x46bf5c]
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 [0x462c78]
sub esp, 8
fstp qword [esp]
push pe_nt_image_headers32
call dword [0x46c0f4]
lea ecx, [ebx - 0x20]
call dword [0x46c488]
sub eax, eax
mov al, byte [ebx]
push eax
fild dword [esp]
pop ecx
fmul dword [0x462cec]
push eax
fistp dword [esp]
wait
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 [0x462cec]
push eax
fistp dword [esp]
wait
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 [0x462cec]
push eax
fistp dword [esp]
wait
pop eax
and eax, 0xff
shl eax, 0x10
pop edx
or eax, edx
push eax
call dword [0x46c0d4]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
call dword [0x46bf3c]
call dword [0x46bf5c]
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 [0x46becc]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46bef0]
call dword [0x46bf3c]
call dword [0x46bf5c]
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 [0x46c0f4]
lea ecx, [ebx - 0x20]
push ecx
lea ecx, [ebx - 0x40]
push ecx
mov eax, 0x2000000
call dword [0x46c9c4]
push 2
call dword [0x46c0e0]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46bef0]
push eax
mov eax, 5
call dword [0x46befc]
call dword [0x46bf5c]
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 [0x46becc]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46bef0]
push eax
mov eax, 5
call dword [0x46befc]
call dword [0x46bf5c]
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 [0x46c0f4]
lea ecx, [ebx - 0x20]
push ecx
lea ecx, [ebx - 0x40]
push ecx
mov eax, 0x2000000
call dword [0x46c9c4]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46bef0]
push eax
mov eax, 9
call dword [0x46befc]
call dword [0x46bf5c]
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 [0x46becc]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46bef0]
push eax
mov eax, 3
call dword [0x46befc]
call dword [0x46bf5c]
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 [0x46c0f4]
lea ecx, [ebx - 0x20]
push ecx
lea ecx, [ebx - 0x40]
push ecx
mov eax, 0x2000000
call dword [0x46c9c4]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46bef0]
push eax
mov eax, 9
call dword [0x46befc]
call dword [0x46bf5c]
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 [0x46becc]
push eax
mov eax, dword [ebp + 0x14]
add eax, 8
fld qword [eax]
call dword [0x46bef0]
push eax
mov eax, 3
call dword [0x46befc]
call dword [0x46bf5c]
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 [0x46c0f4]
lea ecx, [ebx - 0x20]
push ecx
lea ecx, [ebx - 0x40]
push ecx
mov eax, 0x2000000
call dword [0x46c9c4]
push 1
call dword [0x46c0e0]
push dword [ebx]
call dword [0x46c0d4]
push dword [ebx - 4]
call dword [0x46c0d4]
push 0x41280000
call dword [0x46c8dc]
cmp dword [ebx + 0x38], 9
jg 0x422c69
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
push 0x463eb8
call dword [0x46dabc]
call dword [0x46bef0]
call dword [0x46bf5c]
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 [0x46ba24]
push eax
push 0x468284
push dword [ebx + 0x34]
push 2
call dword [0x46bbcc]
push eax
call dword [0x46bb18]
push eax
call dword [0x46bb18]
push eax
call dword [0x46c580]
lea ecx, [ebx - 0x20]
call dword [0x46c488]
jmp 0x422cd1
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
mov eax, 5
call dword [0x46bee8]
call dword [0x46bf5c]
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 [0x46bac8]
push eax
push 0x468284
push dword [ebx + 0x34]
push 2
call dword [0x46bbcc]
push eax
call dword [0x46bb18]
push eax
call dword [0x46bb18]
push eax
call dword [0x46c580]
lea ecx, [ebx - 0x20]
call dword [0x46c488]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
push 0x463eb8
call dword [0x46dabc]
fmul dword [0x462c9c]
call dword [0x46bef0]
push eax
mov eax, 5
call dword [0x46bee8]
call dword [0x46bf5c]
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]
imul eax, eax, 0x270
add eax, dword [0x469b0c]
add eax, 0x20
mov edx, 0x1e
call dword [0x46c318]
push eax
lea eax, [ebx - 0x24]
push eax
call dword [0x46bc84]
lea eax, [ebx - 0x24]
push eax
lea eax, [ebx - 0x44]
and dword [eax], 0
push eax
call fcn.004080f0
push dword [ebx - 0x44]
lea eax, [ebx - 0x10]
push eax
call dword [0x46bc84]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x48]
and dword [eax], 0
push eax
call fcn.0042332c
push dword [ebx - 0x48]
call dword [0x46c580]
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 [0x46c9c4]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
push 0x463eb8
call dword [0x46dabc]
call dword [0x46bef0]
call dword [0x46bf3c]
call dword [0x46bf5c]
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]
imul eax, eax, 0x270
add eax, dword [0x469b0c]
add eax, 0x3e
mov edx, 0x3c
call dword [0x46c318]
push eax
lea eax, [ebx - 0x24]
push eax
call dword [0x46bc84]
lea eax, [ebx - 0x24]
push eax
lea eax, [ebx - 0x44]
and dword [eax], 0
push eax
call fcn.004080f0
push dword [ebx - 0x44]
lea eax, [ebx - 0x10]
push eax
call dword [0x46bc84]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x48]
and dword [eax], 0
push eax
call fcn.0042332c
push dword [ebx - 0x48]
call dword [0x46c580]
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 [0x46c9c4]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
push 0x463eb8
call dword [0x46dabc]
fmul dword [0x462c9c]
call dword [0x46bef0]
push eax
mov eax, 4
call dword [0x46bee8]
call dword [0x46bf5c]
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]
imul eax, eax, 0x270
add eax, dword [0x469b0c]
add eax, 0x20
mov edx, 0x1e
call dword [0x46c318]
push eax
lea eax, [ebx - 0x24]
push eax
call dword [0x46bc84]
lea eax, [ebx - 0x24]
push eax
lea eax, [ebx - 0x44]
and dword [eax], 0
push eax
call fcn.004080f0
push dword [ebx - 0x44]
lea eax, [ebx - 0x10]
push eax
call dword [0x46bc84]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x48]
and dword [eax], 0
push eax
call fcn.0042332c
push dword [ebx - 0x48]
call dword [0x46c580]
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 [0x46c9c4]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
push 0x463eb8
call dword [0x46dabc]
call dword [0x46bef0]
call dword [0x46bf5c]
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]
imul eax, eax, 0x270
add eax, dword [0x469b0c]
add eax, 0x3e
mov edx, 0x3c
call dword [0x46c318]
push eax
lea eax, [ebx - 0x24]
push eax
call dword [0x46bc84]
lea eax, [ebx - 0x24]
push eax
lea eax, [ebx - 0x44]
and dword [eax], 0
push eax
call fcn.004080f0
push dword [ebx - 0x44]
lea eax, [ebx - 0x10]
push eax
call dword [0x46bc84]
lea eax, [ebx - 0x10]
push eax
lea eax, [ebx - 0x48]
and dword [eax], 0
push eax
call fcn.0042332c
push dword [ebx - 0x48]
call dword [0x46c580]
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 [0x46c9c4]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x42328d
mov eax, dword [ebx + 0x2c]
inc eax
push eax
fild dword [esp]
pop ecx
fmul dword [0x462cf0]
push eax
fistp dword [esp]
wait
pop eax
add dword [ebx + 0x3c], eax
fild dword [ebx + 0x3c]
fmul qword [0x462c08]
fldcw word [0x46b8e0]
frndint
fldcw word [0x46b8d8]
fistp dword [ebx + 0x38]
wait
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 [0x462c60]
fldcw word [0x46b8e0]
frndint
fldcw word [0x46b8d8]
fistp dword [ebx - 0x4c]
wait
mov eax, dword [ebx + 0x2c]
inc eax
push eax
fild dword [esp]
pop ecx
fmul dword [0x462cf0]
push eax
fistp dword [esp]
wait
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 0x423183
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
push 0x463eb8
call dword [0x46dabc]
call dword [0x46bef0]
call dword [0x46bf5c]
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 0x46828c
push dword [ebx + 0x38]
push 2
call dword [0x46bac8]
push eax
call dword [0x46bb18]
push eax
push 0x3a
call dword [0x46bb74]
push eax
push dword [ebx + 0x34]
push 2
call dword [0x46bbcc]
push eax
call dword [0x46bb18]
push eax
call dword [0x46c580]
lea ecx, [ebx - 0x20]
call dword [0x46c488]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
push 0x463eb8
call dword [0x46dabc]
call dword [0x46bef0]
call dword [0x46bf5c]
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 0x468298
push dword [ebx - 0x4c]
call dword [0x46ba24]
push eax
call dword [0x46bb18]
push eax
push 0x2e
call dword [0x46bb74]
push eax
push dword [ebx - 0x50]
call dword [0x46ba24]
push eax
call dword [0x46bb18]
push eax
push 0x64745320
call dword [0x46bb80]
push eax
call dword [0x46c580]
lea ecx, [ebx - 0x20]
call dword [0x46c488]
jmp 0x42328d
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
mov eax, 5
call dword [0x46bee8]
call dword [0x46bf5c]
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 0x46828c
push dword [ebx + 0x38]
push 2
call dword [0x46bac8]
push eax
call dword [0x46bb18]
push eax
push 0x3a
call dword [0x46bb74]
push eax
push dword [ebx + 0x34]
push 2
call dword [0x46bbcc]
push eax
call dword [0x46bb18]
push eax
call dword [0x46c580]
lea ecx, [ebx - 0x20]
call dword [0x46c488]
lea edx, [ebx + 0x10]
lea ecx, [ebx - 0x20]
call dword [0x46becc]
push eax
mov eax, 5
call dword [0x46bee8]
call dword [0x46bf5c]
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 0x468298
push dword [ebx - 0x4c]
call dword [0x46ba24]
push eax
call dword [0x46bb18]
push eax
push 0x2e
call dword [0x46bb74]
push eax
push dword [ebx - 0x50]
call dword [0x46ba24]
push eax
call dword [0x46bb18]
push eax
push 0x64745320
call dword [0x46bb80]
push eax
call dword [0x46c580]
lea ecx, [ebx - 0x20]
call dword [0x46c488]
mov eax, dword [ebx + 0x58]
inc eax
jo 0x42329f
cmp eax, dword [ebx - 0xc]
mov dword [ebx + 0x58], eax
jle 0x422578
mov eax, dword [ebx + 0x68]
inc eax
jo 0x4232b1
cmp eax, dword [ebx - 8]
mov dword [ebx + 0x68], eax
jle 0x4224f1
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 [0x46c9c4]
mov esp, ebp
pop ebp
pop ebx
pop edi
pop esi
ret 4