Function at 0x1000c46f
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100634fc
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x10088740]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
mov eax, dword [0x10088740]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
push 0x69
pop eax
push 0x35
mov word [esp + 0x130], ax
pop eax
push 0x5d
mov word [esp + 0x132], ax
pop eax
push 0x42
mov word [esp + 0x134], ax
pop eax
push 0x23
mov word [esp + 0x136], ax
pop eax
push 0x63
mov word [esp + 0x138], ax
pop eax
push 0x51
mov word [esp + 0x13a], ax
pop eax
push 0x4e
mov word [esp + 0x13c], ax
pop eax
push 0x59
mov word [esp + 0x13e], ax
pop eax
push 0x38
mov word [esp + 0x140], ax
pop eax
push 0x49
mov word [esp + 0x142], ax
pop eax
push 0x56
mov word [esp + 0x144], ax
pop eax
push 0x7c
mov word [esp + 0x146], ax
pop eax
push 0x47
mov word [esp + 0x148], ax
pop eax
push 0x3c
mov word [esp + 0x14a], ax
pop eax
push 0x3e
mov word [esp + 0x14c], ax
pop eax
push 0x3d
mov word [esp + 0x14e], ax
pop eax
push 0x6c
mov word [esp + 0x150], ax
pop eax
push 0x4d
mov word [esp + 0x152], ax
pop eax
push 0x79
mov word [esp + 0x154], ax
pop eax
push 0x5f
mov word [esp + 0x156], ax
pop eax
push 0x57
mov word [esp + 0x158], ax
pop eax
push 0x4f
mov word [esp + 0x15a], ax
pop eax
push 0x48
mov word [esp + 0x15c], ax
pop eax
push 0x53
mov word [esp + 0x15e], ax
pop eax
push 0x46
mov word [esp + 0x160], ax
pop eax
push 0x40
mov word [esp + 0x162], ax
mov dword [esp + 0x2c], 0x14
pop eax
push 0x74
mov word [esp + 0x164], ax
pop eax
push 0x4b
mov word [esp + 0x166], ax
pop eax
push 0x34
mov word [esp + 0x168], ax
pop eax
push 0x3b
mov word [esp + 0x16a], ax
pop eax
push 0x37
mov word [esp + 0x16c], ax
pop eax
push 0x28
mov word [esp + 0x16e], ax
pop eax
push 0x3f
mov word [esp + 0x170], ax
pop eax
push 0x44
mov word [esp + 0x172], ax
pop eax
push 0x68
mov word [esp + 0x174], ax
pop eax
push 0x52
mov word [esp + 0x176], ax
pop eax
push 0x72
mov word [esp + 0x178], ax
pop eax
push 0x6e
mov word [esp + 0x17a], ax
pop eax
push 0x78
mov word [esp + 0x17c], ax
pop eax
push 0x50
mov word [esp + 0x17e], ax
pop eax
push 0x6b
mov word [esp + 0x180], ax
pop eax
push 0x27
mov word [esp + 0x182], ax
pop eax
push 0x32
mov word [esp + 0x184], ax
pop eax
push 0x7a
mov word [esp + 0x186], ax
pop eax
push 0x3a
mov word [esp + 0x188], ax
pop eax
push 0x67
mov word [esp + 0x18a], ax
pop eax
push 0x5e
mov word [esp + 0x18c], ax
pop eax
push 0x58
mov word [esp + 0x18e], ax
pop eax
push 0x77
mov word [esp + 0x190], ax
pop eax
push 0x65
mov word [esp + 0x192], ax
pop eax
push 0x66
mov word [esp + 0x194], ax
pop eax
push 0x7d
mov word [esp + 0x196], ax
pop eax
push 0x6d
mov word [esp + 0x198], ax
pop eax
push 0x73
mov word [esp + 0x19a], ax
pop eax
push 0x4c
mov word [esp + 0x19c], ax
pop eax
push 0x7e
mov word [esp + 0x19e], ax
pop eax
push 0x4a
mov word [esp + 0x1a0], ax
pop eax
push 0x6f
mov word [esp + 0x1a2], ax
pop eax
push 0x62
mov word [esp + 0x1a4], ax
pop eax
push 0x71
mov word [esp + 0x1a6], ax
pop eax
push 0x70
mov word [esp + 0x1a8], ax
pop eax
push 0x76
mov word [esp + 0x1aa], ax
pop eax
push 0x24
mov word [esp + 0x1ac], ax
pop eax
push 0x31
mov word [esp + 0x1ae], ax
pop eax
push 0x2e
mov word [esp + 0x1b0], ax
pop eax
push 0x36
mov word [esp + 0x1b2], ax
pop eax
push 0x75
mov word [esp + 0x1b4], ax
pop eax
push 0x2d
mov word [esp + 0x1b6], ax
pop eax
push 0x39
mov word [esp + 0x1b8], ax
pop eax
push 0x60
mov word [esp + 0x1ba], ax
pop eax
push 0x2c
mov word [esp + 0x1bc], ax
pop eax
push 0x5a
mov word [esp + 0x1be], ax
pop eax
push 0x54
mov word [esp + 0x1c0], ax
pop eax
push 0x26
mov word [esp + 0x1c2], ax
pop eax
push 0x2b
mov word [esp + 0x1c4], ax
pop eax
push 0x7b
mov word [esp + 0x1c6], ax
pop eax
push 0x5b
mov word [esp + 0x1c8], ax
pop eax
push 0x25
mov word [esp + 0x1ca], ax
pop eax
push 0x30
mov word [esp + 0x1cc], ax
pop eax
push 0x55
mov word [esp + 0x1ce], ax
pop eax
push 0x21
mov word [esp + 0x1d0], ax
mov edi, 0x10077234
pop eax
push 0x64
mov word [esp + 0x1d2], ax
pop eax
push 0x45
mov word [esp + 0x1d4], ax
pop eax
push 0x33
mov word [esp + 0x1d6], ax
pop eax
push 0x61
mov word [esp + 0x1d8], ax
pop eax
push 0x43
mov word [esp + 0x1da], ax
pop eax
push 0x41
mov word [esp + 0x1dc], ax
pop eax
push 0x6a
mov word [esp + 0x1de], ax
pop eax
push ecx
lea ecx, [esp + 0x34]
mov word [esp + 0x1e0], ax
mov dword [esp + 0x30], edi
call fcn.10004676
xor ebx, ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x228], ebx
call fcn.100091c6
lea esi, [esp + 0x12c]
push esi
lea ecx, [esp + 0x34]
call fcn.1000d6bd
add esi, 2
lea eax, [esp + 0x1de]
cmp esi, eax
jne 0x1000c8b6
mov esi, 0x10077234
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x54]
mov dword [esp + 0x228], 1
push ecx
mov ecx, eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x14], eax
call fcn.10004676
sub esp, 0xc
mov byte [esp + 0x234], 2
lea ecx, [esp + 0x3c]
push esp
call fcn.1000403a
sub esp, 0xc
lea ecx, [esp + 0x48]
push esp
call fcn.10004022
lea ecx, [esp + 0x6c]
call fcn.1000d635
mov dword [esp + 0x50], esi
lea ecx, [esp + 0xd0]
mov byte [esp + 0x228], 3
call fcn.10002f29
push ecx
mov byte [esp + 0x22c], 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x9c], edi
call fcn.10004676
mov dword [esp + 0x98], esi
mov byte [esp + 0x228], 5
mov eax, dword [esp + 0x40]
push ecx
push ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1007a130]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x10079eb8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x1c], xmm0
fld qword [esp + 0x1c]
fstp qword [esp]
call fcn.10061090
fstp qword [esp + 0x1c]
movsd xmm0, qword [esp + 0x1c]
lea ecx, [esp + 0x74]
cvtpd2ps xmm0, xmm0
add esp, 4
mov dword [esp + 0x6c], 0x10077234
cvttss2si eax, xmm0
mov dword [esp + 0x14], eax
call fcn.10004676
lea ecx, [esp + 0x6c]
mov byte [esp + 0x228], 6
call fcn.100091c6
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x70]
call fcn.1000403a
sub esp, 0xc
mov edi, eax
mov esi, esp
mov ecx, esi
push edi
call fcn.10004c4b
mov eax, dword [edi + 8]
lea ecx, [esp + 0x78]
mov dword [esi + 8], eax
lea eax, [esp + 0x20c]
push eax
call fcn.10004022
mov edi, eax
sub esp, 0xc
mov esi, esp
push edi
mov ecx, esi
call fcn.10004c4b
mov eax, dword [edi + 8]
lea ecx, [esp + 0x84]
mov dword [esi + 8], eax
lea eax, [esp + 0x100]
push eax
call fcn.1000d964
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x1f0]
push eax
lea ecx, [esp + 0x78]
call fcn.10004022
sub esp, 0xc
mov edi, eax
mov esi, esp
mov ecx, esi
push edi
call fcn.10004c4b
mov eax, dword [edi + 8]
lea ecx, [esp + 0x80]
mov dword [esi + 8], eax
call fcn.1000dab5
mov byte [esp + 0x228], 7
mov edi, ebx
imul esi, dword [esp + 0x10], 0x14
cmp esi, dword [esp + 0x40]
je 0x1000caa6
mov ebx, dword [esp + 0x10]
mov eax, edi
lea ecx, [esp + 0x68]
cdq
idiv ebx
push edx
call fcn.1000d56c
dec dword [eax]
inc edi
dec esi
cmp esi, dword [esp + 0x40]
jne 0x1000ca8b
xor ebx, ebx
push ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x84], 0x10077234
call fcn.10004676
mov dword [esp + 0x80], 0x10077234
lea eax, [esp + 0x14]
mov byte [esp + 0x228], 8
push eax
lea ecx, [esp + 0x6c]
call fcn.10003df0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x6c]
call fcn.10003e05
mov esi, dword [esp + 0x1c]
jmp 0x1000cbe5
lea ecx, [esp + 0x14]
call fcn.1000a06a
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x214], 7
mov dword [esp + 0x210], ebx
mov word [esp + 0x200], cx
mov byte [esp + 0x228], 9
mov edi, ebx
cmp dword [eax], ebx
jle 0x1000cbb5
mov esi, eax
push ebx
lea eax, [esp + 0x1ec]
push eax
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x60]
call fcn.10004022
mov ecx, eax
call fcn.1000999f
mov ecx, eax
call fcn.1000d73e
movzx eax, word [eax]
dec dword [esp + 0x64]
jne 0x1000cb6a
mov dword [esp + 0x60], ebx
jmp 0x1000cb6e
inc dword [esp + 0x60]
push eax
push 1
lea ecx, [esp + 0x208]
call fcn.1000339e
cmp dword [esp + 0x214], 8
lea ecx, [esp + 0x200]
mov eax, dword [esp + 0x210]
cmovae ecx, dword [esp + 0x200]
dec eax
lea eax, [ecx + eax*2]
push eax
lea ecx, [esp + 0x88]
call fcn.1000d6bd
inc edi
cmp edi, dword [esi]
jl 0x1000cb33
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x200]
push eax
lea ecx, [esp + 0xd8]
call fcn.100040c2
push ebx
push 1
lea ecx, [esp + 0x208]
mov byte [esp + 0x230], 8
call fcn.10003109
inc esi
mov dword [esp + 0x1c], esi
cmp esi, dword [esp + 0x4c]
jne 0x1000caf6
mov eax, dword [esp + 0x94]
cmp eax, dword [esp + 0x40]
jne 0x1000ce03
mov edi, ebx
test eax, eax
je 0x1000cc35
push edi
lea ecx, [esp + 0x84]
call fcn.1000d4d8
push edi
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.1000d4d8
mov cx, word [esi]
cmp cx, word [eax]
jne 0x1000ce03
inc edi
cmp edi, dword [esp + 0x94]
jb 0x1000cc06
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xd4]
call fcn.10003df0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xd4]
call fcn.10003e05
mov eax, dword [esp + 0x4c]
jmp 0x1000ccfe
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x1000cc6c
mov ecx, ebx
jmp 0x1000cc6e
mov ecx, dword [ecx]
mov edx, dword [ecx + 8]
push dword [0x1008b3ec]
dec edx
push dword [0x1008b3e8]
and edx, eax
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x1f0]
mov edx, dword [eax + edx*4]
call fcn.100341df
pop ecx
pop ecx
mov byte [esp + 0x228], 0xa
lea ecx, [esp + 0x1e8]
cmp dword [esp + 0x1fc], 8
lea esi, [esp + 0x1e8]
mov eax, dword [esp + 0x1f8]
cmovae ecx, dword [esp + 0x1e8]
cmovae esi, dword [esp + 0x1e8]
lea edi, [ecx + eax*2]
jmp 0x1000ccde
push esi
lea ecx, [esp + 0xa0]
call fcn.1000d6bd
add esi, 2
cmp esi, edi
jne 0x1000ccce
push ebx
push 1
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x230], 8
call fcn.10003109
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x1c]
jne 0x1000cc60
lea ecx, [esp + 0xb0]
call fcn.1000d118
mov byte [esp + 0x228], 0xb
cmp dword [esp + 0x40], 0
jbe 0x1000cda4
push ebx
lea ecx, [esp + 0x30]
call fcn.1000d4d8
push ebx
lea ecx, [esp + 0x9c]
mov esi, eax
call fcn.1000d4d8
mov cx, word [eax]
mov ax, word [esi]
mov word [esp + 0x12], ax
mov eax, dword [esp + 0xb0]
mov word [esp + 0x10], cx
mov edi, dword [eax]
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
push edi
call fcn.1000e622
push ecx
lea ecx, [esp + 0xb4]
mov esi, eax
call fcn.1000e5ff
mov dword [edi + 4], esi
mov ecx, dword [esi + 4]
mov dword [ecx], esi
lea ecx, [esp + 0xb0]
mov eax, dword [esp + 0xb0]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1000e0d9
inc ebx
cmp ebx, dword [esp + 0x40]
jb 0x1000cd27
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xf8]
call fcn.10033707
mov esi, eax
mov ecx, 0x1008b3f0
mov byte [esp + 0x228], 0xc
cmp esi, ecx
je 0x1000cdd1
push esi
call fcn.1000d17d
lea eax, [esi + 0x20]
mov ecx, 0x1008b410
push eax
call fcn.1000d505
lea ecx, [esp + 0x114]
call fcn.10008b70
lea ecx, [esp + 0xf4]
call fcn.1000e7eb
lea ecx, [esp + 0xb0]
call fcn.1000e7eb
lea ecx, [esp + 0x80]
call fcn.10008b70
lea ecx, [esp + 0x68]
call fcn.10008b70
lea ecx, [esp + 0x98]
call fcn.10008b70
lea ecx, [esp + 0xd0]
call fcn.10003dd2
lea ecx, [esp + 0x50]
call fcn.10008b70
lea ecx, [esp + 0x2c]
call fcn.10008b70
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10046c1a
mov esp, ebp
pop ebp
ret