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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ff7d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [edx + 0xc]
push edi
mov edi, ecx
xor esi, esi
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x20], esi
mov dword [esp + 0x3c], eax
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x10], esi
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x28], edi
cmp eax, esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
je 0x456067
mov ecx, dword [edx + 0xc]
mov eax, dword [ebx + 0x3c]
cmp eax, esi
mov dword [esp + 0x2c], esi
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], esi
fild dword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov ecx, 0x3ff00000
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
fstp qword [esp + 0x54]
fild dword [esp + 0x18]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ecx
fstp qword [esp + 0x1c]
je 0x455eed
jmp 0x455b09
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 8]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
mov eax, dword [edi + 4]
dec eax
je 0x455c06
dec eax
je 0x455b91
dec eax
jne 0x455ee3
mov eax, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
fld qword [esp + 0x5c]
fadd qword [0x506f38]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edi
call fcn.004c22c8
cmp eax, 0xb4
mov dword [esp + 0x14], eax
jg 0x455b79
je 0x455b70
cmp eax, esi
je 0x455b70
cmp eax, 0x5a
jne 0x455ee3
mov dword [esp + 0x10], 1
jmp 0x455ee3
mov dword [esp + 0x10], esi
jmp 0x455ee3
cmp eax, 0x10e
jne 0x455ee3
mov dword [esp + 0x10], 1
jmp 0x455ee3
cmp dword [esp + 0x10], esi
je 0x455ba7
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
jmp 0x455bb5
mov edx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
fld qword [esp + 0x34]
fsub qword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
call fcn.004c238f
fild dword [esp + 0x44]
fstp qword [esp + 0x74]
fdiv qword [esp + 0x74]
fstp qword [esp + 0x54]
fld qword [esp + 0x34]
fsub qword [esp + 0x5c]
fstp qword [esp]
call fcn.004c238f
fild dword [esp + 0x48]
mov ecx, dword [edi + 0x10]
add esp, 8
mov dword [ebx + 0x10], ecx
fstp qword [esp + 0x6c]
fdiv qword [esp + 0x6c]
fstp qword [esp + 0x44]
jmp 0x455ee3
fld qword [esp + 0x2c]
fsub qword [esp + 0x54]
sub esp, 8
fstp qword [esp]
call fcn.004c238f
fstp qword [esp + 0x6c]
fld qword [esp + 0x3c]
fsub qword [esp + 0x24]
fstp qword [esp]
call fcn.004c238f
fstp qword [esp + 0x74]
lea esi, [edi + 8]
add esp, 8
mov ecx, esi
call fcn.004ebc08
mov eax, dword [esp + 0x14]
cmp eax, 0xb4
jg 0x455de9
je 0x455d51
test eax, eax
je 0x455ce4
cmp eax, 0x5a
jne 0x455e7e
mov edx, dword [esi + 8]
mov ecx, dword [esi]
sub edx, ecx
mov eax, ecx
add edx, eax
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], edx
sub eax, ecx
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
fmul qword [esp + 0x44]
sub ecx, eax
fsubr qword [esp + 0x64]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
fild dword [edi + 0xc]
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
fmul qword [esp + 0x4c]
fadd qword [esp + 0x34]
fstp qword [esp + 0x34]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
fmul qword [esp + 0x44]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x54]
fild dword [esp + 0x1c]
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
jmp 0x455e72
fild dword [edi + 0xc]
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 4]
sub edx, edi
mov eax, dword [esi + 8]
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
fmul qword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov ecx, dword [esi]
sub eax, ecx
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
fild dword [esi]
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
fmul qword [esp + 0x4c]
fadd qword [esp + 0x34]
fstp qword [esp + 0x34]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
fmul qword [esp + 0x44]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x54]
fild dword [esp + 0x1c]
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
jmp 0x455e72
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov edx, dword [edi + 0xc]
sub ecx, eax
add ecx, edx
mov edx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
mov eax, dword [esi]
fild dword [esp + 0x1c]
sub edx, eax
mov edi, eax
add edx, edi
mov eax, dword [esi + 0xc]
fstp qword [esp + 0x54]
fld qword [esp + 0x54]
fmul qword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov ecx, dword [esi + 4]
sub eax, ecx
mov ecx, dword [esi + 8]
fsubr qword [esp + 0x64]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, edi
sub ecx, eax
fstp qword [esp + 0x64]
fld qword [esp + 0x64]
fmul qword [esp + 0x4c]
fsubr qword [esp + 0x6c]
fadd qword [esp + 0x34]
fstp qword [esp + 0x34]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
fmul qword [esp + 0x44]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x54]
fild dword [esp + 0x1c]
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
jmp 0x455e72
cmp eax, 0x10e
jne 0x455e7e
fild dword [esi]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0xc]
sub edx, ecx
fstp qword [esp + 0x64]
fld qword [esp + 0x64]
fmul qword [esp + 0x44]
add edx, eax
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], edx
mov ecx, dword [esi]
fadd qword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [esi + 0xc]
fstp qword [esp + 0x2c]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
sub ecx, eax
fstp qword [esp + 0x64]
fld qword [esp + 0x64]
fmul qword [esp + 0x4c]
fsubr qword [esp + 0x6c]
fadd qword [esp + 0x34]
fstp qword [esp + 0x34]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
fmul qword [esp + 0x44]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x54]
fild dword [esp + 0x1c]
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
fmul qword [esp + 0x4c]
fadd qword [esp + 0x34]
fstp qword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x455e99
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov ecx, dword [esi]
sub eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 8]
jmp 0x455eaa
mov eax, dword [esi + 8]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
sub eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc]
fld qword [esp + 0x34]
fsub qword [esp + 0x1c]
sub esp, 8
sub eax, ecx
mov dword [esp + 0x48], eax
fstp qword [esp]
call fcn.004c238f
fstp qword [esp + 0x74]
fld qword [esp + 0x34]
fsub qword [esp + 0x5c]
fstp qword [esp]
call fcn.004c238f
fdivr qword [esp + 0x74]
add esp, 8
xor esi, esi
fstp qword [ebx + 0x30]
cmp dword [esp + 0x18], esi
jne 0x455b05
fld qword [esp + 0x2c]
call fcn.004c22c8
fld qword [esp + 0x34]
mov dword [esp + 0x7c], eax
call fcn.004c22c8
fld qword [esp + 0x54]
mov dword [esp + 0x78], eax
call fcn.004c22c8
fld qword [esp + 0x1c]
mov dword [esp + 0x84], eax
call fcn.004c22c8
lea ecx, [esp + 0x78]
mov dword [esp + 0x80], eax
call fcn.004ebc08
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x78]
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, ecx
sub eax, edi
jne 0x455f64
cmp ecx, edx
je 0x455f5f
inc ecx
mov dword [esp + 0x80], ecx
jmp 0x455f64
dec edi
mov dword [esp + 0x78], edi
mov edx, dword [esp + 0x84]
mov eax, edx
sub eax, dword [esp + 0x7c]
jne 0x455f87
cmp edx, dword [esp + 0x1c]
je 0x455f83
inc edx
mov dword [esp + 0x84], edx
jmp 0x455f87
dec dword [esp + 0x7c]
sub esp, 0x10
mov eax, esp
push esi
mov dword [eax], edi
mov edi, dword [esp + 0x90]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00459f80
add esp, 0x14
mov esi, eax
mov dword [esp + 0x18], 3
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
cmp ecx, 0x3e8
jg 0x455fc8
cmp dword [eax + 8], 0x3e8
jle 0x456007
mov edx, dword [esp + 0x3c]
add edx, edx
cmp ecx, edx
jl 0x456007
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 8]
lea edx, [ecx + ecx]
cmp eax, edx
jl 0x456007
push esi
call fcn.0045d330
add esp, 4
mov edi, eax
test esi, esi
je 0x455ff8
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esp + 0x18]
mov esi, edi
dec eax
test eax, eax
mov dword [esp + 0x18], eax
jg 0x455fb1
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push esi
call fcn.0045aaf0
add esp, 0x10
mov edi, eax
test esi, esi
je 0x45602d
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
push eax
push ecx
push edi
call fcn.00459d30
add esp, 0xc
mov esi, eax
test edi, edi
je 0x45604d
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x45605b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov edi, dword [esp + 0x28]
mov dword [ebp + 8], esi
mov edx, dword [ebp + 8]
xor esi, esi
fld qword [ebx + 0x30]
fcomp qword [0x505538]
fnstsw ax
test ah, 0x40
je 0x4560a3
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x28]
fstp qword [esp + 0x6c]
fild dword [esp + 0x1c]
fstp qword [esp + 0x64]
fld qword [esp + 0x6c]
fdiv qword [esp + 0x64]
fstp qword [ebx + 0x30]
cmp dword [esp + 0x10], esi
je 0x4560b5
fld qword [0x506f28]
fdiv qword [ebx + 0x30]
fstp qword [ebx + 0x30]
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + 8]
mov dword [ebx + 8], eax
mov edx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [ebx + 0xc], eax
call fcn.004f1c1b
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x30c], esi
je 0x4560f2
call fcn.004f1c1b
mov eax, dword [eax + 4]
push 1
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x30c]
call fcn.0041b730
mov ecx, dword [edi + 0x58]
cmp ecx, esi
je 0x456100
mov edx, dword [ecx]
push 1
call dword [edx + 4]
push 0x88
call fcn.004dc5c3
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, esi
mov dword [esp + 0x90], esi
je 0x456125
mov ecx, eax
call fcn.00456c20
jmp 0x456127
xor eax, eax
mov ebx, dword [ebp + 8]
mov dword [edi + 0x58], eax
push 0xffffffffffffffff
push 0x18
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x98], 0xffffffff
mov ecx, dword [edx + 8]
mov edx, dword [edx + 4]
push ecx
push edx
mov ecx, eax
call fcn.00457640
mov ecx, dword [edi + 0x5c]
cmp ecx, esi
je 0x45615c
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 0x88
call fcn.004dc5c3
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, esi
mov dword [esp + 0x90], 1
je 0x456185
mov ecx, eax
call fcn.00456c20
jmp 0x456187
xor eax, eax
mov dword [edi + 0x5c], eax
mov edx, dword [ebx + 0xc]
push 0xffffffffffffffff
push 0x18
mov ecx, dword [edx + 8]
mov edx, dword [edx + 4]
push ecx
push edx
mov ecx, eax
mov dword [esp + 0xa0], 0xffffffff
call fcn.00457640
lea ecx, [edi + 0x350]
call fcn.0042d690
mov ecx, dword [esp + 0x88]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc