Function at 0x4513e0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c4b68
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517b6c]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xa0]
mov edi, dword [esp + 0x9c]
mov esi, dword [esp + 0x94]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov ebp, dword [esp + 0x98]
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
mov ecx, esi
call edx
mov esi, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x94]
mov ebp, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x50], ebp
call edx
fild dword [ebx + 0xc]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x38], eax
fidiv dword [esp + 0x38]
lea ecx, [eax + eax*2]
sub esi, ecx
xor ecx, ecx
add eax, 1
mov edx, 4
mov dword [esp + 0x60], esi
fstp qword [esp + 0x44]
mul edx
fild dword [ebx + 0x10]
fidiv dword [edi + 0x10]
seto cl
neg ecx
or ecx, eax
push ecx
fstp qword [esp + 0x40]
call fcn.0049e131
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
xor ecx, ecx
add eax, 1
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049e131
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x10]
xor ecx, ecx
add eax, 1
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049e131
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xc]
xor ecx, ecx
add eax, 1
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049e131
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x10]
add eax, 1
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049e131
mov esi, dword [esp + 0x34]
add esp, 0x14
test esi, esi
mov dword [esp + 0x24], eax
je 0x4519be
cmp dword [esp + 0x18], 0
je 0x4519be
cmp dword [esp + 0x1c], 0
je 0x4519be
test eax, eax
je 0x4519be
mov eax, dword [edi + 0xc]
lea ecx, [eax*4 + 4]
push ecx
push 0
push esi
call fcn.004b2fa0
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x24]
lea eax, [edx*4 + 4]
push eax
push 0
push ecx
call fcn.004b2fa0
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x34]
lea eax, [edx*4 + 4]
push eax
push 0
push ecx
call fcn.004b2fa0
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x48]
lea eax, [edx*4 + 4]
push eax
push 0
push ecx
call fcn.004b2fa0
fild dword [ebx + 4]
add esp, 0x30
cmp dword [edi + 0xc], 0
fst qword [esp + 0x54]
mov dword [esp + 0x14], 0
jl 0x451646
mov eax, dword [esp + 0x1c]
sub eax, esi
mov dword [esp + 0x38], eax
lea edx, [esp + 0x64]
push edx
sub esp, 8
fstp qword [esp]
call fcn.004adca0
fld qword [esp + 0x60]
add esp, 0xc
fld st(0)
call fcn.004c3b90
test eax, eax
mov dword [esi], eax
jge 0x4515f9
mov dword [esi], 0
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0xc]
add eax, 0xffffffff
cmp dword [esi], eax
jl 0x45160c
mov dword [esi], eax
mov eax, dword [esi]
fxch st(1)
fmul qword [0x4ed958]
lea ecx, [eax + eax*2]
mov dword [esi], ecx
call fcn.004c3b90
fadd qword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov dword [edx + esi], eax
mov eax, dword [esp + 0x14]
fst qword [esp + 0x54]
add eax, 1
add esi, 4
cmp eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
jle 0x4515cf
mov esi, dword [esp + 0x20]
xor ecx, ecx
fstp st(0)
cmp dword [edi + 0xc], ecx
jle 0x45166a
mov edx, dword [esp + 0x2c]
mov eax, esi
sub edx, esi
mov esi, dword [eax + 4]
sub esi, dword [eax]
add ecx, 1
mov dword [edx + eax], esi
add eax, 4
cmp ecx, dword [edi + 0xc]
jl 0x451657
mov eax, dword [edi + 0xc]
fldz
mov ecx, dword [esp + 0x2c]
fst qword [esp + 0x54]
mov dword [ecx + eax*4], 0
cmp dword [edi + 0x10], 0
mov dword [esp + 0x14], 0
jle 0x451707
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
sub eax, esi
mov dword [esp + 0x28], eax
lea edx, [esp + 0x64]
push edx
sub esp, 8
fstp qword [esp]
call fcn.004adca0
fld qword [esp + 0x60]
add esp, 0xc
fld st(0)
call fcn.004c3b90
add eax, 0xffffffff
mov dword [esi], eax
jns 0x4516c5
mov dword [esi], 0
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0x10]
add eax, 0xffffffff
cmp dword [esi], eax
jl 0x4516d8
mov dword [esi], eax
fxch st(1)
fmul qword [0x4ed958]
call fcn.004c3b90
fadd qword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov dword [ecx + esi], eax
mov eax, dword [esp + 0x14]
fst qword [esp + 0x54]
add eax, 1
add esi, 4
cmp eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
jl 0x45169a
mov ecx, dword [esp + 0x94]
fstp st(0)
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push edi
call eax
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx]
mov esi, eax
mov dword [esp + 0xa4], eax
mov eax, dword [edx + 0x14]
push ebx
call eax
cmp dword [edi + 0x10], 0
mov dword [esp + 0x14], 0
jle 0x451993
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], eax
jmp 0x451768
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [ecx + eax]
mov eax, dword [ebx + 0x10]
sub eax, dword [ecx]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x94], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x70], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0x6c], vtable.CPOS.0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x8c], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x6c]
push edx
call eax
mov dword [esp + 0x8c], 0xffffffff
cmp dword [edi + 0xc], 0
mov dword [esp + 0x6c], vtable.CPOS.0
mov dword [esp + 0x34], 0
jle 0x45196f
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x1c]
shl ecx, 8
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x2c]
sub edx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
jmp 0x451804
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + ecx]
movzx edx, byte [eax]
movzx esi, byte [eax + 3]
shl ecx, 8
movzx esi, byte [esi + ecx + 0x52c498]
sub edx, ecx
movzx edx, byte [edx + 0x53c398]
add edx, esi
movzx esi, byte [eax + ebp + 3]
movzx esi, byte [esi + ecx + 0x52c498]
mov dword [esp + 0x54], edx
movzx edx, byte [eax + ebp]
sub edx, ecx
movzx edx, byte [edx + 0x53c398]
add edx, esi
movzx esi, byte [eax + 1]
sub esi, ecx
movzx edi, byte [esi + 0x53c398]
movzx esi, byte [eax + 4]
movzx esi, byte [esi + ecx + 0x52c498]
movzx ebx, byte [eax + ebp + 4]
movzx ebx, byte [ebx + ecx + 0x52c498]
add edi, esi
movzx esi, byte [eax + ebp + 1]
sub esi, ecx
movzx esi, byte [esi + 0x53c398]
add esi, ebx
mov ebx, esi
sub ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x50]
movzx ebx, byte [ebx + 0x52c398]
sub esi, ebx
mov ebx, dword [esp + 0x94]
movzx ebx, byte [ebx + edi + 0x51c498]
sub esi, ebx
add edi, esi
mov dword [esp + 0x44], esi
movzx esi, byte [eax + 2]
sub esi, ecx
movzx ebx, byte [esi + 0x53c398]
movzx esi, byte [eax + 5]
movzx esi, byte [esi + ecx + 0x52c498]
add ebx, esi
movzx esi, byte [eax + ebp + 2]
sub esi, ecx
movzx esi, byte [esi + 0x53c398]
mov dword [esp + 0x44], edi
movzx edi, byte [eax + ebp + 5]
movzx ecx, byte [edi + ecx + 0x52c498]
add esi, ecx
mov ecx, dword [esp + 0x94]
mov edi, esi
sub edi, ecx
movzx edi, byte [edi + 0x52c398]
sub esi, edi
movzx edi, byte [ecx + ebx + 0x51c498]
sub esi, edi
mov edi, dword [esp + 0x9c]
add ebx, esi
mov esi, edx
sub esi, ecx
sub dl, byte [esi + 0x52c398]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x94]
sub dl, byte [esi + ecx + 0x51c498]
mov esi, dword [esp + 0xa4]
add dl, cl
mov ecx, dword [esp + 0x38]
mov byte [esi], dl
mov dl, byte [esp + 0x44]
mov byte [esi + 1], dl
mov edx, dword [esp + 0x34]
mov byte [esi + 2], bl
add eax, dword [ecx]
add esi, 3
add edx, 1
add ecx, 4
cmp edx, dword [edi + 0xc]
mov dword [esp + 0xa4], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
jl 0x451800
mov ebx, dword [esp + 0xa0]
mov eax, dword [esp + 0x14]
add esi, dword [esp + 0x60]
add dword [esp + 0x30], 4
add eax, 1
cmp eax, dword [edi + 0x10]
mov dword [esp + 0xa4], esi
mov dword [esp + 0x14], eax
jl 0x451760
mov eax, dword [esp + 0x20]
push eax
call fcn.004ad279
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004ad279
mov edx, dword [esp + 0x24]
push edx
call fcn.004ad279
mov eax, dword [esp + 0x30]
push eax
call fcn.004ad279
add esp, 0x10
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x14