Function at 0x4154e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4793c8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0x142], 0
je 0x4155f5
fld1
mov eax, dword [ebx]
mov eax, dword [eax + 0x1c]
fst dword [esp + 0x54]
fldz
lea ecx, [esp + 0x54]
fst dword [esp + 0x58]
push ecx
fst dword [esp + 0x60]
lea edx, [esp + 0x24]
fst dword [esp + 0x64]
push edx
fst dword [esp + 0x70]
mov ecx, ebx
fst dword [esp + 0x74]
mov byte [ebx + 0x11e], 1
fstp dword [esp + 0x78]
mov byte [esp + 0x80], 1
fst dword [esp + 0x6c]
fstp dword [esp + 0x7c]
call eax
mov edx, dword [ebp + 8]
fld dword [edx]
mov ecx, eax
fild dword [ecx]
fcompp
fnstsw ax
test ah, 0x41
jp 0x4155d8
fld dword [edx]
fild dword [ecx + 8]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4155d8
fld dword [edx + 4]
fild dword [ecx + 4]
fcompp
fnstsw ax
test ah, 0x41
jp 0x4155d8
fld dword [edx + 4]
fild dword [ecx + 0xc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4155d8
mov eax, ebx
call fcn.004130b0
cmp byte [eax + 0xc4], 0
jne 0x4155d8
push 0x7f82
push 0
mov byte [eax + 0xc5], 0
mov byte [eax + 0xc4], 1
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 0xf4241
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx + 0x140], 0
jne 0x415622
mov byte [ebx + 0x11e], 0
mov eax, 0xf4241
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx + 0x143], 0
je 0x4155d8
mov esi, dword [ebp + 8]
lea edi, [esp + 0x20]
call fcn.00414d80
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x18], ecx
lea esi, [ebx + 0x144]
lea edi, [esp + 0x20]
mov ecx, ebx
mov dword [esp + 0x1c], edx
call fcn.00414dc0
fld dword [esp + 0x18]
fsub dword [esp + 0x20]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fsub dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [ebx + 0x84]
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [ebx + 0x88]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [ebx + 0x14c]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [ebx + 0x150]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, ebx
call fcn.00412f60
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov ecx, ebx
call edx
mov eax, ebx
call fcn.004130b0
fldz
mov edi, dword [eax]
or ecx, 0xffffffff
push ecx
fstp dword [esp]
push 1
push 1
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
or esi, ecx
or ecx, ecx
mov dword [edx + 4], esi
mov dword [edx + 8], ecx
or ecx, 0xffffffff
mov dword [edx + 0xc], ecx
mov ecx, eax
mov eax, dword [edi + 0x4c]
call eax
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x8000000
mov dword [esp + 0x50], ebx
mov dword [esp + 0x88], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x58]
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call edx
lea esi, [esp + 0x30]
mov dword [esp + 0x88], 0xffffffff
call fcn.004061a0
mov eax, 0xf4240
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4