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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push esi
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x34], ebx
push edi
push dword [ebp + 0x24]
mov dword [ebx], 0
push dword [ebp + 0x20]
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.004815d0
mov eax, dword [ebp + 0x1c]
fld qword [ebp + 0x28]
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x50], eax
fst qword [ebx + 0x48]
cmp eax, 0xffffffff
je 0x4cce80
sub ecx, 0
je 0x4ccde4
sub ecx, 1
je 0x4cccdb
sub ecx, 1
jne 0x4cce8a
mov eax, dword [ebp + 8]
fild dword [ebp + 8]
test eax, eax
jns 0x4ccbdf
fadd qword [0x892fb8]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fnstcw word [esp + 0x32]
movzx eax, word [esp + 0x32]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fmul st(1)
fldcw word [esp + 0x3c]
fistp qword [esp + 0x68]
mov ecx, dword [esp + 0x68]
cmp dword [ebx + 0x20], ecx
cmovb ecx, dword [ebx + 0x20]
mov dword [esp + 0x68], ecx
fldcw word [esp + 0x32]
fild dword [esp + 0x68]
test ecx, ecx
jns 0x4ccc24
fadd qword [0x892fb8]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fld qword [ebp + 0x30]
fnstcw word [esp + 0x32]
movzx eax, word [esp + 0x32]
or eax, 0xc00
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
fmul st(1), st(0)
fxch st(1)
fldcw word [esp + 0x3c]
fistp qword [esp + 0x68]
mov esi, dword [esp + 0x68]
fldcw word [esp + 0x32]
fild dword [ebp + 0xc]
test eax, eax
jns 0x4ccc65
fadd qword [0x892fb8]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fnstcw word [esp + 0x32]
movzx eax, word [esp + 0x32]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fmulp st(2)
fxch st(1)
fldcw word [esp + 0x3c]
fistp qword [esp + 0x68]
mov ecx, dword [esp + 0x68]
cmp dword [ebx + 0x24], ecx
cmovb ecx, dword [ebx + 0x24]
mov dword [esp + 0x68], ecx
fldcw word [esp + 0x32]
fild dword [esp + 0x68]
test ecx, ecx
jns 0x4cccac
fadd qword [0x892fb8]
fstp qword [esp + 0x68]
fnstcw word [esp + 0x32]
fmul qword [esp + 0x68]
movzx eax, word [esp + 0x32]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x68]
mov ecx, dword [esp + 0x68]
fldcw word [esp + 0x32]
jmp 0x4cd011
mov eax, dword [ebx + 0x20]
fstp st(0)
fild dword [ebx + 0x20]
test eax, eax
jns 0x4ccced
fadd qword [0x892fb8]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmul qword [ebp + 0x30]
mov eax, dword [ebp + 0x3c]
fild dword [ebp + 0x3c]
test eax, eax
jns 0x4ccd08
fadd qword [0x892fb8]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
mov eax, dword [ebp + 0x50]
sub eax, dword [ebp + 0x48]
mov dword [esp + 0x68], eax
fild dword [esp + 0x68]
jns 0x4ccd26
fadd qword [0x892fb8]
fstp qword [esp + 0x68]
sub esp, 8
fdiv qword [esp + 0x70]
fdivp st(1)
fstp qword [esp]
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
fnstcw word [esp + 0x3a]
movzx eax, word [esp + 0x3a]
or eax, 0xc00
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x24]
fldcw word [esp + 0x44]
fistp qword [esp + 0x70]
mov esi, dword [esp + 0x70]
fldcw word [esp + 0x3a]
fild dword [ebx + 0x24]
test eax, eax
jns 0x4ccd6e
fadd qword [0x892fb8]
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
fmul qword [ebp + 0x30]
mov eax, dword [ebp + 0x40]
fild dword [ebp + 0x40]
test eax, eax
jns 0x4ccd89
fadd qword [0x892fb8]
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
mov eax, dword [ebp + 0x4c]
sub eax, dword [ebp + 0x44]
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
jns 0x4ccda7
fadd qword [0x892fb8]
fstp qword [esp + 0x70]
fdiv qword [esp + 0x70]
fdivp st(1)
fstp qword [esp]
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
fnstcw word [esp + 0x3a]
movzx eax, word [esp + 0x3a]
add esp, 8
or eax, 0xc00
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x68]
mov ecx, dword [esp + 0x68]
fldcw word [esp + 0x32]
jmp 0x4cd011
mov eax, dword [ebp + 8]
fild dword [ebp + 8]
test eax, eax
jns 0x4ccdf4
fadd qword [0x892fb8]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
sub esp, 8
fmul qword [ebp + 0x30]
fmulp st(1)
fstp qword [esp]
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
fnstcw word [esp + 0x3a]
movzx eax, word [esp + 0x3a]
or eax, 0xc00
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0xc]
fldcw word [esp + 0x44]
fistp qword [esp + 0x70]
mov esi, dword [esp + 0x70]
fldcw word [esp + 0x3a]
fild dword [ebp + 0xc]
test eax, eax
jns 0x4cce3f
fadd qword [0x892fb8]
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
fmul qword [ebp + 0x30]
fmul qword [ebp + 0x28]
fstp qword [esp]
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
fnstcw word [esp + 0x3a]
movzx eax, word [esp + 0x3a]
add esp, 8
or eax, 0xc00
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x68]
mov ecx, dword [esp + 0x68]
fldcw word [esp + 0x32]
jmp 0x4cd011
sub ecx, 0
je 0x4cce97
sub ecx, 1
je 0x4cce97
mov ecx, dword [ebp + 0xc]
fstp st(0)
mov esi, dword [ebp + 8]
jmp 0x4cd011
mov eax, dword [ebp + 8]
fild dword [ebp + 8]
test eax, eax
jns 0x4ccea7
fadd qword [0x892fb8]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fnstcw word [esp + 0x32]
movzx eax, word [esp + 0x32]
or eax, 0xc00
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
fmul st(1)
fldcw word [esp + 0x3c]
fistp qword [esp + 0x68]
mov esi, dword [esp + 0x68]
fldcw word [esp + 0x32]
fild dword [ebp + 0xc]
test eax, eax
jns 0x4ccee3
fadd qword [0x892fb8]
fstp qword [esp + 0x68]
fnstcw word [esp + 0x32]
fmul qword [esp + 0x68]
movzx eax, word [esp + 0x32]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x68]
mov edi, dword [esp + 0x68]
mov eax, dword [ebp + 0x3c]
fldcw word [esp + 0x32]
fild dword [ebp + 0x3c]
test eax, eax
jns 0x4ccf1d
fadd qword [0x892fb8]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
mov eax, dword [ebp + 0x50]
sub eax, dword [ebp + 0x48]
mov dword [esp + 0x68], eax
fild dword [esp + 0x68]
jns 0x4ccf3b
fadd qword [0x892fb8]
fstp qword [esp + 0x68]
fdiv qword [esp + 0x68]
mov dword [esp + 0x68], esi
fild dword [esp + 0x68]
test esi, esi
jns 0x4ccf55
fadd qword [0x892fb8]
fstp qword [esp + 0x68]
sub esp, 8
fmul qword [esp + 0x70]
fstp qword [esp]
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
fnstcw word [esp + 0x3a]
movzx eax, word [esp + 0x3a]
or eax, 0xc00
mov dword [esp + 0x44], eax
fldcw word [esp + 0x44]
fistp qword [esp + 0x70]
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x40]
fldcw word [esp + 0x3a]
fild dword [ebp + 0x40]
test eax, eax
jns 0x4ccf9e
fadd qword [0x892fb8]
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
mov eax, dword [ebp + 0x4c]
sub eax, dword [ebp + 0x44]
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
jns 0x4ccfbc
fadd qword [0x892fb8]
fstp qword [esp + 0x70]
fdiv qword [esp + 0x70]
mov dword [esp + 0x70], edi
fild dword [esp + 0x70]
test edi, edi
jns 0x4ccfd6
fadd qword [0x892fb8]
fstp qword [esp + 0x70]
fmul qword [esp + 0x70]
fstp qword [esp]
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
fnstcw word [esp + 0x3a]
movzx eax, word [esp + 0x3a]
add esp, 8
or eax, 0xc00
mov ecx, edi
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x68]
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x24], eax
fldcw word [esp + 0x32]
cmp dword [ebx + 0x20], esi
lea edi, [ebx + 0x24]
mov eax, dword [ebp + 0x44]
cmovb esi, dword [ebx + 0x20]
cmp dword [edi], ecx
mov edx, dword [ebp + 0x48]
cmovb ecx, dword [edi]
fild dword [ebp + 0x3c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x3c], esi
mov esi, dword [ebp + 0x4c]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x50]
mov dword [esp + 0x54], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x54], edx
test eax, eax
jns 0x4cd06c
fadd qword [0x892fb8]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
mov eax, dword [ebp + 0x50]
sub eax, dword [ebp + 0x48]
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
jns 0x4cd08a
fadd qword [0x892fb8]
mov eax, dword [esp + 0x3c]
fstp qword [esp + 0x50]
fdiv qword [esp + 0x50]
fild dword [esp + 0x3c]
test eax, eax
jns 0x4cd0a4
fadd qword [0x892fb8]
fstp qword [esp + 0x50]
sub esp, 8
fmul qword [esp + 0x58]
fstp qword [esp]
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
fnstcw word [esp + 0x3a]
movzx eax, word [esp + 0x3a]
or eax, 0xc00
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
fldcw word [esp + 0x48]
fistp qword [esp + 0x58]
mov ebx, dword [esp + 0x58]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x40]
fldcw word [esp + 0x3a]
fild dword [ebp + 0x40]
test eax, eax
jns 0x4cd0f5
fadd qword [0x892fb8]
fstp qword [esp + 0x48]
fld qword [esp + 0x48]
mov eax, dword [ebp + 0x4c]
sub eax, dword [ebp + 0x44]
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
jns 0x4cd113
fadd qword [0x892fb8]
mov eax, dword [esp + 0x3c]
fstp qword [esp + 0x48]
fdiv qword [esp + 0x48]
fild dword [esp + 0x3c]
test eax, eax
jns 0x4cd12d
fadd qword [0x892fb8]
fstp qword [esp + 0x48]
fmul qword [esp + 0x48]
fstp qword [esp]
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x48]
fnstcw word [esp + 0x3a]
movzx eax, word [esp + 0x3a]
add esp, 8
or eax, 0xc00
mov dword [esp + 0x40], eax
lea edx, [edx + 0x24]
fldcw word [esp + 0x40]
fistp qword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov edi, dword [edi]
cmp eax, edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
cmovae ecx, edx
sub esi, eax
xor edx, edx
imul eax, dword [esp + 0x34]
fldcw word [esp + 0x32]
sub edi, dword [ecx]
shr edi, 1
div esi
add edi, eax
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0x20]
mov ecx, esi
mov eax, dword [esp + 0x50]
cmp ebx, eax
cmovb eax, ebx
mov ebx, dword [esp + 0x64]
sub ebx, dword [esp + 0x68]
sub ecx, eax
mov eax, dword [esp + 0x74]
xor edx, edx
imul eax, dword [esp + 0x3c]
shr ecx, 1
div ebx
mov edx, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x3c]
add eax, ecx
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [edx], edi
add eax, edi
mov dword [edx + 8], eax
mov dword [edx + 4], ecx
mov eax, dword [edx + 0x24]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], eax
mov eax, edx
pop edi
mov dword [edx + 0x1c], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x4c