Function at 0x40c1c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541485
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi]
call dword [eax + 0x30]
mov eax, dword [ebp + 0xc]
add esi, 4
push 0
push dword [0x5db42c]
mov ecx, 0x5d6b9c
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
test eax, eax
push 0
push dword [ebp + 8]
cmovne ecx, eax
mov edi, dword [ecx + 4]
mov edx, dword [ecx + 0xc]
mov esi, dword [ecx]
sub edx, edi
mov eax, dword [ecx + 8]
push edx
sub eax, esi
push eax
push edi
push esi
push dword [ebp + 0x14]
push ebx
push str.AtlAxWin140
push dword [ebp + 0x18]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x10]
mov dword [ebp + 0xc], 0
mov dword [esi], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0040d290
test eax, eax
jns 0x40c276
mov edx, dword [esi]
mov ecx, 0x584054
push 0
sub esp, 0xc
push 0
push 0
call fcn.0040da10
jmp 0x40c2af
mov dword [ebp + 0x10], 0
mov byte [ebp - 4], 4
lea edx, [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
push 0x578480
push edx
mov ecx, dword [eax]
push 0
push dword [esi]
push 0x584054
push eax
call dword [ecx + 0x10]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40c2af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40c2c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x2c]
push eax
mov ecx, esi
call fcn.0040ce10
lea edi, [ebx + 8]
test edi, edi
je 0x40c32a
mov dword [edi], 0
mov dword [ebp + 0xc], 0
mov dword [ebp - 4], 8
push 0
push 0
push dword [0x5dc474]
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [ebp + 0xc], esi
test esi, esi
je 0x40c316
mov eax, dword [esi]
push edi
push 0x584044
push esi
call dword [eax]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40c327
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea esi, [ebx + 4]
mov ecx, dword [edi]
lea edx, [ebx + 0x10]
push edx
push 0x584034
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp + 0x10], 0
mov dword [ebp - 4], 0xb
lea edx, [ebp + 0x10]
mov ecx, dword [ebx + 0x10]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0x14], ecx
test ecx, ecx
je 0x40c3ae
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], eax
cmp dword [eax + 0xc], 0
jne 0x40c3ae
mov eax, dword [ecx]
push ecx
mov dword [ebp + 8], ecx
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, dword [ecx + 0xc]
mov dword [ebp + 8], eax
mov dword [ecx + 0xc], edx
mov byte [ebp - 4], 0xb
test eax, eax
je 0x40c398
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
add eax, 0x10
push eax
push 0x583ee8
push edx
call ecx
mov ecx, dword [ebx + 0x10]
push dword [ebx + 0x18]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40c3ce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi]
lea eax, [ebx + 0xc]
push eax
push 0x5840b8
mov edx, ebx
call fcn.00414f00
mov eax, dword [edi]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x100]
mov ecx, dword [edi]
push 0xffffffffffffffff
push ecx
mov edx, dword [ecx]
call dword [edx + 0xf0]
mov edx, dword [ebx]
mov ecx, ebx
push dword [esi]
call dword [edx + 0x20]
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14