Function at 0x4035d0
Capabilities:
Enumerate gui resources
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4835a4
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4b70]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.0044380a
lea ecx, [esp + 0x30]
call fcn.00443e5b
lea ecx, [esp + 0x30]
push ecx
xor ebp, ebp
mov ecx, ebx
mov dword [esp + 0x64], ebp
call fcn.0044344a
push 0x48fc4c
push 1
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp eax, ebp
je 0x403716
lea edx, [esp + 0x14]
push edx
push 0x403500
mov dword [esp + 0x1c], ebp
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x40], 1
je 0x403724
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x403724
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov eax, dword [esp + 0x14]
push 9
push eax
call edi
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.USER32.dll_BringWindowToTop]
push ecx
call ebp
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_SetForegroundWindow]
push edx
call ebx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov esi, eax
cmp esi, dword [esp + 0x14]
je 0x4036d2
push 5
push esi
call edi
push esi
call ebp
push esi
call ebx
jmp 0x4039bf
mov eax, 1
cmp dword [esp + 0x40], eax
jne 0x4039bf
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [ecx - 0xc]
add eax, 1
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x2c], eax
call fcn.00402a80
lea edx, [esp + 0x24]
push edx
push 0
push 0x4a
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4039bf
push 0x48fc4c
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call fcn.00445ce5
test eax, eax
jne 0x403742
or edi, 0xffffffff
push edi
push ebp
push 0x64
call fcn.0043ef89
mov dword [esp + 0x60], edi
jmp 0x4039c7
push ebp
call fcn.00446542
add esp, 4
push 0x48ffe8
mov ecx, ebx
call fcn.00446ab7
push 4
mov ecx, ebx
call fcn.004433c4
mov ecx, ebx
call fcn.004039f0
push 0x90
call fcn.004307fb
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x60], 1
je 0x4037a0
push 0x490a3c
push 0x48f830
push 0x490674
push 0x81
mov ecx, eax
call fcn.00446fc5
mov esi, eax
jmp 0x4037a2
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x60], 0
je 0x4039bf
push esi
mov ecx, ebx
call fcn.00442e97
push ebp
push esi
lea edi, [ebx + 0x184]
push 0x48ffc8
mov ecx, edi
call fcn.0044438a
call fcn.00444b79
push 0x644
call fcn.004307fb
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x60], 2
je 0x4037f2
push eax
call fcn.004011b0
mov ebp, eax
test ebp, ebp
mov byte [esp + 0x60], 0
je 0x4039bf
mov eax, dword [ebp]
mov edx, dword [eax + 0x138]
push 0
push 0
push 0xcf8000
push 0x80
mov ecx, ebp
call edx
test eax, eax
je 0x4039b3
cmp dword [esp + 0x38], 0
mov dword [ebx + 0x20], ebp
jne 0x403859
cmp dword [esp + 0x3c], 0
jne 0x403859
cmp dword [esp + 0x40], 6
mov ecx, edi
jne 0x403883
push 0
push 0
push 0
push 3
call fcn.00444527
push 0
push 0
push 1
push 0x48ffd8
call fcn.004474f1
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], 0xffffffff
call fcn.00443e9a
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 0
push 0
push 3
call fcn.00444527
push 1
call fcn.00444bf9
call fcn.0043bfba
mov eax, dword [eax + 8]
push 0
push 0
push 0x48ffd8
push eax
call fcn.00447354
or edi, 0xffffffff
cmp dword [0x4a8898], 1
jle 0x403953
mov eax, dword [0x4a88a0]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402d00
mov eax, dword [esp + 0x18]
mov edx, str._Register
mov ecx, eax
jmp 0x4038e0
mov si, word [ecx]
cmp si, word [edx]
jne 0x403906
test si, si
je 0x403902
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x403906
add ecx, 4
add edx, 4
test si, si
jne 0x4038e0
xor ecx, ecx
jmp 0x40390a
sbb ecx, ecx
sbb ecx, edi
test ecx, ecx
je 0x4039a4
mov ecx, str._register
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40393d
test dx, dx
je 0x403939
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40393d
add eax, 4
add ecx, 4
test dx, dx
jne 0x403917
xor eax, eax
jmp 0x403941
sbb eax, eax
sbb eax, edi
test eax, eax
je 0x4039a4
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0
call fcn.00402fa0
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
mov dword [esp + 0x44], edi
call fcn.00442d19
test eax, eax
je 0x403739
push 3
mov ecx, ebp
call fcn.00434d62
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], edi
call fcn.00443e9a
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x18]
call fcn.00402fa0
mov dword [esp + 0x60], edi
jmp 0x4039c7
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push 1
mov ecx, ebp
call eax
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00443e9a
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret