Function at 0x413560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f9800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov esi, ecx
call fcn.0040e180
mov edi, eax
mov eax, dword [0x55a6f0]
mov dword [esp + 8], eax
push 0x55eb24
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call fcn.004dc8f0
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.0040e180
mov ecx, dword [eax + 0x1a0]
test ecx, ecx
je 0x4135df
mov ecx, esi
call fcn.0040e180
mov ecx, dword [eax + 0x1ac]
push ecx
mov edx, dword [eax + 0x1a8]
lea eax, [esp + 0x10]
push edx
push str._.3f
push eax
call fcn.004d5408
add esp, 0x10
test edi, edi
je 0x41377f
push ebx
push ebp
mov ecx, esi
call fcn.0040e180
add eax, 0x180
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
test ebx, ebx
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], eax
jne 0x413660
test ebp, ebp
jne 0x413660
mov ecx, edi
sub ecx, ebp
jne 0x413660
sub eax, ebx
jne 0x413660
push 0x55eb24
lea ecx, [esi + 0x2a4]
call fcn.004dc322
push 0x55eb24
lea ecx, [esi + 0x268]
call fcn.004dc322
push 0x55eb24
lea ecx, [esi + 0x22c]
call fcn.004dc322
push 0x55eb24
lea ecx, [esi + 0x1f0]
call fcn.004dc322
mov edx, dword [esp + 0x14]
push edx
jmp 0x41374e
push ebp
lea eax, [esp + 0x14]
push 0x54f184
push eax
call fcn.004d5408
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
lea ecx, [esi + 0x2a4]
call fcn.004dc322
push ebx
lea edx, [esp + 0x14]
push 0x54f184
push edx
call fcn.004d5408
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esi + 0x268]
push eax
call fcn.004dc322
sub edi, ebp
lea ecx, [esp + 0x10]
mov eax, edi
cdq
xor eax, edx
sub eax, edx
push eax
push 0x54f184
push ecx
mov dword [esp + 0x24], eax
call fcn.004d5408
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esi + 0x22c]
push edx
call fcn.004dc322
mov ebp, dword [esp + 0x2c]
sub ebp, ebx
mov eax, ebp
cdq
xor eax, edx
sub eax, edx
push eax
lea eax, [esp + 0x14]
push 0x54f184
push eax
call fcn.004d5408
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
lea ecx, [esi + 0x1f0]
call fcn.004dc322
test edi, edi
je 0x413749
test ebp, ebp
je 0x413749
fild dword [esp + 0x18]
mov eax, ebp
sub esp, 8
cdq
fstp qword [esp + 0x28]
xor eax, edx
sub eax, edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [esp + 0x28]
fdiv qword [esp + 0x20]
fstp qword [esp]
push str._.3f
push edx
call fcn.004d5408
add esp, 0x10
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esi + 0x1b4]
call fcn.004dc322
mov ecx, esi
call fcn.0040e180
mov eax, dword [eax + 0x1a0]
mov ecx, dword [esi + 0xa4]
push 0
push eax
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
pop ebx
jmp 0x4137e5
push 0x55eb24
lea ecx, [esi + 0x2a4]
call fcn.004dc322
push 0x55eb24
lea ecx, [esi + 0x268]
call fcn.004dc322
push 0x55eb24
lea ecx, [esi + 0x22c]
call fcn.004dc322
push 0x55eb24
lea ecx, [esi + 0x1f0]
call fcn.004dc322
push 0x55eb24
lea ecx, [esi + 0x1b4]
call fcn.004dc322
mov edx, dword [esi + 0xa4]
push 0
push 0
push 0xf1
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.004dc882
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.004dc882
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret