Function at 0x40abc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f828
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d0074]
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 [0x5d5384]
mov ecx, 0x5d0acc
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.0040bc20
test eax, eax
jns 0x40ac76
mov edx, dword [esi]
mov ecx, 0x57e76c
push 0
sub esp, 0xc
push 0
push 0
call fcn.0040c420
jmp 0x40acaf
mov dword [ebp + 0x10], 0
mov byte [ebp - 4], 4
lea edx, [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
push 0x571470
push edx
mov ecx, dword [eax]
push 0
push dword [esi]
push 0x57e76c
push eax
call dword [ecx + 0x10]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40acaf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40acc3
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]
mov edi, eax
mov dword [ebp + 0xc], 0
mov dword [ebp - 4], 8
lea eax, [ebp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0040bc20
test eax, eax
js 0x40acf7
mov eax, dword [ebp + 0xc]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40ad0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edi, [ebx + 8]
test edi, edi
je 0x40ad5d
mov dword [edi], 0
mov dword [ebp + 0xc], 0
mov dword [ebp - 4], 0xb
push 0
push 0
push dword [0x5d6378]
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [ebp + 0xc], esi
test esi, esi
je 0x40ad4c
mov eax, dword [esi]
push edi
push 0x57e75c
push esi
call dword [eax]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40ad5d
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [edi]
lea edx, [ebx + 0x10]
push edx
push 0x57e74c
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp + 0xc], 0
mov dword [ebp - 4], 0xe
lea edx, [ebp + 0xc]
mov ecx, dword [ebx + 0x10]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x40add5
mov esi, dword [ebx + 0x18]
cmp dword [esi + 0xc], 0
jne 0x40add5
mov eax, dword [ecx]
push ecx
mov dword [ebp + 0x10], ecx
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov dword [esi + 0xc], ecx
mov byte [ebp - 4], 0xe
test eax, eax
je 0x40adc2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
lea eax, [esi + 0x10]
push eax
push 0x57e600
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 + 0xc]
test eax, eax
je 0x40adf5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi]
lea eax, [ebx + 0xc]
push eax
push 0x57e7fc
mov edx, ebx
call fcn.00413660
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 [ebx + 4]
call dword [edx + 0x20]
mov eax, dword [ebx + 4]
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