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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1014b8b1
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10177024]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov ebp, ecx
xor esi, esi
push esi
push esi
xor ecx, ecx
xor eax, eax
lea ebx, [esp + 0x2c]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.10007330
mov ecx, dword [esp + 0x20]
mov eax, 0xbce4217d
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xf4240
add ecx, eax
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xf4240
mov edx, ecx
sub edx, eax
mov eax, 0x97247453
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x2710
add ecx, eax
mov dword [esp + 0x20], ecx
lea eax, [esi + 1]
lea ecx, [esp + 0x20]
call fcn.10007860
push 1
push 1
lea edi, [esp + 0x28]
call fcn.10007910
mov edx, dword [ebp]
mov eax, dword [edx + 0x70]
mov ecx, ebp
mov dword [esp + 0x38], esi
call eax
add eax, 0xffffffff
cmp eax, 4
ja case.default.0x10008f0e
jmp dword [eax*4 + 0x1000a0a4]
mov edx, dword [ebp]
mov edx, dword [edx + 0x9c]
lea eax, [esp + 0x6c]
xor esi, esi
push eax
lea ecx, [esp + 0x80]
push ecx
mov ecx, ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
call edx
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.1000b470
mov dword [esp + 0x118], esi
mov edx, dword [ebp]
mov eax, dword [edx + 0x8c]
mov ecx, ebp
call eax
sub eax, 1
je 0x1000943d
sub eax, 1
jne 0x10009660
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa0], eax
mov eax, dword [eax]
lea edi, [esp + 0x50]
mov esi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
test edi, edi
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
je 0x10008fa6
lea ecx, [esp + 0x50]
cmp edi, ecx
je 0x10008fa8
call ebx
cmp esi, dword [esp + 0xa0]
je 0x10009660
test edi, edi
jne 0x10008fbb
call ebx
cmp esi, dword [edi + 4]
jne 0x10008fc2
call ebx
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0xec]
push ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call fcn.10007bc0
add esp, 4
test eax, eax
je 0x10008fe9
lea ecx, [eax + 4]
jmp 0x10008feb
xor ecx, ecx
mov ecx, dword [ecx]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax]
mov dword [esp + 0x18], edx
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x2710
mov edx, ecx
sub edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x3b
sub edx, eax
imul edx, edx, 0x64
add ecx, edx
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [esp + 0x7c]
mov ebp, dword [sym.imp.MSVCR80.dll__localtime64_s]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x80]
imul eax, eax, 0x64
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x8c], ecx
push eax
lea ecx, [esp + 0xb4]
push ecx
mov dword [esp + 0x98], edx
call ebp
add esp, 8
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0x2c]
call fcn.10007d40
mov edi, dword [esp + 0x18]
mov eax, 0x68db8bad
imul edi
sar edx, 0xc
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
lea esi, [esp + 0x28]
call fcn.100077f0
imul ebx, ebx, 0x2710
mov ecx, edi
sub ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
call fcn.10007860
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
push 1
sub edi, eax
push edi
mov edi, esi
call fcn.10007910
mov ecx, dword [esp + 0x2c]
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x2710
mov edx, ecx
sub edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x3b
sub edx, eax
imul edx, edx, 0x64
add ecx, edx
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [esp + 0x6c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x70]
imul eax, eax, 0x64
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x48], ecx
push eax
lea ecx, [esp + 0xb4]
push ecx
mov dword [esp + 0x54], edx
call ebp
add esp, 8
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0x44]
call fcn.10007d40
mov edi, dword [esp + 0x18]
mov eax, 0x68db8bad
imul edi
sar edx, 0xc
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
lea esi, [esp + 0x40]
call fcn.100077f0
imul ebx, ebx, 0x2710
mov ecx, edi
sub ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
call fcn.10007860
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub edi, eax
push 1
push edi
mov edi, esi
call fcn.10007910
mov ecx, dword [esp + 0x44]
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x2710
mov edx, ecx
sub edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x3b
sub edx, eax
imul edx, edx, 0x64
add ecx, edx
mov eax, 0x51eb851f
imul ecx
mov edi, dword [esp + 0x74]
sar edx, 5
imul edi, edi, 0x57e40
mov ecx, dword [esp + 0x40]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0x431bde83
imul ebp, ebp, 0x64
imul dword [esp + 0x2c]
sar edx, 0x12
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, esi
push edx
lea eax, [esp + 0x2c]
lea esi, [esp + 0xf8]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x88], ecx
mov dword [esp + 0x40], edi
call fcn.10007de0
add eax, 4
call fcn.100073c0
cdq
idiv edi
mov ecx, dword [esp + 0x2c]
mov edi, eax
imul edi, dword [esp + 0x74]
mov eax, 0x431bde83
imul ebp
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov edx, ebx
imul edx, edx, 0xf4240
sub ecx, edx
add edi, ebx
mov eax, 0x68db8bad
imul edi, edi, 0xf4240
imul ecx
sar edx, 0xc
add edi, ebp
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0x431bde83
imul edi
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xf4240
mov ecx, edi
sub ecx, eax
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, dword [esp + 0x18]
mov edx, ebp
sub edx, ecx
imul edx, edx, 0x2710
add edi, edx
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x88], edi
jg 0x10009323
mov edx, dword [esp + 0x28]
cmp eax, edx
mov ecx, dword [esp + 0x1c]
jne 0x10009378
cmp ecx, dword [esp + 0x2c]
jle 0x10009376
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
lea esi, [esp + 0x60]
call fcn.10007de0
lea eax, [esp + 0x60]
call fcn.100073c0
cdq
idiv dword [esp + 0x3c]
xor ecx, ecx
push 0
test edx, edx
setne cl
mov esi, eax
mov eax, ebp
lea edx, [ecx + esi - 1]
imul edx, dword [esp + 0x78]
add edx, ebx
push edx
mov ecx, 0x3b
lea ebx, [esp + 0x24]
call fcn.10007330
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
cmp eax, edx
jl 0x10009386
jne 0x100093c1
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jl 0x10009386
jne 0x100093c1
lea esi, [esp + 0x84]
lea eax, [esp + 0x18]
call fcn.10007db0
mov ecx, dword [esp + 0x18]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
push 1
sub ecx, 1
push ecx
lea edi, [esp + 0x20]
call fcn.10007910
jmp 0x100093df
mov edx, dword [esp + 0x40]
cmp eax, edx
jg 0x100093cf
jne 0x100093df
cmp ecx, edi
jle 0x100093df
lea esi, [esp + 0x84]
lea eax, [esp + 0x18]
call fcn.10007db0
lea esi, [esp + 0x18]
call fcn.10007ca0
test al, al
je 0x10009419
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp ecx, eax
jg 0x10009404
jne 0x10009419
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
jle 0x10009419
lea esi, [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.10007db0
mov dword [esp + 0x38], 1
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
cmp esi, dword [edx + 4]
jne 0x1000942c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov esi, eax
jmp 0x10008f94
mov eax, dword [esp + 0x54]
mov ebx, dword [sym.imp.MSVCR80.dll__localtime64_s]
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], eax
mov eax, dword [eax]
mov edi, ecx
mov dword [esp + 0x8c], edi
mov ebp, eax
lea esp, [esp]
cmp edi, esi
je 0x1000946c
lea ecx, [esp + 0x50]
cmp edi, ecx
je 0x10009472
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, dword [esp + 0x60]
je 0x10009660
cmp edi, esi
jne 0x10009486
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, dword [edi + 4]
jne 0x10009491
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea edx, [esp + 0x104]
push edx
call fcn.10007bc0
add esp, 4
test eax, eax
je 0x100094b0
lea ecx, [eax + 4]
jmp 0x100094b2
xor ecx, ecx
mov ecx, dword [ecx]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xb4]
push ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
call ebx
add esp, 8
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0x2c]
call fcn.10007d40
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov eax, 0x431bde83
imul edi
sar edx, 0x12
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul esi, esi, 0xf4240
sub edx, eax
imul edx, edx, 0xf4240
add ecx, edx
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xf4240
mov edx, ecx
sub edx, eax
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x3c], eax
sub edi, esi
mov eax, 0x68db8bad
imul edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x3c]
sub eax, edx
imul eax, eax, 0x2710
add ecx, eax
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x2710
mov edx, ecx
sub edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x3b
sub edx, eax
imul edx, edx, 0x64
add ecx, edx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
lea esi, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.10007ca0
test al, al
mov ecx, dword [esp + 0x18]
je 0x100095eb
mov eax, dword [esp + 0x20]
cmp ecx, eax
jg 0x10009628
jne 0x100095eb
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x1c], edx
jg 0x10009628
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
push 1
sub ecx, 1
push ecx
lea edi, [esp + 0x20]
call fcn.10007910
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jg 0x10009628
jne 0x1000963d
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x1c], ecx
jle 0x1000963d
lea esi, [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.10007db0
mov dword [esp + 0x38], 1
mov edx, dword [esp + 0x8c]
cmp ebp, dword [edx + 4]
jne 0x1000964f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [ebp]
mov edi, dword [esp + 0x8c]
xor esi, esi
jmp 0x10009460
lea esi, [esp + 0x50]
call fcn.1000ba00
cmp dword [esp + 0x38], 0
je case.default.0x10008f0e
lea eax, [esp + 0x20]
call fcn.10007ec0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp]
mov edx, dword [eax + 0xa0]
mov ecx, ebp
call edx
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.1000b5a0
mov dword [esp + 0x118], 1
mov edx, dword [ebp]
mov eax, dword [edx + 0x90]
mov ecx, ebp
call eax
sub eax, 1
jne 0x10009944
mov eax, dword [esp + 0x54]
mov dword [esp + 0x60], eax
mov eax, dword [eax]
lea edi, [esp + 0x50]
mov esi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
test edi, edi
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
je 0x10009704
lea ecx, [esp + 0x50]
cmp edi, ecx
je 0x10009706
call ebx
cmp esi, dword [esp + 0x60]
je 0x10009944
test edi, edi
jne 0x10009716
call ebx
cmp esi, dword [edi + 4]
jne 0x1000971d
call ebx
mov edx, dword [esi + 0xc]
mov ebp, dword [esi + 8]
mov edi, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
lea eax, [esp + 0xfc]
push eax
mov dword [esp + 0x94], edx
call fcn.10007bc0
add esp, 4
test eax, eax
je 0x10009749
lea ecx, [eax + 4]
jmp 0x1000974b
xor ecx, ecx
mov ecx, dword [ecx]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xb4]
push ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], esi
call dword [sym.imp.MSVCR80.dll__localtime64_s]
add esp, 8
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0x2c]
call fcn.10007d40
lea eax, [esp + 0x18]
call fcn.10007660
test eax, eax
mov ebx, 7
je 0x1000979a
mov ebx, eax
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov eax, 0x431bde83
imul edi
sar edx, 0x12
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul esi, esi, 0xf4240
sub edx, eax
imul edx, edx, 0xf4240
add ecx, edx
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xf4240
mov edx, ecx
sub edx, eax
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x3c], eax
sub edi, esi
mov eax, 0x68db8bad
imul edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x3c]
sub eax, edx
imul eax, eax, 0x2710
add ecx, eax
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x2710
mov edx, ecx
sub edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x3b
sub edx, eax
imul edx, edx, 0x64
add ecx, edx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
cmp ebx, ebp
mov dword [esp + 0x1c], eax
jne 0x100098a2
lea esi, [esp + 0x18]
call fcn.10007ca0
test al, al
je 0x100098a2
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
cmp ecx, esi
jg 0x100098da
jne 0x100098a6
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x1c], edx
jg 0x100098da
jmp 0x100098a6
mov ecx, dword [esp + 0x18]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
sub ecx, ebx
cmp ebx, ebp
push 1
lea edi, [esp + 0x1c]
jbe 0x100098cc
add ecx, ebp
jmp 0x100098d0
lea ecx, [ecx + ebp - 7]
push ecx
call fcn.10007910
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x9c]
push edx
call fcn.10007bc0
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add esp, 4
cmp edx, ecx
jl 0x100098ff
jne 0x10009920
cmp edi, dword [eax + 4]
jge 0x10009920
cmp edx, esi
jg 0x1000990b
jne 0x10009920
cmp edi, dword [esp + 0x24]
jle 0x10009920
lea esi, [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.10007db0
mov dword [esp + 0x38], 1
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
cmp esi, dword [eax + 4]
jne 0x10009933
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov esi, ecx
jmp 0x100096f2
lea esi, [esp + 0x50]
call fcn.1000ba00
jmp 0x10009669
mov edx, dword [ebp]
mov eax, dword [edx + 0xa4]
mov ecx, ebp
call eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.1000b5a0
mov dword [esp + 0x118], 2
mov edx, dword [ebp]
mov eax, dword [edx + 0x94]
mov ecx, ebp
call eax
sub eax, 1
je 0x10009c1c
sub eax, 1
jne 0x10009f59
mov eax, dword [esp + 0x54]
mov dword [esp + 0x60], eax
mov eax, dword [eax]
lea esi, [esp + 0x50]
mov edi, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
test esi, esi
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
je 0x100099bf
lea ecx, [esp + 0x50]
cmp esi, ecx
je 0x100099c1
call ebx
cmp edi, dword [esp + 0x60]
je 0x10009f59
test esi, esi
jne 0x100099d1
call ebx
cmp edi, dword [esi + 4]
jne 0x100099d8
call ebx
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi + 8]
mov esi, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov eax, 0x24924925
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 2
lea edx, [eax*8]
sub edx, eax
lea eax, [esp + 0xd4]
neg edx
push eax
add ebx, edx
call fcn.10007bc0
add esp, 4
test eax, eax
je 0x10009a1c
lea ecx, [eax + 4]
jmp 0x10009a1e
xor ecx, ecx
mov ecx, dword [ecx]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xb4]
push ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
call dword [sym.imp.MSVCR80.dll__localtime64_s]
add esp, 8
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0x2c]
call fcn.10007d40
mov ecx, dword [esp + 0x18]
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
imul eax, eax, 0x2710
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebp
push ebx
lea eax, [esp + 0x28]
call fcn.10007720
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov eax, 0x431bde83
imul edi
sar edx, 0x12
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul esi, esi, 0xf4240
sub edx, eax
imul edx, edx, 0xf4240
add ecx, edx
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xf4240
mov edx, ecx
sub edx, eax
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x3c], eax
sub edi, esi
mov eax, 0x68db8bad
imul edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x3c]
sub eax, edx
imul eax, eax, 0x2710
add ecx, eax
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x2710
mov edx, ecx
sub edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x3b
sub edx, eax
imul edx, edx, 0x64
add ecx, edx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
lea esi, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.10007ca0
test al, al
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
je 0x10009b96
cmp ecx, esi
jg 0x10009be3
jne 0x10009b96
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x24]
jg 0x10009be3
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
imul eax, eax, 0x2710
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax - 1]
push ecx
push ebp
push ebx
lea eax, [esp + 0x28]
call fcn.10007720
mov eax, dword [esp + 0x18]
cmp eax, esi
jg 0x10009be3
jne 0x10009bf8
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x1c], edx
jle 0x10009bf8
lea esi, [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.10007db0
mov dword [esp + 0x38], 1
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
cmp esi, dword [eax + 4]
jne 0x10009c0b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edi, ecx
jmp 0x100099ad
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], eax
mov eax, dword [eax]
mov esi, ecx
mov dword [esp + 0x40], esi
mov ebx, eax
test esi, esi
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esp + 0x44], ebx
je 0x10009c48
lea edx, [esp + 0x50]
cmp esi, edx
je 0x10009c4a
call edi
cmp ebx, dword [esp + 0x60]
je 0x10009f59
test esi, esi
jne 0x10009c5a
call edi
cmp ebx, dword [esi + 4]
jne 0x10009c61
call edi
mov eax, dword [ebx + 0xc]
mov ebp, dword [ebx + 8]
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0x14]
lea ecx, [esp + 0xdc]
push ecx
mov dword [esp + 0xa4], eax
call fcn.10007bc0
add esp, 4
test eax, eax
je 0x10009c8d
lea ecx, [eax + 4]
jmp 0x10009c8f
xor ecx, ecx
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov eax, dword [eax]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0xb4]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
call dword [sym.imp.MSVCR80.dll__localtime64_s]
add esp, 8
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x2c]
call fcn.10007d40
cmp ebp, 0x20
jae 0x10009d36
nop
mov esi, dword [esp + 0x18]
mov eax, 0x68db8bad
imul esi
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
imul edx, edx, 0x2710
sub esi, edx
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, 2
jne 0x10009d1a
call fcn.100075c0
test al, al
jne 0x10009d1a
movzx eax, byte [0x10178509]
sub eax, 1
jmp 0x10009d21
movzx eax, byte [esi + 0x10178507]
movzx eax, al
cmp eax, ebp
jae 0x10009d36
lea eax, [esi - 1]
lea ecx, [esp + 0x18]
call fcn.10007860
jmp 0x10009cd0
push 0
push ebp
lea edi, [esp + 0x20]
call fcn.10007910
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov eax, 0x431bde83
imul edi
sar edx, 0x12
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul esi, esi, 0xf4240
sub edx, eax
imul edx, edx, 0xf4240
add ecx, edx
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xf4240
mov edx, ecx
sub edx, eax
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x3c], eax
sub edi, esi
mov eax, 0x68db8bad
imul edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x3c]
sub eax, edx
imul eax, eax, 0x2710
add ecx, eax
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x2710
mov edx, ecx
sub edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x3b
sub edx, eax
imul edx, edx, 0x64
add ecx, edx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
lea esi, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.10007ca0
mov ecx, dword [esp + 0x18]
test al, al
je 0x10009e5e
mov eax, dword [esp + 0x20]
cmp ecx, eax
jg 0x10009e44
jne 0x10009e5e
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x1c], edx
jle 0x10009e5e
lea esi, [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.10007db0
mov dword [esp + 0x38], 1
jmp 0x10009f3f
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x2710
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx - 1]
lea ecx, [esp + 0x18]
call fcn.10007860
cmp ebp, 0x20
jae 0x10009f02
mov bl, byte [0x10178509]
mov edi, edi
mov esi, dword [esp + 0x18]
mov eax, 0x68db8bad
imul esi
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
imul edx, edx, 0x2710
sub esi, edx
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, 2
jne 0x10009ee6
call fcn.100075c0
test al, al
jne 0x10009ee6
movzx eax, bl
sub eax, 1
jmp 0x10009eed
movzx eax, byte [esi + 0x10178507]
movzx eax, al
cmp eax, ebp
jae 0x10009f02
lea eax, [esi - 1]
lea ecx, [esp + 0x18]
call fcn.10007860
jmp 0x10009ea0
push 0
push ebp
lea edi, [esp + 0x20]
call fcn.10007910
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jg 0x10009f26
jne 0x10009f3b
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
jle 0x10009f3b
lea esi, [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.10007db0
mov dword [esp + 0x38], 1
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
cmp ebx, dword [edx + 4]
jne 0x10009f4e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebx]
mov esi, dword [esp + 0x40]
jmp 0x10009c32
lea esi, [esp + 0x50]
call fcn.1000ba00
jmp 0x10009669
mov eax, dword [ebp]
mov edx, dword [eax + 0x98]
mov ecx, ebp
call edx
jmp case.default.0x10008f0e
mov eax, dword [ebp]
mov edx, dword [eax + 0xb0]
mov ecx, ebp
call edx
push edx
push eax
lea esi, [esp + 0x30]
call fcn.10007f20
mov ecx, dword [esp + 0x2c]
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x2710
mov edx, ecx
sub edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x3b
sub edx, eax
imul edx, edx, 0x64
add ecx, edx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esp + 0xe4]
mov edi, eax
push ecx
imul edi, edi, 0x64
call fcn.10007bc0
mov esi, eax
add esp, 4
lea eax, [esp + 0x18]
call fcn.10007db0
mov ecx, dword [esp + 0x1c]
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x2710
mov edx, ecx
sub edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x3b
sub edx, eax
imul edx, edx, 0x64
add ecx, edx
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [esp + 0x18]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x28]
imul eax, eax, 0x64
cmp ecx, edx
mov dword [esp + 0x1c], eax
jg 0x1000a064
jne 0x1000a076
cmp eax, edi
jle 0x1000a076
mov edx, dword [ebp]
mov eax, dword [edx + 0xb0]
mov ecx, ebp
call eax
jmp 0x10009679
lea esi, [esp + 0x9c]
lea edi, [esp + 0x20]
call fcn.10007ce0
lea ecx, [esp + 0x5c]
push ecx
mov edx, esi
push edx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
fld qword [esp + 0x5c]
call fcn.1013fae6
jmp 0x10009679