Function at 0x40d810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1f35
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x69001c]
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 [0x696b84]
mov ecx, 0x690b9c
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.0040e9c0
test eax, eax
jns 0x40d8c6
mov edx, dword [esi]
mov ecx, 0x617224
push 0
sub esp, 0xc
push 0
push 0
call fcn.0040f140
jmp 0x40d8ff
mov dword [ebp + 0x10], 0
mov byte [ebp - 4], 4
lea edx, [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
push 0x60b530
push edx
mov ecx, dword [eax]
push 0
push dword [esi]
push 0x617224
push eax
call dword [ecx + 0x10]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40d8ff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40d913
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.0040e540
lea edi, [ebx + 8]
test edi, edi
je 0x40d97a
mov dword [edi], 0
mov dword [ebp + 0xc], 0
mov dword [ebp - 4], 8
push 0
push 0
push dword [0x697884]
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [ebp + 0xc], esi
test esi, esi
je 0x40d966
mov eax, dword [esi]
push edi
push 0x617214
push esi
call dword [eax]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40d977
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 0x617204
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 0x40d9fe
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], eax
cmp dword [eax + 0xc], 0
jne 0x40d9fe
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 0x40d9e8
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 0x6170b4
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 0x40da1e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi]
lea eax, [ebx + 0xc]
push eax
push 0x617288
mov edx, ebx
call fcn.00416630
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