Function at 0x42d860
Capabilities:
Enumerate gui resources
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fb25
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x46500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x68], edi
mov esi, dword [ebp + 8]
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [ebp - 0x38], esi
cmp dword [esi + 0x30], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x44], edx
je 0x42d974
mov esi, edx
test edx, edx
jne 0x42d8d0
mov esi, dword [0x46807c]
test esi, esi
je 0x42d904
nop
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x42d8ed
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x42d8d0
cmp dword [ebp - 0x44], 0
jne 0x42d900
test esi, esi
je 0x42d904
push esi
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov esi, eax
test esi, esi
jne 0x42d918
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
test esi, esi
jne 0x42d918
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
mov edx, esi
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x44], edx
cmp dword [esi + 0x34], 0
je 0x42d959
mov eax, 0x92c80000
mov dword [edi + 0x78], 2
mov dword [edi + 0x7c], 1
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x64], 1
jmp 0x42d974
mov eax, dword [ebp - 0x30]
and eax, 0x2dffffff
or eax, 0x92000000
mov dword [ebp - 0x30], eax
test eax, 0x40000
jne 0x42d974
or dword [ebp - 0x64], 1
test edx, edx
je 0x42d97c
test eax, eax
jns 0x42d9d8
test edx, edx
mov ecx, edx
lea edx, [ebp - 0x20]
cmove ecx, dword [0x46807c]
call fcn.00422090
cmp dword [edi + 0x88], 1
jne 0x42d9b9
mov eax, dword [ebp - 0x18]
sub eax, dword [esi + 0x10]
add eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [esi + 0x14]
add eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
jmp 0x42d9c8
mov eax, dword [esi + 8]
add eax, dword [ebp - 0x20]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x44], 0
mov dword [esi + 0xc], eax
je 0x42d9fa
mov eax, dword [ebp - 0x30]
test eax, eax
js 0x42d9fa
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x42d9eb
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [edi + 0x70], 0
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x40], 0
jmp 0x42da74
mov ecx, dword [esi + 0x2c]
mov edx, dword [edi + 0x70]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x40], edx
cmp ecx, edx
je 0x42da30
mov dword [edi + 0x70], ecx
test ecx, ecx
je 0x42da16
call fcn.0040bc00
test edx, edx
je 0x42da30
mov eax, dword [edx]
mov ecx, edx
push 0
push 0
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x34]
mov edx, dword [edi + 4]
test edx, edx
je 0x42da5b
test ecx, ecx
jne 0x42da3f
xor eax, eax
jmp 0x42da42
mov eax, dword [ecx + 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x42da5b
mov eax, dword [ecx]
push 1
push dword [edi + 4]
call dword [eax + 0x28]
mov eax, dword [edi + 0x70]
test eax, eax
jne 0x42da67
mov dword [ebp - 0x34], eax
jmp 0x42da6d
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], 1
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x457740
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x60], vtable.CVolObject.0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], vtable.CVolMem.0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0x40
mov dword [ebp - 4], 1
mov dword [ebp - 0x48], 0x80
mov dword [ebp - 4], 2
cmp dword [esi + 0x30], 0
je 0x42db34
push eax
push 0x42d7d0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x4c]
xor esi, esi
mov eax, ecx
shr eax, 2
test eax, eax
je 0x42db31
mov edi, eax
nop dword [eax]
mov eax, dword [ebp - 0x54]
xor edx, edx
test ecx, ecx
push edx
cmove eax, edx
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_EnableWindow]
inc esi
cmp esi, edi
jge 0x42db2e
mov ecx, dword [ebp - 0x4c]
jmp 0x42db10
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov edx, dword [esi + 0xc]
mov esi, dword [esi + 0x14]
push dword [ebp - 0x3c]
mov eax, dword [ecx + 8]
add esi, edx
mov ecx, dword [ecx + 0x10]
add ecx, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov esi, dword [eax + 0x28]
lea eax, [edi + 0x20]
push eax
push 0x4659e0
call fcn.0042b810
mov ecx, dword [ebp - 0x30]
mov edx, 0x56000000
test ecx, ecx
movzx eax, ax
cmove ecx, edx
add esp, 8
push eax
push dword [ebp - 0x34]
xor eax, eax
test esi, esi
push dword [ebp - 0x64]
cmovne eax, esi
push ecx
push eax
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x44]
call fcn.0042b6c0
test eax, eax
je 0x42df6d
cmp dword [ebp - 0x40], 0
je 0x42dbbc
cmp dword [ebp - 0x34], 0
je 0x42dbbc
mov ecx, dword [edi + 0x70]
push 1
push dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x28]
push 0x12d12ab
push 0xffffffffffffffeb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [edi + 4], 0
je 0x42dcce
cmp dword [edi + 0x78], 0
mov dword [ebp - 0x30], 0
je 0x42dca8
cmp dword [edi + 0x7c], 0
je 0x42dbf7
mov eax, 0xc80000
jmp 0x42dc7c
lea ecx, [ebp - 0x34]
call fcn.0041ae20
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 4]
call fcn.0041b110
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
je 0x42dc5a
mov ecx, 0x457940
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42dc46
test dx, dx
je 0x42dc42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42dc46
add eax, 4
add ecx, 4
test dx, dx
jne 0x42dc20
xor ecx, ecx
jmp 0x42dc4b
sbb ecx, ecx
or ecx, 1
xor eax, eax
mov edx, 0xc00000
test ecx, ecx
cmovne eax, edx
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42dc79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
cmp dword [edi + 0x80], 0
mov ecx, 0x410000
mov edx, 0x400000
cmove ecx, edx
or ecx, eax
cmp dword [edi + 0x84], 0
mov dword [ebp - 0x30], ecx
je 0x42dca8
mov eax, ecx
or eax, 0x20000
mov dword [ebp - 0x30], eax
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
mov eax, dword [ebp - 0x30]
and ecx, 0xcb0000
cmp ecx, eax
je 0x42dcce
push 0x37
push eax
push ecx
lea ecx, [edi + 4]
call fcn.004183d0
cmp dword [edi + 0x90], 0
jne 0x42dd07
mov eax, dword [0x46802c]
test eax, eax
jne 0x42dcf8
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push 0x422120
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
push 0x64
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [edi + 0x90], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x42dd38
push dword [edi + 0x90]
push 0
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x90]
push 1
push 0x80
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x42dd4a
push eax
mov ecx, edi
call fcn.0042e640
mov eax, dword [ebp - 0x38]
push 1
push dword [eax + 0x3c]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0xd0], 0
je 0x42dd7b
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [edi + 0x8c], 0
jne 0x42ddac
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x42dda8
push 0
push 0xf010
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x88]
test eax, eax
jns 0x42ddba
xor eax, eax
jmp 0x42ddc4
mov ecx, 3
cmp eax, ecx
cmovg eax, ecx
mov dword [edi + 0x88], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x42ddf1
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42ddf1
mov edx, dword [edi + 0x88]
lea ecx, [edi + 4]
xor eax, eax
test edi, edi
cmove ecx, eax
call fcn.00431480
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x30], 0
je 0x42df9d
mov eax, dword [0x46807c]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x3c], ecx
test eax, eax
jne 0x42de19
mov eax, dword [edi + 4]
mov dword [0x46807c], eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x40], eax
mov dword [edi + 0x6c], 1
mov dword [edi + 0x68], 0
test ecx, ecx
je 0x42de50
mov edx, dword [ecx]
mov esi, dword [edi + 4]
call dword [edx + 0x44]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42de9c
cmp dword [edi + 0x6c], 1
jne 0x42de9c
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x2c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
jle 0x42de9c
lea ecx, [ebp - 0x2c]
call fcn.0041e0f0
test eax, eax
jne 0x42de86
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [edi + 0x6c], 1
jne 0x42de9c
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
jg 0x42de66
mov eax, dword [edi + 0x68]
xor ecx, ecx
cmp dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
mov dword [edi + 0x6c], 0
mov eax, dword [0x46807c]
cmovne eax, ecx
mov ecx, dword [ebp - 0x4c]
mov dword [0x46807c], eax
xor esi, esi
mov eax, ecx
shr eax, 2
test eax, eax
je 0x42def2
mov edi, eax
nop dword [eax + eax]
mov eax, dword [ebp - 0x54]
xor edx, edx
test ecx, ecx
push 1
cmove eax, edx
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_EnableWindow]
inc esi
cmp esi, edi
jge 0x42deef
mov ecx, dword [ebp - 0x4c]
jmp 0x42ded0
mov edi, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x42df18
mov eax, dword [ebp - 0x60]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x42df13
mov ecx, 0x467f38
call fcn.00423c80
jmp 0x42df18
lea ecx, [ebp - 0x60]
call eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
test eax, eax
je 0x42df3b
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi + 4]
test eax, eax
je 0x42df49
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x42df62
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42df62
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x38], ecx
jmp 0x42df70
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x30], 0
je 0x42df9d
mov edi, dword [ebp - 0x4c]
xor esi, esi
shr edi, 2
test edi, edi
je 0x42df9d
mov eax, dword [ebp - 0x54]
xor ecx, ecx
cmp dword [ebp - 0x4c], ecx
push 1
cmove eax, ecx
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_EnableWindow]
inc esi
cmp esi, edi
jl 0x42df82
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x60]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x60], vtable.CVolMem.0
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x42dfca
push eax
mov ecx, 0x467f38
call fcn.00423c80
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov dword [ebp - 0x60], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00431cd0
mov esp, ebp
pop ebp
ret 4