Function at 0x528640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57c04f
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5d52e0]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0x5d52e0]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
push ecx
mov esi, ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x5ad538
mov dword [esp + 0x20], esi
call fcn.00401210
lea eax, [esp + 0x50]
push eax
call fcn.0052bd50
mov ecx, esi
mov dword [esp + 0xe0], 0
call fcn.00417606
push 0
push 0
push 0xb0000
mov ecx, esi
call fcn.0041aa92
push esi
lea ecx, [esp + 0x3c]
call fcn.004186d0
mov byte [esp + 0xe0], 1
mov ecx, dword [esp + 0x40]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push ecx
call edi
mov edx, dword [esp + 0x40]
push 0x5a
push edx
mov ebx, eax
call edi
mov edi, eax
xor eax, eax
push eax
lea ecx, [esp + 0xb4]
push ecx
push eax
push 0x30
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
imul edi, edi, 0x258
mov ecx, dword [esp + 0xbc]
sub ecx, dword [esp + 0xb4]
mov eax, 0x2aaaaaab
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
cmp eax, ecx
jl 0x528756
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xb8]
imul ebx, ebx, 0x384
sub ecx, dword [esp + 0xb0]
mov eax, 0x2aaaaaab
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x52878b
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 0x1e
push edx
push eax
push 0
push 0
push 0x5d8620
mov ecx, esi
call fcn.0041ac47
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x5287d9
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push ecx
call edi
mov eax, dword [esi + 0x1c4]
mov edx, dword [esi + 0x20]
push eax
push 0
push 0x80
push edx
call edi
mov eax, dword [esi + 0x120]
mov edx, dword [eax + 0x160]
lea ecx, [esi + 0x120]
push 0
push esi
call edx
mov eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x1c0]
push eax
lea edi, [esp + 0x14]
call fcn.00530ca0
add esp, 4
mov byte [esp + 0xe0], 2
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0041aaea
mov byte [esp + 0xe0], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x528843
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00527660
call fcn.00526550
mov eax, dword [esi + 0x20]
push esi
push 0x52ad50
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
call fcn.0052b4f0
mov ecx, dword [esi + 0x20]
push 0
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowScrollBar]
lea edi, [esi + 0x98]
mov ecx, 0x1f62
lea ebx, [esp + 0x10]
call fcn.005344c0
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, edi
je 0x52889b
mov ebx, dword [eax + 0x28]
mov dword [esp + 0x10], ebx
jmp 0x5288a7
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0x2c8
push edx
mov dword [esp + 0x1c], esi
call fcn.0052b8f0
mov ecx, dword [esp + 0x1c]
xor eax, eax
add esp, 8
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x78]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp ebx, esi
je 0x52894f
cmp dword [ebx + 0x20], esi
je 0x52894f
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x18]
add esi, 8
call fcn.0052ab40
mov esi, dword [esp + 0x7c]
add esi, 8
mov dword [esp + 0x14], eax
call fcn.0052ab40
movzx ecx, word [esp + 0x14]
movzx edx, ax
mov eax, dword [ebx + 0x20]
shl ecx, 0x10
or ecx, edx
push ecx
push 0
push 0x1329
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
jmp 0x528953
mov edi, dword [esp + 0x18]
mov eax, edi
call fcn.00526470
push edi
call fcn.00526910
push 0x1f0
call fcn.0040c6bd
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0xe0], 3
cmp eax, esi
je 0x52898c
mov ecx, dword [edi + 0x110]
push ecx
push eax
call fcn.00523310
jmp 0x52898e
xor eax, eax
mov byte [esp + 0xe0], 1
mov dword [edi + 0x1c8], eax
mov dword [eax + 0x1d0], 1
mov ecx, dword [edi + 0x1c8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x160]
push edi
push 0x67
call eax
mov ecx, dword [edi + 0x1c8]
push 0x1fb1
call fcn.0041ab4c
cmp ebx, esi
je 0x528ada
mov eax, dword [ebx + 0x20]
cmp eax, esi
je 0x528ada
lea ecx, [esp + 0x68]
push ecx
push eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x68]
push edx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004126d5
mov ecx, eax
call fcn.0041846b
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x68]
push ecx
push esi
push 0x1328
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x78]
push eax
push ecx
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 0x72
mov dword [esp + 0x8c], esi
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
cmp eax, 0xc8
jge 0x528a6f
mov eax, 0xc8
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x74]
mov ecx, dword [edi + 0x1c8]
add edx, eax
mov eax, dword [esp + 0x6c]
push 0
sub esi, eax
push esi
mov esi, dword [esp + 0x78]
sub esi, edx
push esi
push eax
push edx
mov dword [esp + 0x7c], edx
call fcn.0041ab75
mov ecx, dword [edi + 0x1c8]
push 5
call fcn.0041abb5
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov esi, dword [edi + 0x1c8]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.00521b40
xor esi, esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
cmp ebx, esi
je 0x528b76
mov eax, dword [ebx + 0x20]
cmp eax, esi
je 0x528b76
lea edx, [esp + 0xa0]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0xa0]
push eax
push esi
push 0x1328
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
lea edx, [esp + 0x7c]
push edx
push esi
push 0x30
mov dword [esp + 0xb4], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], ecx
lea edx, [edi + 0x270]
push edx
lea esi, [esp + 0xa4]
mov ecx, edi
call fcn.00526660
xor eax, eax
xor esi, esi
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
cmp ebx, eax
je 0x528c00
mov eax, dword [ebx + 0x20]
cmp eax, esi
je 0x528be4
lea ecx, [esp + 0x90]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x90]
push edx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004126d5
mov ecx, eax
call fcn.0041846b
mov ebx, dword [ebx + 0x20]
cmp ebx, esi
je 0x528c00
lea ecx, [esp + 0x90]
push ecx
push esi
push 0x1328
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x78]
push edx
push eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 0x72
mov dword [esp + 0x8c], esi
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
cmp eax, 0xc8
jge 0x528c46
mov eax, 0xc8
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x9c]
add eax, ecx
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x94]
push 0xb0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edx
call fcn.0040c6bd
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0xe0], 4
cmp eax, esi
je 0x528c9f
mov esi, eax
call fcn.00544990
jmp 0x528ca1
xor eax, eax
push 0x1f60
mov byte [esp + 0xe4], 1
push edi
lea ecx, [esp + 0xc8]
mov dword [edi + 0x25c], eax
mov edx, dword [eax]
mov edx, dword [edx + 0x160]
push ecx
push 0x210151
mov ecx, eax
call edx
mov ecx, dword [edi + 0x25c]
push 0
push 0x200
push 0
call fcn.0041aabe
mov ecx, dword [edi + 0x25c]
push 5
call fcn.0041abb5
mov eax, dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push eax
call ebx
push eax
call fcn.004188f6
mov ecx, dword [edi + 0x25c]
test eax, eax
je 0x528d14
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push 0
push eax
push 0x30
push ecx
call ebx
mov eax, dword [edi + 0x25c]
mov dword [eax + 0x74], 1
mov esi, dword [edi + 0x25c]
call fcn.005444f0
mov eax, dword [edi + 0x25c]
mov dword [eax + 0x78], 0
mov eax, dword [edi + 0x25c]
cmp dword [eax + 0x74], 0
mov ecx, dword [eax + 0x98]
mov dword [eax + 0x7c], 1
jne 0x528d7e
add ecx, 0x1e
cmp ecx, 0xff
jle 0x528d6d
mov ecx, 0xff
mov eax, dword [eax + 0x20]
movzx edx, cx
push edx
push 0
push 0x1a0
push eax
jmp 0x528d9a
cmp ecx, 0xff
jle 0x528d8b
mov ecx, 0xff
mov edx, dword [eax + 0x20]
movzx ecx, cx
push ecx
push 0
push 0x1a0
push edx
call ebx
call fcn.005263c0
push edi
mov ecx, 1
lea ebx, [edi + 0x1e0]
call fcn.005648b0
push 0
or edx, 0xffffffff
lea ecx, [edi + 0x1e0]
call fcn.00563890
push 0xf
mov edx, 0x1f62
lea ecx, [edi + 0x1e0]
call fcn.00563890
push 0xf
mov edx, 0x1fb1
lea ecx, [edi + 0x1e0]
call fcn.00563890
push 0xb
mov edx, 0x1f60
lea ecx, [edi + 0x1e0]
call fcn.00563890
push 9
mov edx, 0xe31
lea ecx, [edi + 0x1e0]
call fcn.00563890
push 0xc
mov edx, 0xe33
lea ecx, [edi + 0x1e0]
call fcn.00563890
push 0xc
mov edx, 1
lea ecx, [edi + 0x1e0]
call fcn.00563890
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
push 0x1e
push ecx
push eax
push 0
mov dword [esi + 0x250], edx
mov edx, dword [esp + 0x34]
push 0
mov dword [esi + 0x24c], ecx
push 0x5d8620
mov ecx, esi
mov dword [esi + 0x248], eax
mov dword [esi + 0x254], edx
call fcn.0041ac47
push esi
call fcn.005267e0
mov edi, dword [esp + 0x10]
xor ebx, ebx
test edi, edi
je 0x528e93
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x528e93
push ebx
push ebx
push 0x130c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
cmp edi, ebx
je 0x528eb0
mov edi, dword [edi + 0x20]
cmp edi, ebx
je 0x528eb0
mov dword [esp + 0x28], edi
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x28]
push eax
push 0x1f62
push 0x4e
push ecx
mov dword [esp + 0x3c], 0x1f62
mov dword [esp + 0x40], 0xfffffdd9
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
lea eax, [esp + 0x68]
mov byte [esp + 0xe0], 5
call fcn.00403af0
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x528f01
mov dword [eax], 0x1f60
mov ebx, dword [esp + 0x68]
add eax, 4
lea edx, [esp + 0x10]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x10], 0x1fb1
cmp edx, eax
jae 0x528f4b
mov ecx, edx
cmp ebx, ecx
ja 0x528f4b
mov edi, edx
sub edi, ebx
sar edi, 2
cmp eax, dword [esp + 0x70]
jne 0x528f40
lea eax, [esp + 0x68]
call fcn.00403af0
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
test eax, eax
je 0x528f6c
mov edx, dword [ebx + edi*4]
mov dword [eax], edx
jmp 0x528f6c
cmp eax, dword [esp + 0x70]
jne 0x528f62
lea eax, [esp + 0x68]
call fcn.00403af0
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
test eax, eax
je 0x528f6c
mov dword [eax], 0x1fb1
add eax, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x10], 1
cmp ecx, eax
jae 0x528fb2
mov edx, ecx
cmp ebx, edx
ja 0x528fb2
mov edi, ecx
sub edi, ebx
sar edi, 2
cmp eax, dword [esp + 0x70]
jne 0x528fa7
lea eax, [esp + 0x68]
call fcn.00403af0
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
test eax, eax
je 0x528fd3
mov ecx, dword [ebx + edi*4]
mov dword [eax], ecx
jmp 0x528fd3
cmp eax, dword [esp + 0x70]
jne 0x528fc9
lea eax, [esp + 0x68]
call fcn.00403af0
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
test eax, eax
je 0x528fd3
mov dword [eax], 1
add eax, 4
lea edx, [esp + 0x10]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x10], 0x1f62
cmp edx, eax
jae 0x529019
mov ecx, edx
cmp ebx, ecx
ja 0x529019
mov edi, edx
sub edi, ebx
sar edi, 2
cmp eax, dword [esp + 0x70]
jne 0x52900e
lea eax, [esp + 0x68]
call fcn.00403af0
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
test eax, eax
je 0x52903a
mov edx, dword [ebx + edi*4]
mov dword [eax], edx
jmp 0x52903a
cmp eax, dword [esp + 0x70]
jne 0x529030
lea eax, [esp + 0x68]
call fcn.00403af0
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
test eax, eax
je 0x52903a
mov dword [eax], 0x1f62
add eax, 4
sub esp, 0x10
mov dword [esp + 0x7c], eax
mov eax, esp
mov dword [esp + 0x34], esp
push eax
lea ecx, [esp + 0x7c]
call fcn.0040be10
mov eax, esi
call fcn.0052b430
mov eax, dword [esi + 0x20]
add esp, 0x10
push esi
push 0x52ad50
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [esi + 0x20]
push esi
push str.ScanUtilityProp
push esi
call dword [sym.imp.USER32.dll_SetPropW]
test ebx, ebx
je 0x52908b
push ebx
call fcn.0040c6ec
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0xe0], 0
call fcn.00418724
lea ecx, [esp + 0x4c]
push ecx
call fcn.0052b590
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.004ff57c
mov esp, ebp
pop ebp
ret