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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6017d8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
push eax
call fcn.0059b05f
mov ecx, dword [esi + 0x24]
xor ebp, ebp
add esp, 4
cmp ecx, ebp
mov dword [esi + 0x60], ebp
je 0x4c42af
mov edx, dword [esi + 0x28]
cmp edx, ebp
je 0x4c42af
mov eax, dword [esp + 0x3c]
fld qword [esp + 0x44]
fldz
push ebx
mov ebx, dword [esp + 0x3c]
and ebx, 7
add ecx, ebx
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x6c]
sub ecx, ebx
push edi
mov edi, dword [esi + 0x4c]
and eax, 7
mov dword [esi + 0x74], ecx
mov ecx, dword [esi + 0x70]
add edi, 7
sub ecx, eax
and edi, 0xfffffff8
add edx, eax
mov dword [esp + 0x44], eax
mov dword [esi + 0x78], ecx
mov dword [esi + 0x4c], edi
mov eax, dword [esi + 0x40]
cmp eax, ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], edx
je 0x4c3e3a
mov ecx, dword [esi + 0x44]
sub ecx, eax
sar ecx, 4
jne 0x4c3e49
cmp dword [esp + 0x48], ebp
jne 0x4c3e49
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4c3eac
fcomp st(1)
xor ecx, ecx
fnstsw ax
test ah, 5
jp 0x4c3e72
fmul qword [0x627ef8]
fmul qword [0x628640]
fadd qword [0x613d10]
call fcn.005c2100
mov ecx, eax
or ecx, 1
jmp 0x4c3e74
fstp st(0)
cmp dword [esp + 0x48], ebp
je 0x4c3e7d
add ecx, 8
mov edx, dword [esp + 0x18]
lea eax, [ecx + 7]
and eax, 0xfffffff8
lea ecx, [edi + eax]
add dword [esp + 0x44], ecx
lea ebp, [ecx + ecx]
add dword [esp + 0x10], ebp
add ebx, ecx
lea ecx, [edi + eax]
sub dword [esi + 0x74], ecx
add edi, eax
sub dword [esi + 0x78], edi
add edx, ebp
mov dword [esp + 0x40], ebx
xor ebp, ebp
jmp 0x4c3eb0
fstp st(1)
fstp st(0)
mov eax, dword [esp + 0x10]
lea ecx, [eax + 7]
lea eax, [edx + 7]
sar eax, 3
add eax, 1
sar ecx, 3
add ecx, 1
mov dword [esi + 0x68], eax
imul eax, ecx
add eax, eax
push eax
mov dword [esi + 0x64], ecx
call fcn.0059b05a
mov ecx, dword [esi + 0x68]
imul ecx, dword [esi + 0x64]
add ecx, ecx
push ecx
push ebp
push eax
mov dword [esi + 0x60], eax
call fcn.005c0060
lea edx, [esi + 0x2c]
lea eax, [esi + 0x3c]
add esp, 0x10
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + eax*4 + 0x24]
mov ebp, dword [ebx + 4]
cmp ebp, dword [ebx + 8]
mov dword [esp + 0x14], ebx
jbe 0x4c3f1d
call fcn.005c7116
mov edi, dword [ebx + 8]
cmp dword [ebx + 4], edi
mov dword [esp + 0x20], edi
jbe 0x4c3f30
call fcn.005c7116
mov edi, edi
cmp ebx, ebx
je 0x4c3f39
call fcn.005c7116
cmp ebp, edi
je 0x4c401d
cmp ebp, dword [ebx + 8]
jb 0x4c3f4b
call fcn.005c7116
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
mov cl, 0x20
call fcn.005c7890
cmp ebp, dword [ebx + 8]
mov ecx, dword [esp + 0x44]
lea edi, [eax + ecx - 0x40000000]
jb 0x4c3f6d
call fcn.005c7116
mov ecx, dword [esp + 0x14]
cmp ebp, dword [ecx + 8]
mov edx, dword [ebp]
mov eax, dword [esp + 0x40]
lea ebx, [edx + eax - 0x40000000]
jb 0x4c3f89
call fcn.005c7116
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x40]
lea edx, [edx + eax - 0x40000000]
cmp edx, ebx
mov dword [esp + 0x18], edx
jle 0x4c3fff
mov eax, dword [esp + 0x10]
sar edi, 3
imul edi, dword [esi + 0x64]
mov ecx, ebx
sar ecx, 3
add edi, ecx
add edx, 0xffffffff
sar edx, 3
lea eax, [eax + edi*2]
add eax, dword [esi + 0x60]
cmp ecx, edx
mov dword [esp + 0x1c], edx
je 0x4c3ff7
mov dl, cl
add dl, dl
add dl, dl
add dl, dl
sub dl, bl
mov ebx, dword [esp + 0x1c]
add dl, 8
add byte [eax], dl
add ecx, 1
add eax, 2
cmp ecx, ebx
jge 0x4c3ff1
mov edx, ebx
sub edx, ecx
add byte [eax], 8
add eax, 2
sub edx, 1
jne 0x4c3fe6
add bl, bl
add bl, bl
add bl, bl
mov cl, byte [esp + 0x18]
sub cl, bl
add byte [eax], cl
mov eax, dword [esp + 0x14]
cmp ebp, dword [eax + 8]
jb 0x4c400d
call fcn.005c7116
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
add ebp, 0x10
jmp 0x4c3f30
sub dword [esp + 0x10], 1
jns 0x4c3f04
fldz
fld qword [esp + 0x4c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4c411c
sub esp, 8
lea ecx, [esp + 0x2c]
fstp qword [esp]
call fcn.004c19f0
mov ecx, dword [esi + 0x64]
mov edx, dword [esp + 0x28]
cmp ecx, edx
mov dword [esp + 0x38], 0
jl 0x4c4105
mov eax, dword [esi + 0x68]
cmp eax, edx
jl 0x4c4105
lea ebp, [ecx + ecx]
imul eax, ebp
push eax
call fcn.0059b05a
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4c40a7
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0059b05f
add esp, 4
pop edi
pop ebx
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x14
lea ecx, [esi + 0x3c]
call fcn.004c3250
mov edi, dword [esi + 0x60]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
neg al
push edx
mov edx, dword [esi + 0x68]
sbb eax, eax
add eax, 1
add edi, eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esi + 0x64]
push ecx
push ebp
push edx
push eax
push ebx
push edi
call fcn.004c3280
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esi + 0x68]
push edx
mov edx, dword [esi + 0x64]
push eax
push ebp
push ecx
push edx
push edi
push ebx
call fcn.004c33b0
add esp, 0x40
push ebx
call fcn.0059b05f
add esp, 4
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.0059b05f
add esp, 4
jmp 0x4c411e
fstp st(0)
cmp dword [esp + 0x48], 0
mov dword [esp + 0x14], 0
jle 0x4c4298
mov ecx, dword [esi + 0x64]
cmp ecx, 3
jl 0x4c4283
mov eax, dword [esi + 0x68]
cmp eax, 3
jl 0x4c4283
lea edi, [ecx + ecx]
imul eax, edi
push eax
call fcn.0059b05a
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x4c4090
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x60]
imul ecx, edi
push ecx
push edx
push ebx
call fcn.005c1a70
mov ecx, dword [esi + 0x40]
add esp, 0xc
test ecx, ecx
jne 0x4c4185
xor eax, eax
jmp 0x4c418d
mov eax, dword [esi + 0x44]
sub eax, ecx
sar eax, 4
xor edx, edx
test eax, eax
mov eax, dword [esi + 0x68]
setne dl
sub eax, 1
cmp eax, 1
mov dword [esp + 0x40], 1
mov dword [esp + 0x20], edx
jle 0x4c427a
lea ecx, [edx + ebx]
mov eax, 2
lea ecx, [ecx + edi + 2]
sub eax, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
lea esp, [esp]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esi + 0x60]
add ebx, edx
lea ebx, [ebx + ebp + 2]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esi + 0x64]
mov ebp, 1
sub ebx, ebp
cmp ebx, ebp
jle 0x4c4257
add eax, ecx
movzx ebx, byte [eax + edi]
movzx edx, byte [edi + eax - 4]
add edx, ebx
movzx ebx, byte [ecx + edi]
add edx, ebx
movzx ebx, byte [ecx]
lea edx, [edx + ebx*2]
movzx ebx, byte [eax - 2]
add edx, ebx
movzx ebx, byte [ecx + edi + 2]
lea ebx, [ebx + edx*2]
movzx edx, byte [ecx + edi - 2]
add ebx, edx
movzx edx, byte [eax - 4]
add ebx, edx
movzx edx, byte [eax]
add ebx, edx
mov edx, dword [esp + 0x4c]
sar ebx, 4
mov byte [edx], bl
add edx, 2
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x64]
add ebp, 1
sub edx, 1
add ecx, 2
add eax, 2
cmp ebp, edx
jl 0x4c41f1
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi + 0x68]
add dword [esp + 0x40], 1
add dword [esp + 0x44], edi
add ecx, edi
sub ebx, 1
cmp dword [esp + 0x40], ebx
mov dword [esp + 0x18], ecx
jl 0x4c41d0
mov ebx, dword [esp + 0x10]
push ebx
call fcn.0059b05f
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
jl 0x4c4131
pop edi
pop ebx
pop esi
mov al, 1
pop ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x14
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x68], ebp
mov dword [esi + 0x64], ebp
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x14