Function at 0x4958e0
Capabilities:
Get number of processors
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x4e7f7c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov ebx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push edx
mov ecx, dword [esp + 0x58]
mov ecx, dword [ecx]
push 0x4ebd38
push eax
push ecx
push ebx
push 0x11
mov ecx, esi
call fcn.0043b140
xor edi, edi
mov dword [esi], 0x4f7444
push 2
mov dword [esp + 0x3c], edi
mov dword [esi + 0x44], edi
call fcn.00445f00
add esp, 4
cmp eax, edi
mov dword [esi + 0x44], eax
je 0x49595a
mov word [eax], di
push 2
mov dword [esi + 0x48], edi
call fcn.00445f00
add esp, 4
cmp eax, edi
mov dword [esi + 0x48], eax
je 0x495971
mov word [eax], di
push 2
mov dword [esi + 0x4c], edi
call fcn.00445f00
add esp, 4
cmp eax, edi
mov dword [esi + 0x4c], eax
je 0x495988
mov word [eax], di
push 0x5194ec
mov dword [esp + 0x28], 0x5194ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebx + 0x2c]
mov al, byte [esp + 0x68]
mov ecx, dword [esi + 0x24]
mov byte [esi + 0x40], al
mov eax, dword [esi + 0x2c]
mov ebp, dword [ebx + 0x48]
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x20]
add eax, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
shl ebp, 2
mov dword [esp + 0x18], eax
lea eax, [esp + 0x64]
not ebp
mov dword [esp + 0x48], ebx
push eax
mov byte [esp + 0x3c], 4
and ebp, 0x10000
mov dword [esp + 0x58], edi
xor ebx, ebx
mov dword [esp + 0x5c], 0x4ebd38
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], 0x64
mov dword [esp + 0x44], edi
mov dword [esp + 0x68], edx
call fcn.0043f2e0
mov ecx, dword [esp + 0x68]
mov ax, word [ecx]
add esp, 4
cmp ax, 0x3a
je 0x495a22
mov dword [esp + 0x58], ecx
cmp ax, di
je 0x495a3d
cmp ax, 0x3a
je 0x495a39
mov ax, word [ecx + 2]
add ecx, 2
cmp ax, di
jne 0x495a27
mov dword [esp + 0x64], ecx
cmp word [ecx], 0x3a
jne 0x495a4d
mov word [ecx], di
add ecx, 2
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00449970
add esp, 8
test eax, eax
jle 0x495a80
lea eax, [esp + 0x64]
push eax
call fcn.0043f2e0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x64]
mov ax, word [edx]
cmp ax, di
je 0x495a9d
cmp ax, 0x30
jb 0x495a98
cmp ax, 0x39
jbe 0x495a9d
add dword [esp + 0x64], 2
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x30], 0x64
mov dword [esp + 0x34], edi
call fcn.00449970
add esp, 8
test eax, eax
jle 0x495ad4
lea edx, [esp + 0x64]
push edx
call fcn.0043f2e0
mov eax, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x64]
mov ax, word [ecx]
cmp ax, di
je 0x495af1
cmp ax, 0x30
jb 0x495aec
cmp ax, 0x39
jbe 0x495af1
add dword [esp + 0x64], 2
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00449970
add esp, 8
test eax, eax
jle 0x495b17
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
mov dword [esp + 0x64], eax
push 0x3a
lea eax, [esi + 0x48]
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.00449370
mov edx, dword [esp + 0x70]
add esp, 0xc
cmp word [edx], 0x3a
jne 0x495b5a
push 0x3a
lea eax, [esi + 0x4c]
push eax
mov ecx, edx
lea eax, [esp + 0x6c]
add ecx, 2
push eax
mov dword [esp + 0x70], ecx
call fcn.00449370
add esp, 0xc
mov ecx, dword [esp + 0x64]
cmp word [ecx], 0x3a
jne 0x495b7e
push 0x3a
lea eax, [esi + 0x44]
push eax
lea edx, [esp + 0x6c]
add ecx, 2
push edx
mov dword [esp + 0x70], ecx
call fcn.00449370
add esp, 0xc
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0xac]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x58]
dec ecx
cmp word [edx], di
mov dword [esp + 0x64], ecx
je 0x495bf7
test ecx, ecx
jle 0x495bf5
lea esp, [esp]
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0xa8]
mov eax, dword [edx]
mov eax, dword [eax + edi*4]
cmp dword [eax + 4], 3
jne 0x495bd0
mov eax, dword [eax + 8]
test eax, eax
je 0x495bd0
mov ecx, dword [esp + 0x58]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x495bd7
mov ecx, dword [esp + 0x64]
inc edi
cmp edi, ecx
jl 0x495ba0
jmp 0x495bf5
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x54], ecx
mov ebx, 2
xor edi, edi
push 0x54
call fcn.004c86a5
add esp, 4
mov dword [esp + 0x64], eax
cmp eax, edi
mov byte [esp + 0x38], 5
je 0x495c1b
lea edx, [esi + 0x34]
push edx
mov ecx, eax
call fcn.004aaed0
mov edi, eax
mov ecx, dword [esp + 0x68]
mov eax, ecx
shr eax, 0xf
and eax, 1
sete al
test cl, 0x10
mov dword [esi + 0x1c], edi
mov byte [esp + 0x38], 4
mov dword [edi + 0x50], 0
mov byte [esp + 0x68], al
jne 0x495c48
or ebx, 0x10000000
test cl, 0x20
je 0x495c50
or ebx, 1
test cl, 0x40
je 0x495c58
or ebx, 0x40
mov edx, dword [esp + 0x54]
test edx, edx
jne 0x495c67
test cl, cl
jns 0x495c67
or ebx, 0x12
test ecx, ecx
jns 0x495c70
or ebx, 8
jmp 0x495c7b
test ecx, 0x20000000
je 0x495c7b
or ebx, 4
test al, al
jne 0x495c85
or ebx, 0x8000000
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x18]
mov ecx, dword [esp + 0x10]
push str.msctls_updown32
push eax
push edx
mov edx, dword [esp + 0x20]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
or ebx, 0x120
mov eax, ebx
or eax, ebp
or eax, 0x40000000
push eax
mov ecx, edi
call fcn.004ab0c0
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x18]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push edx
call ebp
cmp eax, 0xffffffff
je 0x495ced
test eax, eax
jne 0x495cf6
mov eax, dword [0x51948c]
test eax, eax
je 0x495d06
cmp eax, 0xffffffff
je 0x495d06
push 1
push eax
mov eax, dword [edi + 0x18]
push 0x30
push eax
call ebp
mov eax, dword [esp + 0x54]
test eax, eax
je 0x495d1c
mov ecx, dword [edi + 0x18]
push 0
push eax
push 0x469
push ecx
call ebp
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [edi]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x88]
mov eax, dword [esp + 0x40]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x8c]
movzx ecx, byte [esp + 0x68]
push ecx
mov ecx, esi
call fcn.0043aff0
and ebx, 0x10000000
push ebx
mov ecx, esi
call fcn.0043b090
mov edx, dword [edi + 0x18]
push 1
push edx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov eax, dword [esi + 8]
cmp word [eax], 0
je 0x495d7c
mov ecx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x30]
push eax
call fcn.004637c0
push 0x5194ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 0x2c