Function at 0x405650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x464e38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x486ed0]
push ebx
mov ebx, 1
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x30c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push eax
mov byte [esp + 0x40], 4
call edi
cmp eax, 0xffffffff
jle 0x4057f5
mov ecx, dword [esi + 0x30c]
push ebp
push 0
push eax
push 0x150
push ecx
call edi
mov ebp, eax
test ebp, ebp
je 0x405756
push ebp
lea ecx, [esp + 0x2c]
call fcn.0045b362
lea edx, [ebp + 4]
lea ecx, [esp + 0x1c]
push edx
call fcn.0045b362
lea eax, [ebp + 0xc]
lea ecx, [esp + 0x14]
push eax
call fcn.0045b362
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [esp + 0x14]
call fcn.0045b362
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
xor ebx, ebx
test ecx, ecx
mov ecx, dword [ebp + 0x1c]
setne bl
xor edx, edx
test eax, eax
setne dl
xor eax, eax
mov dword [esp + 0x20], edx
test ecx, ecx
setne al
cmp word [ebp + 8], 0
mov dword [esp + 0x24], eax
jne 0x40573d
mov word [ebp + 8], 0xec8
xor ecx, ecx
lea edx, [esp + 0x18]
mov cx, word [ebp + 8]
push ecx
push 0x48099c
push edx
call fcn.00455232
add esp, 0xc
mov al, byte [esi + 0x32c]
pop ebp
test al, al
jne 0x405892
push 1
lea ecx, [esi + 0x2f0]
call fcn.0045ae35
push 1
lea ecx, [esi + 0x200]
call fcn.0045ae35
push 1
lea ecx, [esi + 0x1c4]
call fcn.0045ae35
mov eax, dword [esi + 0x2d0]
push 0
push 0
push 0xcf
push eax
call edi
mov ecx, dword [esi + 0x294]
push 0
push 0
push 0xcf
push ecx
call edi
mov edx, dword [esi + 0x258]
push 0
push 0
push 0xcf
push edx
call edi
mov eax, dword [esi + 0x12c]
push 0
push 0
push 0xcf
push eax
call edi
push 1
lea ecx, [esi + 0xd4]
call fcn.0045ae35
push 1
lea ecx, [esi + 0x98]
call fcn.0045ae35
push 1
jmp 0x40588a
mov al, byte [esi + 0x32c]
test al, al
jne 0x405892
push 0
lea ecx, [esi + 0x2f0]
call fcn.0045ae35
push 0
lea ecx, [esi + 0x200]
call fcn.0045ae35
push 0
lea ecx, [esi + 0x1c4]
call fcn.0045ae35
mov ecx, dword [esi + 0x2d0]
push 0
push ebx
push 0xcf
push ecx
call edi
mov edx, dword [esi + 0x294]
push 0
push ebx
push 0xcf
push edx
call edi
mov eax, dword [esi + 0x258]
push 0
push ebx
push 0xcf
push eax
call edi
mov ecx, dword [esi + 0x12c]
push 0
push ebx
push 0xcf
push ecx
call edi
push 0
lea ecx, [esi + 0xd4]
call fcn.0045ae35
push 0
lea ecx, [esi + 0x98]
call fcn.0045ae35
push 0
lea ecx, [esi + 0x5c]
call fcn.0045ae35
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x2b4]
push edx
call fcn.0045acf2
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x278]
push eax
call fcn.0045acf2
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esi + 0x23c]
call fcn.0045acf2
mov edx, dword [esp + 0xc]
lea ecx, [esi + 0x110]
push edx
call fcn.0045acf2
mov eax, dword [esi + 0xf0]
push 0
push ebx
push 0xf1
push eax
call edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0xb4]
push 0
push ecx
push 0xf1
push edx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x78]
push 0
push eax
push 0xf1
push ecx
call edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call fcn.0045b229
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.0045b229
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.0045b229
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.0045b229
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], 0xffffffff
call fcn.0045b229
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret