Function at 0x460300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
mov edi, ecx
je 0x4608fa
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov al, byte [edi + 0x74]
mov byte [esp + 0x58], 2
test al, al
push esi
je 0x46068d
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
call fcn.004051b0
mov edx, dword [edi + 0x80]
mov ecx, esi
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
movsx ebx, word [edi + 0x86]
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
mov eax, ecx
cdq
idiv ebx
mov eax, ecx
mov dword [esp + 0xc], edx
cdq
idiv ebx
cmp eax, 1
jl 0x4608fa
movsx edx, word [edi + 0x84]
sub edx, 2
cmp eax, edx
jg 0x4608fa
mov eax, dword [esp + 0xc]
cmp eax, 1
jl 0x4608fa
add ebx, 0xfffffffe
cmp eax, ebx
jg 0x4608fa
mov cl, byte [esi - 0xc]
lea eax, [esi - 0x18]
cmp cl, 9
jb 0x4608fa
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
call fcn.00405270
mov cl, byte [esi + 0x24]
lea eax, [esi + 0x18]
cmp cl, 9
jb 0x4608fa
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00405270
movsx eax, word [edi + 0x86]
mov ebx, esi
lea edx, [eax + eax*2]
shl edx, 3
sub ebx, edx
cmp byte [ebx + 0xc], 9
jb 0x4608fa
lea eax, [esp + 0xc]
push ebx
push eax
lea ecx, [esp + 0x34]
call fcn.00405270
movsx eax, word [edi + 0x86]
lea ecx, [eax + eax*2]
mov al, byte [esi + ecx*8 + 0xc]
cmp al, 9
lea edi, [esi + ecx*8]
jb 0x4608fa
lea edx, [esp + 0xc]
push edi
push edx
lea ecx, [esp + 0x34]
call fcn.00405270
lea eax, [esp + 0xc]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x40140000
call fcn.00473780
lea eax, [esi + 0x18]
push ebx
push eax
lea eax, [esp + 0x58]
push esi
push eax
call fcn.00473480
add esp, 0x1c
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 3
call fcn.004051b0
lea eax, [esi - 0x18]
lea edx, [esp + 0x44]
push eax
push ebx
push esi
push edx
mov byte [esp + 0x68], 2
call fcn.00473480
add esp, 0x10
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 4
call fcn.00405270
lea eax, [esi - 0x18]
push edi
push eax
lea ecx, [esp + 0x4c]
push esi
push ecx
mov byte [esp + 0x68], 2
call fcn.00473480
add esp, 0x10
lea edx, [esp + 0xc]
push eax
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 5
call fcn.00405270
lea eax, [esi + 0x18]
mov byte [esp + 0x58], 2
push eax
push edi
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.00473480
add esp, 0x10
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 6
call fcn.00405270
fld dword [esp + 0x28]
fld dword [esp + 0x24]
fld dword [esp + 0x20]
mov byte [esp + 0x58], 2
fmul dword [esp + 0x20]
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fld st(0)
fabs
fcomp qword [0x4e00d0]
fnstsw ax
test ah, 0x41
je 0x4605b3
fstp st(0)
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
jmp 0x4605d3
fld dword [esp + 0x20]
fdiv st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fdiv st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fdiv st(1)
fstp dword [esp + 0x28]
fstp st(0)
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
lea edx, [esp + 0x44]
push esi
push edx
mov ecx, edi
call fcn.004051b0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
lea eax, [esp + 0xc]
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 7
call fcn.00405230
fld dword [esp + 0x24]
fmul dword [eax + 4]
fld dword [esp + 0x20]
fmul dword [eax]
mov esi, dword [ebp + 0x14]
lea edx, [esp + 0x20]
push edx
push esi
faddp st(1)
fld dword [esp + 0x30]
fmul dword [eax + 8]
lea eax, [esp + 0x4c]
mov byte [esp + 0x60], 2
faddp st(1)
push eax
fstp qword [esi]
call fcn.00405980
add esp, 0xc
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 8
call fcn.004051b0
fld qword [esi]
lea edx, [esp + 0x38]
lea eax, [esp + 0x44]
fabs
fstp qword [esi]
push edx
push eax
mov ecx, edi
mov byte [esp + 0x60], 2
call fcn.00405270
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x34]
call fcn.004051b0
mov ebx, dword [edi + 0x80]
mov ecx, esi
sub ecx, ebx
movsx ebx, word [edi + 0x86]
sar ecx, 4
mov eax, ecx
cdq
idiv ebx
mov eax, ecx
mov dword [esp + 0xc], edx
cdq
idiv ebx
cmp eax, 1
jl 0x4608fa
movsx edx, word [edi + 0x84]
sub edx, 2
cmp eax, edx
jg 0x4608fa
mov eax, dword [esp + 0xc]
cmp eax, 1
jl 0x4608fa
add ebx, 0xfffffffe
cmp eax, ebx
jg 0x4608fa
mov cl, byte [esi - 4]
lea eax, [esi - 0x10]
cmp cl, 9
jb 0x4608fa
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
call fcn.00405270
mov cl, byte [esi + 0x1c]
lea eax, [esi + 0x10]
cmp cl, 9
jb 0x4608fa
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00405270
movsx edx, word [edi + 0x86]
shl edx, 4
mov ebx, esi
sub ebx, edx
cmp byte [ebx + 0xc], 9
jb 0x4608fa
lea eax, [esp + 0x44]
push ebx
push eax
lea ecx, [esp + 0x34]
call fcn.00405270
movsx edi, word [edi + 0x86]
shl edi, 4
add edi, esi
cmp byte [edi + 0xc], 9
jb 0x4608fa
lea ecx, [esp + 0x44]
push edi
push ecx
lea ecx, [esp + 0x34]
call fcn.00405270
lea edx, [esp + 0xc]
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x40140000
call fcn.00473780
lea eax, [esi + 0x10]
push ebx
push eax
lea edx, [esp + 0x58]
push esi
push edx
call fcn.00473330
add esp, 0x1c
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 9
call fcn.004051b0
lea eax, [esi - 0x10]
lea ecx, [esp + 0x44]
push eax
push ebx
push esi
push ecx
mov byte [esp + 0x68], 2
call fcn.00473330
add esp, 0x10
lea edx, [esp + 0xc]
push eax
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 0xa
call fcn.00405270
lea eax, [esi - 0x10]
push edi
push eax
lea eax, [esp + 0x4c]
push esi
push eax
mov byte [esp + 0x68], 2
call fcn.00473330
add esp, 0x10
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 0xb
call fcn.00405270
lea eax, [esi + 0x10]
lea edx, [esp + 0x44]
push eax
push edi
push esi
push edx
mov byte [esp + 0x68], 2
call fcn.00473330
add esp, 0x10
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 0xc
call fcn.00405270
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 2
call fcn.00405150
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
lea ecx, [esp + 0x44]
push esi
push ecx
mov ecx, edi
call fcn.004051b0
push esi
lea ecx, [esp + 0x48]
call fcn.00405130
lea edx, [esp + 0xc]
push eax
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 0xd
call fcn.00405230
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 0xe
push ecx
mov ecx, eax
call fcn.00417dc0
mov esi, dword [ebp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x48]
fstp qword [esi]
push esi
push eax
mov byte [esp + 0x64], 2
call fcn.00405980
add esp, 0xc
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 0xf
call fcn.004051b0
fld qword [esi]
lea edx, [esp + 0x38]
lea eax, [esp + 0x44]
fabs
fstp qword [esi]
push edx
push eax
mov ecx, edi
mov byte [esp + 0x60], 2
call fcn.00405270
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x50]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10