Function at 0x4568c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f4e5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push esi
push edi
push 0xa
lea ecx, [esp + 0x70]
call fcn.004a0474
mov dword [esp + 0x6c], 0x504dc4
mov dword [esp + 0x88], 0x504d60
mov edi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x138], ebx
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x1c]
cmp ecx, ebx
lea ecx, [edi + 0x1c]
sete al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 0x412e8480
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0x3ff00000
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x3ff00000
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x3ff00000
mov dword [esp + 0x30], ebx
mov esi, eax
call dword [edx + 4]
cmp esi, ebx
jne 0x457080
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x457080
mov esi, dword [0x4ff3ac]
push 0
push edi
call esi
mov edi, eax
add esp, 8
test edi, edi
je 0x456e17
lea eax, [esp + 0x6c]
push eax
push ebx
push edi
call dword [0x500904]
add esp, 0xc
test eax, eax
je 0x456ade
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x88]
call dword [edx]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x88]
add edx, esi
mov esi, dword [esp + 0x70]
lea ecx, [esp + 0x88]
mov dword [esp + 0x34], edx
call dword [eax + 0x2c]
mov eax, esi
test esi, esi
mov dword [esp + 0x40], eax
je 0x456abb
mov ecx, dword [eax]
mov esi, eax
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x40]
mov dword [esp + 0x40], ecx
push edx
lea ecx, [esp + 0x8c]
call dword [eax + 0x38]
mov ecx, dword [esi + 8]
fld qword [esp + 0xc]
fsub qword [ecx + 0x28]
fcomp qword [0x5028c8]
fnstsw ax
test ah, 1
jne 0x456a5a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0xc], edx
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], edi
jmp 0x456aa4
fld qword [esp + 0x14]
fcomp qword [ecx + 0x28]
fnstsw ax
test ah, 0x41
jne 0x456a88
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jmp 0x456aa4
fld qword [esp + 0x24]
fcomp qword [ecx + 0x28]
fnstsw ax
test ah, 0x41
jne 0x456aa4
mov edx, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x456aaf
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4569e3
lea ecx, [esp + 0x6c]
call fcn.004a0282
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x88]
call dword [eax + 0x28]
mov esi, dword [0x4ff3ac]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
inc eax
push eax
push ecx
mov dword [esp + 0x24], eax
call esi
mov edi, eax
add esp, 8
test edi, edi
jne 0x45698a
mov eax, dword [esp + 0x34]
test eax, eax
je 0x456e17
cmp eax, 1
jne 0x456b4b
fld qword [esp + 0xc]
fcomp qword [0x502918]
fnstsw ax
test ah, 1
jne 0x456e17
fld qword [0x502648]
fsub qword [esp + 0xc]
fcomp qword [0x502918]
fnstsw ax
test ah, 1
jne 0x456e17
cmp byte [ebx + 4], 3
je 0x456e17
jmp 0x456be9
cmp eax, 2
jne 0x456be9
fld qword [esp + 0xc]
fcomp qword [0x502918]
fnstsw ax
test ah, 1
je 0x456b95
fld qword [esp + 0x14]
fcomp qword [0x502918]
fnstsw ax
test ah, 1
jne 0x456e17
fld qword [0x502648]
fsub qword [esp + 0x14]
fcomp qword [0x502918]
fnstsw ax
test ah, 1
jne 0x456e17
fld qword [0x502648]
fsub qword [esp + 0xc]
fcom qword [0x502918]
fnstsw ax
test ah, 1
je 0x456bc1
fld qword [esp + 0x14]
fcomp qword [0x502918]
fnstsw ax
test ah, 1
jne 0x456e15
fcomp qword [0x502918]
fnstsw ax
test ah, 1
je 0x456be9
fld qword [0x502648]
fsub qword [esp + 0x14]
fcomp qword [0x502918]
fnstsw ax
test ah, 1
jne 0x456e17
mov eax, dword [esp + 0x30]
cmp byte [eax + 4], 3
jne 0x456ccc
fld qword [esp + 0xc]
fcomp qword [0x502918]
mov edx, dword [eax + 0xb0]
lea esi, [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov ecx, 6
mov dword [esp + 0x20], eax
lea edi, [esp + 0xac]
fnstsw ax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
test ah, 1
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], edx
je 0x456c4f
fld qword [esp + 0x14]
fadd qword [esp + 0xc]
fmul qword [0x502630]
fstp qword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
call dword [0x500914]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push eax
push ecx
push edx
call fcn.0041b5d0
fld qword [esp + 0x44]
fcomp qword [0x502918]
mov ecx, eax
add esp, 0x38
fnstsw ax
test ah, 1
je 0x456d98
neg ecx
jmp 0x456d98
lea ecx, [esp + 0x118]
lea edx, [esp + 0x100]
push ecx
mov esi, dword [0x500950]
push edx
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push ecx
push edx
push eax
call esi
lea eax, [esp + 0x134]
lea ecx, [esp + 0x11c]
push eax
lea edx, [esp + 0xf0]
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x70]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
call esi
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x110]
mov eax, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x10c]
push edx
mov edx, dword [esp + 0xe0]
push eax
mov eax, dword [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0xe0]
push 0
push 0
push 0
push 0
push edx
mov edx, dword [esp + 0xf0]
push eax
push ecx
push edx
push 0
push 0
push 0
push 0
call fcn.0041ad50
fcomp qword [0x5028a8]
add esp, 0x78
fnstsw ax
test ah, 0x41
jne 0x456d95
mov ecx, 1
jmp 0x456d98
or ecx, 0xffffffff
cmp dword [ebp + 0x10], ecx
jne 0x456dd4
fld qword [esp + 0xc]
fcomp qword [0x502918]
fnstsw ax
test ah, 1
je 0x456dc3
fld qword [esp + 0x24]
fadd qword [esp + 0x14]
mov eax, dword [ebp + 0x14]
fmul qword [0x502630]
fstp qword [eax]
jmp 0x456de7
fld qword [esp + 0xc]
mov ecx, dword [ebp + 0x14]
fmul qword [0x502630]
fstp qword [ecx]
jmp 0x456de7
fld qword [esp + 0x14]
fadd qword [esp + 0xc]
mov edx, dword [ebp + 0x14]
fmul qword [0x502630]
fstp qword [edx]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x138], 0xffffffff
call fcn.004a0480
mov eax, 1
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
lea eax, [esp + 0x118]
lea ecx, [esp + 0x100]
push eax
lea edx, [esp + 0xd4]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
push 0x3fe00000
push 0
push ebx
mov ebx, dword [0x500950]
call ebx
mov ecx, dword [ebp + 0xc]
add esp, 0x1c
cmp byte [ecx + 4], 3
jne 0x456e96
fld qword [esp + 0xc]
fsub qword [0x502630]
fabs
fcomp qword [0x502918]
fnstsw ax
test ah, 1
je 0x456e96
lea edx, [esp + 0x118]
lea eax, [esp + 0x100]
push edx
push eax
lea edx, [esp + 0xd8]
lea eax, [esp + 0x54]
push edx
push eax
push 0x3fd33333
push 0x33333333
push ecx
call ebx
add esp, 0x1c
mov ecx, dword [ebp + 8]
xor edi, edi
push edi
push ecx
call esi
mov esi, eax
add esp, 8
test esi, esi
je 0x456f32
mov ebx, dword [0x500924]
lea edx, [esp + 0x8c]
lea eax, [esp + 0xc4]
push edx
lea ecx, [esp + 0xec]
push eax
push ecx
lea edx, [esp + 0x58]
push esi
push edx
call ebx
fld qword [esp + 0x78]
fcomp qword [esp + 0xa0]
add esp, 0x14
fnstsw ax
test ah, 0x41
jne 0x456f17
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], esi
mov ecx, dword [ebp + 8]
inc edi
push edi
push ecx
call dword [0x4ff3ac]
mov esi, eax
add esp, 8
test esi, esi
jne 0x456eb2
mov ebx, dword [0x500950]
mov eax, dword [esp + 0x30]
cmp byte [eax + 4], 3
jne 0x456fa6
mov edx, dword [eax + 0xb0]
lea esi, [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov ecx, 6
lea edi, [esp + 0xac]
mov dword [esp + 0x20], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x20], edx
push edx
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push edx
push eax
push ecx
call fcn.0041b5d0
add esp, 0x28
jmp 0x45704e
lea edx, [esp + 0x118]
lea ecx, [esp + 0x100]
push edx
push ecx
lea edx, [esp + 0x9c]
lea ecx, [esp + 0xf0]
push edx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push ecx
push eax
call ebx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x118]
push ecx
mov ecx, dword [esp + 0x118]
push edx
mov edx, dword [esp + 0x118]
push eax
mov eax, dword [esp + 0x118]
push ecx
mov ecx, dword [esp + 0xd4]
push edx
mov edx, dword [esp + 0xd4]
push eax
mov eax, dword [esp + 0xd4]
push ecx
mov ecx, dword [esp + 0xd4]
push edx
push eax
push ecx
push 0
push 0
push 0
push 0
call fcn.0041ad50
fcomp qword [0x5028a8]
add esp, 0x5c
fnstsw ax
test ah, 1
je 0x45704b
mov eax, 1
jmp 0x45704e
or eax, 0xffffffff
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x138], 0xffffffff
cmp eax, ecx
lea ecx, [esp + 0x6c]
je 0x45708f
call fcn.004a0480
xor eax, eax
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x138], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.004a0480
mov ecx, dword [esp + 0x130]
pop edi
pop esi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret