Function at 0x1013df90
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1034c2e4
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x5c]
call fcn.1013fc30
push 0
push dword [edi + 4]
call dword [sym.imp.IMM32.dll_ImmAssociateContext]
push ecx
lea eax, [edi + 0x34]
push eax
push dword [edi + 4]
lea ecx, [edi + 0x394]
call fcn.1010a500
mov esi, dword [edi + 4]
call fcn.100f9e50
mov ebx, eax
call fcn.100e9040
push 0x60
push dword [eax]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
call fcn.1018f7a0
push esi
mov dword [ebx + 0x7c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1013e01e
mov dword [ebx + 8], esi
call fcn.100f2300
push eax
lea ecx, [eax + 0x14]
mov dword [eax + 0x44], esi
call fcn.100f3a90
push esi
call fcn.100f04a0
mov ecx, eax
call fcn.100f06e0
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call ebx
mov ecx, eax
and ecx, 0xff37ffff
cmp eax, ecx
je 0x1013e061
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x3c
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], 0
test eax, eax
je 0x1013e087
mov ecx, eax
call fcn.101488f0
mov esi, eax
jmp 0x1013e089
xor esi, esi
mov dword [esp + 0x54], 0xffffffff
mov ecx, esi
mov eax, dword [esi]
push 0x105da7a0
call dword [eax + 0x54]
mov ecx, dword [edi + 0x348]
mov dword [edi + 0x348], esi
test ecx, ecx
je 0x1013e0b3
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0xfa1
push dword [0x105e0bf4]
call esi
push 0xfa2
mov dword [edi + 0x5c], eax
push dword [0x105e0bf4]
call esi
mov edx, 0x13ce
mov dword [edi + 0x60], eax
lea ecx, [esp + 0x1c]
call fcn.10145cd0
mov dword [esp + 0x54], 1
cmp dword [eax + 0x14], 8
jb 0x1013e0f7
mov eax, dword [eax]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x1013e11d
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov word [esp + 0x1c], ax
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x2c], 0
test eax, eax
je 0x1013e163
cmp dword [edi + 0x60], 0
je 0x1013e163
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push dword [edi + 4]
call esi
push dword [edi + 0x60]
push 0
push 0x80
push dword [edi + 4]
call esi
lea ecx, [edi + 0x64]
call fcn.101526a0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push dword [edi + 0x80]
call fcn.100e75a0
mov ecx, eax
call fcn.100e6240
lea eax, [esp + 0x34]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movdqu xmmword [esp + 0x3c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [edi + 4]
call fcn.10102e10
mov ecx, edi
call fcn.1013eef0
call fcn.1010a250
call fcn.1010a360
call fcn.100f9e50
mov ecx, eax
call fcn.100fb770
mov ecx, dword [edi + 0x114]
test ecx, ecx
je 0x1013e1d7
mov eax, dword [0x105e20f4]
test eax, eax
je 0x1013e1d7
mov dword [eax + 0x78], ecx
push dword [ebp + 4]
mov ecx, edi
call fcn.1013f220
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x1013e221
mov ecx, dword [ecx + 4]
mov eax, dword [edi + 4]
test ecx, ecx
je 0x1013e20e
test eax, eax
je 0x1013e20e
mov dword [esp + 0x14], eax
mov eax, 8
mov word [esp + 0x18], ax
lea eax, [esp + 0x14]
push eax
call fcn.100dbf30
mov ecx, dword [edi + 0x7c]
push dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi + 0x7c]
mov eax, dword [ecx]
call dword [eax + 4]
push 0xfffffffffffffff0
push dword [edi + 4]
call ebx
mov ecx, edi
mov dword [edi + 0x3d0], eax
call fcn.101403b0
mov esi, eax
call fcn.100f9e50
xor edx, edx
xor ecx, ecx
cmp esi, dword [ecx + 0x105bed10]
je 0x1013e253
add ecx, 0xc
inc edx
cmp ecx, 0x30
jb 0x1013e240
jmp 0x1013e25b
push edx
mov ecx, edi
call fcn.10140630
call fcn.100e9040
lea ecx, [edi + 0x3f0]
movss xmm0, dword [eax + 8]
lea eax, [edi + 0x38]
push eax
movaps xmm2, xmm0
movss dword [esp + 0x18], xmm0
call fcn.100cf550
call fcn.100d9c50
movss xmm0, dword [esp + 0x14]
movss dword [eax], xmm0
call fcn.10142290
push 0
push 0
push 0x40b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1033d458
add esp, 0x44
ret 4