Function at 0x40cf40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f425
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5e8024]
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 [0x5ed45c]
mov ecx, 0x5e8bac
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.0040e0f0
test eax, eax
jns 0x40cff6
mov edx, dword [esi]
mov ecx, 0x5940c4
push 0
sub esp, 0xc
push 0
push 0
call fcn.0040e870
jmp 0x40d02f
mov dword [ebp + 0x10], 0
mov byte [ebp - 4], 4
lea edx, [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
push 0x588490
push edx
mov ecx, dword [eax]
push 0
push dword [esi]
push 0x5940c4
push eax
call dword [ecx + 0x10]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40d02f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40d043
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.0040dc70
lea edi, [ebx + 8]
test edi, edi
je 0x40d0aa
mov dword [edi], 0
mov dword [ebp + 0xc], 0
mov dword [ebp - 4], 8
push 0
push 0
push dword [0x5ee4b4]
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [ebp + 0xc], esi
test esi, esi
je 0x40d096
mov eax, dword [esi]
push edi
push 0x5940b4
push esi
call dword [eax]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40d0a7
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 0x5940a4
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 0x40d12e
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], eax
cmp dword [eax + 0xc], 0
jne 0x40d12e
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 0x40d118
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 0x593f58
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 0x40d14e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi]
lea eax, [ebx + 0xc]
push eax
push 0x594128
mov edx, ebx
call fcn.00415d60
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