Function at 0x469b50
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61d9e2
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
push ebx
call fcn.0046d2e0
mov eax, dword [edi + 0x68]
xor esi, esi
cmp eax, esi
je 0x469bfb
cmp dword [eax + 0x20], esi
je 0x469bfb
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.user32.dll_GetParent]
push eax
call fcn.005680c4
cmp ebx, esi
je 0x469bbd
cmp eax, esi
jne 0x469bb1
xor eax, eax
jmp 0x469bb4
mov eax, dword [eax + 0x20]
cmp eax, dword [ebx + 0x20]
je 0x469ec6
mov ecx, dword [edi + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
mov ecx, dword [edi + 0x68]
cmp ecx, esi
je 0x469bd7
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [edi + 0x6c]
cmp ecx, esi
mov dword [edi + 0x68], esi
je 0x469bfb
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
mov ecx, dword [edi + 0x6c]
cmp ecx, esi
je 0x469bf8
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [edi + 0x6c], esi
cmp ebx, esi
je 0x469ec6
cmp dword [ebx + 0x20], esi
je 0x469ec6
cmp dword [0x6bce3c], esi
jne 0x469c1d
test dword [edi + 0xc], 0x40000
je 0x469c22
mov esi, 1
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x38]
push 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x3c]
push 0xfffffffffffffffe
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.user32.dll_InflateRect]
mov eax, dword [edi + 0xd8]
add eax, dword [esp + 0x20]
mov edx, dword [edi]
mov edx, dword [edx + 0xa8]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push ebx
mov ecx, edi
call edx
test eax, eax
mov dword [edi + 0x68], eax
je 0x469ec6
xor ebx, ebx
test esi, esi
sete bl
mov ecx, eax
push ebx
call fcn.0056cc89
cmp dword [0x6bce60], 0
je 0x469d39
mov ecx, dword [edi + 0x68]
call fcn.0056cb08
and al, 3
cmp al, 2
jne 0x469d39
push 0x5c
call fcn.005655ab
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x38], 0
je 0x469cca
push edi
mov esi, eax
call fcn.0046aee0
jmp 0x469ccc
xor eax, eax
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [edi + 0x68]
mov dword [edi + 0x6c], eax
mov esi, 0x50001080
call fcn.0056cb08
test eax, 0x10000
je 0x469cf0
mov esi, 0x50011080
mov eax, dword [edi + 8]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, dword [edi + 0x6c]
lea edx, [esp + 0x24]
push edx
push esi
call fcn.00571cad
mov edx, dword [edi + 0x6c]
mov ecx, 1
mov eax, 0x6bd90c
call fcn.00431870
mov ecx, dword [edi + 0x68]
call fcn.00430b30
mov ecx, eax
call fcn.00430810
mov ecx, dword [edi + 0x6c]
push eax
call fcn.0046b4a0
mov ecx, dword [edi + 0x6c]
push ebx
call fcn.0056cc89
mov eax, edi
call fcn.00469f60
mov ecx, dword [0x6bd910]
mov eax, dword [edi + 0x68]
mov edx, dword [eax + 0x20]
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push 1
push ecx
push 0x30
push edx
call ebx
mov eax, dword [edi + 0x68]
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x146
push eax
call ebx
test eax, eax
jle 0x469e90
lea ecx, [edi + 0x70]
call fcn.0058d842
mov edx, dword [edi]
mov eax, dword [edx + 0xb0]
mov ecx, edi
call eax
lea esi, [edi + 0x8c]
call fcn.004a6180
mov eax, dword [edi + 0x68]
mov ecx, dword [eax + 0x20]
xor esi, esi
push esi
push esi
push 0x146
push ecx
call ebx
test eax, eax
jle 0x469e59
lea ecx, [ecx]
call fcn.0056d592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x469e86
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x3c], 1
mov ecx, dword [edi + 0x68]
push esi
call fcn.00571e06
lea edx, [esp + 0x14]
push edx
lea ecx, [edi + 0x70]
call fcn.0058d8ae
mov eax, dword [edi + 0x68]
mov eax, dword [eax + 0x20]
push 0
push esi
push 0x150
push eax
call ebx
push eax
lea eax, [edi + 0x8c]
call fcn.00430540
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469e3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x68]
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x146
push ecx
add esi, 1
call ebx
cmp esi, eax
jl 0x469db0
mov eax, dword [edi + 0x68]
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x147
push edx
call ebx
mov dword [edi + 0xac], eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004012f0
mov eax, dword [edi + 0x68]
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x14b
push ecx
call ebx
mov eax, dword [edi + 0x74]
test eax, eax
mov edx, dword [edi + 0x90]
mov dword [esp + 0x14], edx
jne 0x469ee4
mov eax, dword [edi + 0xac]
cmp eax, 0xffffffff
je 0x469ec6
mov ecx, dword [edi + 0x68]
call fcn.00402f80
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x469f58
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], ecx
call fcn.00401de0
add esp, 4
mov esi, eax
mov eax, dword [edi + 0x68]
mov edx, dword [eax + 0x20]
add esi, 0x10
push esi
push 0
push 0x143
push edx
call ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
push ecx
push eax
mov dword [esp + 0x1c], edx
mov edx, dword [edi + 0x68]
mov eax, dword [edx + 0x20]
push 0x151
push eax
call ebx
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469f4c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
cmp dword [esp + 0x18], 0
jne 0x469ee0
jmp 0x469eb3
call fcn.0056c8bd
int3