Function at 0x4722a0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x615a52
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6963f4]
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.00468ac0
mov eax, dword [edi + 0x68]
xor esi, esi
cmp eax, esi
je 0x47234b
cmp dword [eax + 0x20], esi
je 0x47234b
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.user32.dll_GetParent]
push eax
call fcn.005606e4
cmp ebx, esi
je 0x47230d
cmp eax, esi
jne 0x472301
xor eax, eax
jmp 0x472304
mov eax, dword [eax + 0x20]
cmp eax, dword [ebx + 0x20]
je 0x472616
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 0x472327
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 0x47234b
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
mov ecx, dword [edi + 0x6c]
cmp ecx, esi
je 0x472348
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [edi + 0x6c], esi
cmp ebx, esi
je 0x472616
cmp dword [ebx + 0x20], esi
je 0x472616
cmp dword [0x6b4174], esi
jne 0x47236d
test dword [edi + 0xc], 0x40000
je 0x472372
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 0x472616
xor ebx, ebx
test esi, esi
sete bl
mov ecx, eax
push ebx
call fcn.00565324
cmp dword [0x6b41b8], 0
je 0x472489
mov ecx, dword [edi + 0x68]
call fcn.005651a3
and al, 3
cmp al, 2
jne 0x472489
push 0x5c
call fcn.0055dbcb
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x38], 0
je 0x47241a
push edi
mov esi, eax
call fcn.00473630
jmp 0x47241c
xor eax, eax
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [edi + 0x68]
mov dword [edi + 0x6c], eax
mov esi, 0x50001080
call fcn.005651a3
test eax, 0x10000
je 0x472440
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.0056a2ab
mov edx, dword [edi + 0x6c]
mov ecx, 1
mov eax, 0x6b4b2c
call fcn.00430490
mov ecx, dword [edi + 0x68]
call fcn.0042f6f0
mov ecx, eax
call fcn.0042f3d0
mov ecx, dword [edi + 0x6c]
push eax
call fcn.00473bf0
mov ecx, dword [edi + 0x6c]
push ebx
call fcn.00565324
mov eax, edi
call fcn.004726b0
mov ecx, dword [0x6b4b30]
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 0x4725e0
lea ecx, [edi + 0x70]
call fcn.00585d70
mov edx, dword [edi]
mov eax, dword [edx + 0xb0]
mov ecx, edi
call eax
lea esi, [edi + 0x8c]
call fcn.004b8120
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 0x4725a9
lea ecx, [ecx]
call fcn.00564d6e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4725d6
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.0056a404
lea edx, [esp + 0x14]
push edx
lea ecx, [edi + 0x70]
call fcn.00585ddc
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.004b80f0
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 0x47258c
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 0x472500
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.004012a0
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 0x472634
mov eax, dword [edi + 0xac]
cmp eax, 0xffffffff
je 0x472616
mov ecx, dword [edi + 0x68]
call fcn.00402f30
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 0x4726a8
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], ecx
call fcn.00401db0
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 0x47269c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
cmp dword [esp + 0x18], 0
jne 0x472630
jmp 0x472603
call fcn.00564f58
int3