Function at 0x403170
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504809
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x55300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x44], 0
jne 0x4033ea
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push str.user
call dword [sym.imp.rime.dll_RimeUserConfigOpen]
add esp, 8
test eax, eax
je 0x4033ea
mov esi, dword [sym.imp.rime.dll_RimeConfigGetCString]
lea eax, [ebp - 0x10]
push str.current_skin_name
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40323d
push 0x2000
push 0
push 0x560800
call fcn.004b62b0
add esp, 0xc
push 0xfff
push 0x560800
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 0
push 0xfde9
call ebx
mov edx, 0x560800
lea ecx, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403220
sub edx, ecx
lea ecx, [edi + 0x34]
sar edx, 1
push edx
push 0x560800
call fcn.00406c50
lea eax, [ebp - 0x10]
push str.current_skin_path
push eax
call esi
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4032a3
push 0x2000
push 0
push 0x560800
call fcn.004b62b0
add esp, 0xc
push 0xfff
push 0x560800
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 0
push 0xfde9
call ebx
mov ecx, 0x560800
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403286
sub ecx, edx
sar ecx, 1
push ecx
push 0x560800
lea ecx, [edi + 0x4c]
call fcn.00406c50
lea eax, [ebp - 0x10]
push str.current_skin_guid
push eax
call esi
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40330d
push 0x2000
push 0
push 0x560800
call fcn.004b62b0
add esp, 0xc
push 0xfff
push 0x560800
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 0
push 0xfde9
call ebx
mov ecx, 0x560800
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4032f0
sub ecx, edx
sar ecx, 1
push ecx
push 0x560800
lea ecx, [edi + 4]
call fcn.00406c50
lea eax, [ebp - 0x10]
push str.current_skin_time
push eax
call esi
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x403373
push 0x2000
push 0
push 0x560800
call fcn.004b62b0
add esp, 0xc
push 0xfff
push 0x560800
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 0
push 0xfde9
call ebx
mov ecx, 0x560800
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403356
sub ecx, edx
sar ecx, 1
push ecx
push 0x560800
lea ecx, [edi + 0x1c]
call fcn.00406c50
lea eax, [ebp - 0x10]
push str.current_skin_type
push eax
call esi
mov esi, eax
add esp, 8
test esi, esi
je 0x4033dd
push 0x2000
push 0
push 0x560800
call fcn.004b62b0
add esp, 0xc
push 0xfff
push 0x560800
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
mov ecx, 0x560800
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4033c0
sub ecx, edx
sar ecx, 1
push ecx
push 0x560800
lea ecx, [edi + 0x64]
call fcn.00406c50
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.rime.dll_RimeConfigClose]
add esp, 4
lea esi, [edi + 4]
mov edi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.00403b80
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x18]
call fcn.00403b80
lea eax, [esi + 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x30]
call fcn.00403b80
lea eax, [esi + 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x48]
call fcn.00403b80
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 3
push ecx
lea ecx, [edi + 0x60]
call fcn.00403b80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4