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

Disassembly:
push 0xffffffffffffffff
push 0x5723a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
push ebp
mov ebp, dword [esp + 0x430]
push esi
push edi
xor edi, edi
mov ebx, ecx
cmp ebp, edi
mov dword [esp + 0x48], ebx
je 0x4cb7a3
mov esi, dword [esp + 0x43c]
cmp esi, edi
je 0x4cb7a3
mov eax, dword [ebx + 0xc]
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x4cb6c3
cmp dword [ebx + 0x10], esi
jne 0x4cb6c3
mov ecx, dword [esp + 0x444]
cmp ecx, edi
je 0x4cb6bc
push 1
push 1
push 1
push ebx
call fcn.004c9800
mov al, 1
jmp 0x4cb7a5
fild dword [esp + 0x10]
push edi
lea ecx, [esp + 0x9c]
fidiv dword [esp + 0x43c]
fstp dword [esp + 0x60]
fild dword [ebx + 0x10]
fidiv dword [esp + 0x440]
fstp dword [esp + 0x68]
call fcn.004c9640
push ebx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x434], edi
call fcn.004c9960
mov ecx, ebx
call fcn.004c7750
push eax
xor eax, eax
mov ax, word [ebx + 0x16]
lea ecx, [esp + 0x9c]
push eax
push esi
push ebp
call fcn.004c9980
push pe_nt_image_headers32
mov ecx, ebx
call fcn.004c8920
push eax
lea ecx, [esp + 0xa0]
call fcn.004c9350
lea ecx, [esp + 0x98]
call fcn.004c7820
test al, al
jne 0x4cb7c0
lea ecx, [esp + 0x98]
call fcn.004c7990
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x430], 0xffffffff
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x98]
mov dword [esp + 0x98], 0x57b500
call fcn.004c9710
lea ecx, [esp + 0x98]
call fcn.004c9660
xor al, al
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x424
ret 0x10
mov eax, dword [esp + 0x440]
dec eax
je 0x4cc2c2
dec eax
je 0x4cbfce
mov eax, dword [ebx + 0xc]
cmp eax, ebp
jle 0x4cbc3b
cmp dword [ebx + 0x10], esi
jle 0x4cbc3b
cmp word [ebx + 0x16], 0x18
jne 0x4cbc3b
mov ecx, dword [esp + 0xcc]
lea esi, [ebp + ebp*2 + 3]
shl esi, 2
push esi
mov dword [esp + 0x24], ecx
call fcn.00546f57
mov edi, eax
push esi
mov dword [esp + 0x38], edi
call fcn.00546f57
fld dword [esp + 0x6c]
fmul dword [esp + 0x64]
add esp, 8
mov dword [esp + 0x14], eax
fmul dword [0x57ba94]
call fcn.0052a34c
lea edx, [ebp + ebp*2]
mov dword [esp + 0x24], eax
shl edx, 2
mov ecx, edx
xor eax, eax
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
fld dword [esp + 0x64]
fsub dword [0x5840b8]
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
mov ecx, edx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 0x10]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x40], edi
jle 0x4cbbe9
xor eax, eax
mov dword [esp + 0x10], eax
cdq
idiv ecx
mov dword [ebx + 0x144], eax
mov eax, dword [ebx + 0x148]
test eax, eax
jne 0x4cbbe9
mov esi, dword [ebx + 0x30]
mov eax, dword [ebx + 0x34]
fld dword [esp + 0x5c]
imul esi, edi
fsub dword [0x5840b8]
fild dword [esp + 0x40]
fcom st(2)
add esi, eax
xor ecx, ecx
fnstsw ax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x68], ecx
test ah, 1
je 0x4cb987
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], ecx
cmp eax, ecx
fstp st(0)
jle 0x4cbbc8
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
fild dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 1
je 0x4cb920
mov eax, dword [esp + 0x18]
mov edx, 3
fstp st(0)
xor ecx, ecx
mov edi, dword [eax]
mov cl, byte [esi]
add eax, 4
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 3
add edi, ecx
inc esi
mov dword [eax - 4], edi
dec edx
jne 0x4cb900
jmp 0x4cb965
fsub st(1)
fmul dword [0x57ba94]
call fcn.0052a34c
mov ecx, dword [esp + 0x18]
mov edi, 0x3e8
mov edx, ecx
sub edi, eax
add edx, 0xc
mov ebp, 3
mov dword [esp + 0x18], edx
xor edx, edx
add ecx, 4
mov dl, byte [esi]
imul edx, edi
add dword [ecx - 4], edx
xor edx, edx
mov dl, byte [esi]
imul edx, eax
add dword [ecx + 8], edx
inc esi
dec ebp
jne 0x4cb946
fadd dword [esp + 0x5c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0xc]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x4cb8e8
mov ebp, dword [esp + 0x438]
fstp st(0)
jmp 0x4cbbca
fsub st(2)
fmul dword [0x57ba94]
call fcn.0052a34c
mov ebp, eax
mov eax, dword [ebx + 0xc]
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x4cbb4b
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
add ecx, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 1
je 0x4cba06
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, 0x3e8
sub edi, ebp
sub ecx, edx
fstp st(0)
mov edx, 3
xor ebx, ebx
add eax, 4
mov bl, byte [esi]
imul ebx, edi
add dword [ecx + eax - 4], ebx
xor ebx, ebx
mov bl, byte [esi]
imul ebx, ebp
add dword [eax - 4], ebx
inc esi
dec edx
jne 0x4cb9e5
jmp 0x4cbb33
fsub st(1)
fmul dword [0x57ba94]
call fcn.0052a34c
mov ebx, eax
mov eax, 0x3e8
mov ecx, 0x3e8
sub eax, ebp
sub ecx, ebx
mov dword [esp + 0x38], eax
imul eax, ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x44], eax
mov eax, 3
add edx, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov eax, 0xc
mov edx, edi
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x4c]
add edx, eax
mov dword [esp + 0x18], edx
mov edx, ecx
add edx, eax
mov dword [esp + 0x4c], edx
xor edx, edx
mov eax, 0x10624dd3
mov dl, byte [esi]
add edi, 4
imul edx, dword [esp + 0x78]
imul edx
sar edx, 6
mov eax, edx
add ecx, 4
shr eax, 0x1f
add edx, eax
mov eax, dword [ecx - 0x10]
add eax, edx
mov dword [ecx - 0x10], eax
cdq
idiv dword [esp + 0x24]
mov edx, dword [esp + 0x20]
inc edx
mov dword [esp + 0x20], edx
mov byte [edx - 1], al
xor edx, edx
mov dl, byte [esi]
mov eax, 0x10624dd3
imul edx, ebp
imul edx, dword [esp + 0x28]
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [edi - 4]
add eax, edx
xor edx, edx
mov dword [edi - 4], eax
mov dl, byte [esi]
imul edx, ebx
imul edx, dword [esp + 0x38]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ecx - 4]
add eax, edx
xor edx, edx
mov dword [ecx - 4], eax
mov dl, byte [esi]
imul edx, ebp
imul edx, ebx
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x44]
inc esi
mov dword [eax + ecx - 4], edx
mov eax, dword [esp + 0x70]
dec eax
mov dword [esp + 0x70], eax
jne 0x4cba70
mov eax, dword [esp + 0x68]
fadd dword [esp + 0x5c]
inc eax
mov dword [esp + 0x68], eax
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
inc eax
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x4cb9bc
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x438]
cmp ecx, eax
fstp st(0)
jge 0x4cbb83
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
lea ecx, [edx + eax*4]
mov edi, 3
mov eax, dword [ecx]
add ecx, 4
cdq
idiv ebp
inc esi
dec edi
mov byte [esi - 1], al
jne 0x4cbb74
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [eax], ecx
fadd dword [esp + 0x64]
mov dword [eax + 4], ecx
mov ebp, dword [esp + 0x438]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x2c], eax
imul eax, dword [esp + 0xc8]
add eax, ecx
mov dword [esp + 0x20], eax
jmp 0x4cbbca
fstp st(0)
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x10]
inc edi
add eax, 0x64
cmp edi, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x10], eax
jl 0x4cb888
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x43c]
cmp edx, eax
fstp st(0)
jge 0x4cbc1f
lea ebp, [ebp + ebp*2]
test ebp, ebp
jle 0x4cbc1f
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, ebp
mov eax, dword [ecx]
add ecx, 4
cdq
idiv ebx
inc esi
dec edi
mov byte [esi - 1], al
jne 0x4cbc10
mov eax, dword [esp + 0x30]
push eax
call fcn.00546f80
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00546f80
add esp, 8
jmp 0x4cc374
mov ebx, dword [ebx + 0x10]
dec eax
dec ebx
cmp esi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], edi
jle 0x4cc374
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
cdq
idiv dword [esp + 0x43c]
mov dword [ecx + 0x144], eax
mov eax, dword [ecx + 0x148]
test eax, eax
jne 0x4cc374
fild dword [esp + 0x1c]
fmul dword [esp + 0x64]
fld st(0)
call fcn.0052a34c
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x20], ecx
cmp ecx, eax
jl 0x4cbca0
mov dword [esp + 0x20], eax
fild dword [esp + 0x18]
mov eax, dword [esp + 0x438]
xor ebx, ebx
test eax, eax
fsubr st(1)
mov dword [esp + 0x2c], ebx
fstp dword [esp + 0x14]
fstp st(0)
jle 0x4cbfa6
mov esi, dword [esp + 0x48]
fild dword [esp + 0x2c]
fmul dword [esp + 0x5c]
fld st(0)
call fcn.0052a34c
mov edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], edi
lea ebp, [edi + 1]
cmp eax, ebp
jge 0x4cbce7
mov ebp, eax
fild dword [esp + 0x38]
mov eax, dword [esi + 0x28]
test eax, eax
fsubr st(1)
fstp dword [esp + 0x24]
fstp st(0)
je 0x4cbd8f
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
push edi
call fcn.004c89b0
push eax
lea eax, [esp + 0x90]
push eax
mov ecx, esi
call fcn.004c8940
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
push edx
push ebp
mov ecx, esi
call fcn.004c89b0
push eax
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call fcn.004c8940
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
push edx
push edi
mov ecx, esi
call fcn.004c89b0
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, esi
call fcn.004c8940
mov ecx, dword [esp + 0x20]
mov edi, dword [eax]
push ecx
push ebp
mov ecx, esi
mov dword [esp + 0x70], edi
call fcn.004c89b0
lea edx, [esp + 0x94]
push eax
push edx
mov ecx, esi
call fcn.004c8940
mov eax, dword [eax]
mov dword [esp + 0x30], eax
jmp 0x4cbe24
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x18]
imul ecx, edx
lea eax, [edi + edi*2]
mov edi, dword [esi + 0x34]
mov dword [esp + 0x38], eax
add eax, ecx
add eax, edi
lea ebp, [ebp + ebp*2]
mov bl, byte [eax]
inc eax
mov byte [esp + 0x4c], bl
mov bl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x4e], al
lea eax, [ecx + ebp]
mov cl, byte [eax + edi]
add eax, edi
inc eax
mov byte [esp + 0x54], cl
mov byte [esp + 0x4d], bl
mov ebx, dword [esp + 0x2c]
mov cl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x55], cl
mov ecx, dword [esp + 0x20]
imul ecx, edx
mov edx, dword [esp + 0x38]
mov byte [esp + 0x56], al
lea eax, [ecx + edx]
mov dl, byte [eax + edi]
add eax, edi
mov byte [esp + 0x68], dl
inc eax
mov dl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x6a], al
lea eax, [ecx + ebp]
mov cl, byte [eax + edi]
add eax, edi
inc eax
mov byte [esp + 0x69], dl
mov edi, dword [esp + 0x68]
mov byte [esp + 0x30], cl
mov dl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x31], dl
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4e]
mov edx, dword [esp + 0x6a]
and ecx, 0xff
and edx, 0xff
sub edx, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x4d]
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
mov edx, dword [esp + 0x69]
and ecx, 0xff
and edx, 0xff
and edi, 0xff
fmul dword [esp + 0x14]
sub edx, ecx
and eax, 0xff
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x32]
fiadd dword [esp + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x4c]
and ecx, 0xff
and edx, 0xff
sub edi, ecx
fild dword [esp + 0x38]
mov dword [esp + 0x38], edi
fmul dword [esp + 0x14]
fiadd dword [esp + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x56]
and ecx, 0xff
sub edx, ecx
fstp dword [esp + 0x70]
fild dword [esp + 0x38]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x31]
and edx, 0xff
fmul dword [esp + 0x14]
fiadd dword [esp + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x55]
and ecx, 0xff
sub edx, ecx
fstp dword [esp + 0x2c]
fild dword [esp + 0x38]
mov dword [esp + 0x38], edx
fmul dword [esp + 0x14]
fiadd dword [esp + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff
sub eax, ecx
fild dword [esp + 0x38]
mov dword [esp + 0x38], eax
fmul dword [esp + 0x14]
fiadd dword [esp + 0x28]
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x78]
fild dword [esp + 0x38]
fmul dword [esp + 0x14]
fiadd dword [esp + 0x28]
fstp dword [esp + 0x38]
fsub st(1)
fmul dword [esp + 0x24]
fadd st(1)
call fcn.0052a34c
fstp st(0)
fld dword [esp + 0x78]
fsub dword [esp + 0x70]
mov byte [esp + 0x74], al
fmul dword [esp + 0x24]
fadd dword [esp + 0x70]
call fcn.0052a34c
fld dword [esp + 0x38]
fsub dword [esp + 0x2c]
mov byte [esp + 0x63], al
fmul dword [esp + 0x24]
fadd dword [esp + 0x2c]
call fcn.0052a34c
mov edx, dword [esp + 0x74]
xor ecx, ecx
mov ch, al
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 0x63]
and edx, 0xff
shl ecx, 8
or ecx, edx
push ecx
push eax
push ebx
lea ecx, [esp + 0xa4]
call fcn.004c8f30
mov eax, dword [esp + 0x438]
inc ebx
cmp ebx, eax
mov dword [esp + 0x2c], ebx
jl 0x4cbcc5
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x43c]
inc eax
add edx, 0x64
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], edx
jl 0x4cbc58
jmp 0x4cc374
cmp esi, edi
mov dword [esp + 0x20], edi
jle 0x4cc374
mov ecx, dword [esp + 0x43c]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x40]
cdq
idiv ecx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x4cc374
fild dword [esp + 0x20]
fmul dword [esp + 0x64]
fsub dword [0x5840a8]
fst dword [esp + 0x44]
fstp qword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
push esi
push edi
call fcn.0052d583
call fcn.0052a34c
push esi
push edi
mov dword [esp + 0x38], eax
call fcn.0052d583
fsubr dword [esp + 0x54]
mov ecx, dword [esp + 0x448]
xor eax, eax
add esp, 0x10
cmp ecx, eax
fstp dword [esp + 0x38]
mov dword [esp + 0x4c], eax
jle 0x4cc296
mov esi, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x4c]
fmul dword [esp + 0x5c]
fsub dword [0x5840a8]
fst dword [esp + 0x44]
fstp qword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
push edi
push ebx
call fcn.0052d583
call fcn.0052a34c
push edi
push ebx
mov ebp, eax
call fcn.0052d583
fsubr dword [esp + 0x54]
add esp, 0x10
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x30], 0
fstp dword [esp + 0x44]
mov dword [esp + 0x18], 0xffffffff
fild dword [esp + 0x18]
push ecx
fsub dword [esp + 0x3c]
fstp dword [esp]
call fcn.004cfa70
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
fstp dword [esp + 0x7c]
lea edi, [ecx + edx]
add esp, 4
test edi, edi
jge 0x4cc0e8
xor edi, edi
mov eax, dword [esi + 0x10]
cmp edi, eax
jl 0x4cc0f2
lea edi, [eax - 1]
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
push ecx
fsubr dword [esp + 0x48]
fstp dword [esp]
call fcn.004cfa70
fmul dword [esp + 0x7c]
lea ecx, [ebx + ebp]
add esp, 4
test ecx, ecx
fstp dword [esp + 0x24]
jge 0x4cc11e
xor ecx, ecx
mov eax, dword [esi + 0xc]
cmp ecx, eax
jl 0x4cc128
lea ecx, [eax - 1]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4cc14a
push 1
push edi
lea eax, [esp + 0x88]
push ecx
push eax
mov ecx, esi
call fcn.004c8b80
mov eax, dword [eax]
mov dword [esp + 0x54], eax
jmp 0x4cc173
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
imul eax, edi
lea ecx, [ecx + ecx*2]
add eax, ecx
add eax, edx
mov dl, byte [eax]
mov cl, byte [eax + 1]
inc eax
mov byte [esp + 0x54], dl
mov byte [esp + 0x55], cl
mov dl, byte [eax + 1]
mov byte [esp + 0x56], dl
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x56]
mov edx, dword [esp + 0x55]
and ecx, 0xff
and edx, 0xff
mov dword [esp + 0x10], ecx
and eax, 0xff
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
inc ebx
cmp ebx, 3
fmul dword [esp + 0x24]
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [esp + 0x24]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ebx
fmul dword [esp + 0x24]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
jl 0x4cc0f9
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 3
mov dword [esp + 0x18], eax
jl 0x4cc0bf
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4cc233
fld dword [esp + 0x14]
call fcn.0052a34c
fld dword [esp + 0x1c]
xor ebx, ebx
mov bh, al
call fcn.0052a34c
fld dword [esp + 0x30]
mov bl, al
shl ebx, 8
call fcn.0052a34c
mov ecx, dword [esp + 0x4c]
and eax, 0xff
or ebx, eax
mov eax, dword [esp + 0x20]
push ebx
push eax
push ecx
lea ecx, [esp + 0xa4]
call fcn.004c8f30
jmp 0x4cc271
mov edi, dword [esp + 0xc8]
mov ebx, dword [esp + 0xcc]
imul edi, dword [esp + 0x20]
fld dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
add edi, ebx
add edi, edx
call fcn.0052a34c
fld dword [esp + 0x1c]
mov byte [edi], al
inc edi
call fcn.0052a34c
fld dword [esp + 0x30]
mov byte [edi], al
inc edi
call fcn.0052a34c
mov byte [edi], al
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x438]
inc eax
add edx, 3
cmp eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], edx
jl 0x4cc061
jmp 0x4cc29a
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x43c]
inc eax
add edi, 0x64
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], edi
jl 0x4cbfe9
jmp 0x4cc374
test esi, esi
mov dword [esp + 0x10], edi
jle 0x4cc374
mov dword [esp + 0x24], 0
jmp 0x4cc2df
mov esi, dword [esp + 0x43c]
mov eax, dword [esp + 0x24]
cdq
idiv esi
mov dword [ebx + 0x144], eax
mov eax, dword [ebx + 0x148]
test eax, eax
jne 0x4cc374
fild dword [esp + 0x10]
xor esi, esi
test ebp, ebp
fmul dword [esp + 0x64]
mov dword [esp + 0x10], esi
jle 0x4cc353
call fcn.0052a34c
mov dword [esp + 0x44], eax
fild dword [esp + 0x10]
mov edx, dword [esp + 0x44]
push 0
push 1
push edx
fmul dword [esp + 0x68]
call fcn.0052a34c
push eax
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
call fcn.004c8b80
mov ecx, dword [eax]
push ecx
push edi
push esi
lea ecx, [esp + 0xa8]
call fcn.004c8fd0
inc esi
cmp esi, ebp
mov dword [esp + 0x10], esi
jl 0x4cc311
jmp 0x4cc355
fstp st(0)
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x43c]
inc edi
add ecx, 0x64
cmp edi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], ecx
jl 0x4cc2d8
mov ebx, dword [esp + 0x48]
mov ecx, ebx
call fcn.004ccca0
test al, al
je 0x4cc4a8
mov esi, dword [esp + 0x440]
cmp esi, 1
jne 0x4cc425
lea ecx, [esp + 0x98]
call fcn.004cccf0
mov eax, dword [esp + 0x43c]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jle 0x4cc4a8
mov ebx, dword [esp + 0x438]
fild dword [esp + 0x10]
xor esi, esi
test ebx, ebx
fmul dword [esp + 0x64]
mov dword [esp + 0x10], esi
jle 0x4cc40a
call fcn.0052a34c
mov ebp, eax
fild dword [esp + 0x10]
push ebp
fmul dword [esp + 0x60]
call fcn.0052a34c
mov ecx, dword [esp + 0x4c]
push eax
call fcn.004ccf40
push eax
push edi
push esi
lea ecx, [esp + 0xa4]
call fcn.004ccf00
inc esi
cmp esi, ebx
mov dword [esp + 0x10], esi
jl 0x4cc3d8
jmp 0x4cc40c
fstp st(0)
mov eax, dword [esp + 0x43c]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edi
jl 0x4cc3bf
mov ebx, dword [esp + 0x48]
jmp 0x4cc4a8
push 0
lea ecx, [esp + 0x264]
call fcn.004c9640
lea edx, [esp + 0x260]
mov ecx, ebx
push edx
mov byte [esp + 0x434], 1
call fcn.004cd120
mov eax, dword [esp + 0x43c]
mov ecx, dword [esp + 0x438]
push 0
push esi
push eax
push ecx
lea ecx, [esp + 0x270]
call fcn.004cb650
lea edx, [esp + 0x260]
lea ecx, [esp + 0x98]
push edx
call fcn.004cce40
lea ecx, [esp + 0x260]
mov byte [esp + 0x430], 0
mov dword [esp + 0x260], 0x57b500
call fcn.004c9710
lea ecx, [esp + 0x260]
call fcn.004c9660
mov ecx, dword [esp + 0x444]
push 1
test ecx, ecx
je 0x4cc4bf
lea eax, [esp + 0x9c]
push eax
jmp 0x4cc4c9
lea ecx, [esp + 0x9c]
push ecx
mov ecx, ebx
call fcn.004c9c60
lea ecx, [esp + 0x98]
mov dword [esp + 0x430], 0xffffffff
mov dword [esp + 0x98], 0x57b500
call fcn.004c9710
lea ecx, [esp + 0x98]
call fcn.004c9660
mov al, 1
jmp 0x4cb7a5