Function at 0x10086340
Capabilities:
Create thread
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x10176216
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c8fb4]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [esp + 0x26c]
mov edi, dword [esp + 0x268]
mov ebp, dword [esp + 0x284]
mov esi, dword [esp + 0x280]
xor ebx, ebx
mov dword [esp + 0x20], ebx
push ebx
push 0x1017b900
lea ecx, [esp + 0xb0]
mov dword [esp + 0x54], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
call fcn.10004080
mov dword [esp + 0x260], 1
fld qword [0x1017bbb0]
fld qword [esp + 0x288]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x10086c83
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x10086c85
cmp dword [esp + 0x290], 3
ja 0x10086c3e
push 0x14
call fcn.1010051d
add esp, 4
mov dword [esp + 0x54], eax
mov byte [esp + 0x260], 2
cmp eax, ebx
je 0x10086441
mov ecx, eax
call fcn.10102d5b
mov ebx, eax
mov dword [esp + 0x2c], eax
jmp 0x10086447
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x260], 1
test ebx, ebx
je 0x10086477
push 0
push ebx
push 0x1017ba38
push esi
call fcn.1005deb0
add esp, 0x10
test eax, eax
mov dword [esp + 0x34], eax
jne 0x100864a7
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 1
mov ecx, ebx
call eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, edi
call fcn.10004150
mov dword [esp + 0x20], 1
mov byte [esp + 0x260], 0
lea ecx, [esp + 0xa8]
call fcn.10001d10
jmp 0x10086ce6
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x288]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x288]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x288]
push ecx
mov ecx, dword [esp + 0x288]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
xor esi, esi
push edx
mov dword [esp + 0x3c], esi
call fcn.10057d00
add esp, 0x28
test eax, eax
jne 0x1008650f
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 1
mov ecx, ebx
call edx
lea eax, [esp + 0xa8]
push eax
jmp 0x1008647f
mov eax, ebp
mov dword [esp + 0x3c], esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10086518
sub eax, edx
cmp eax, 2
jne 0x1008669f
lea edx, [esp + 0x234]
mov dword [esp + 0x3c], 1
mov eax, ebp
sub edx, ebp
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10086540
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10086550
lea edi, [esp + 0x234]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10086565
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10086583
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100865a0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x64]
lea ebp, [esp + 0x234]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x40], ebp
jle 0x1008662f
mov eax, dword [esp + 0x60]
xor esi, esi
test eax, eax
jle 0x10086628
jmp 0x100865e0
mov edx, ebx
imul edx, dword [esp + 0x1c]
add edx, dword [esp + 0x14]
movzx edi, byte [edx + esi*4]
movzx eax, byte [edx + esi*4 + 2]
lea ecx, [edx + esi*4]
movzx edx, byte [ecx + 1]
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
mov eax, dword [esp + 0x60]
add esi, 1
cmp esi, eax
jl 0x100865e0
mov edi, dword [esp + 0x64]
add ebx, 1
cmp ebx, edi
jl 0x100865d1
imul edi, dword [esp + 0x1c]
push edi
call fcn.10111579
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x44], ebx
jne 0x100866ee
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov eax, dword [esp + 0x14]
push eax
call fcn.1011163c
add esp, 4
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.10004150
mov dword [esp + 0x20], 1
mov byte [esp + 0x260], 0
lea ecx, [esp + 0xa8]
call fcn.10001d10
mov eax, esi
jmp 0x10086ce8
mov edi, dword [esp + 0x64]
xor edx, edx
cmp edi, esi
jle 0x1008662f
mov ecx, dword [esp + 0x60]
lea ecx, [ecx]
xor eax, eax
test ecx, ecx
jle 0x100866e2
jmp 0x100866c0
mov ecx, edx
imul ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x14]
mov byte [ecx + eax*4 + 3], 0
lea ecx, [ecx + eax*4]
mov ecx, dword [esp + 0x60]
add eax, 1
cmp eax, ecx
jl 0x100866c0
mov edi, dword [esp + 0x64]
add edx, 1
cmp edx, edi
jl 0x100866b0
jmp 0x1008662f
mov edx, dword [esp + 0x64]
imul edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push edx
push eax
push ebx
call fcn.101132a0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp esi, dword [eax + 0x3264]
jl 0x10086ad2
cmp dword [eax + 0x3260], 0
je 0x10086ad2
lea ecx, [esp + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [esp + 0x98]
cmp esi, edi
jae 0x10086748
mov edi, esi
mov dword [esp + 0x18], esi
jmp 0x1008674c
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x3268]
test eax, eax
jle 0x10086764
cmp edi, eax
jle 0x10086764
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, 0x40
jl 0x10086772
mov edi, 0x40
mov dword [esp + 0x18], edi
lea ebx, [edi*4]
push ebx
call fcn.10111579
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x30], ebp
je 0x10086aa1
mov esi, edi
imul esi, esi, 0x170
push esi
call fcn.10111579
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x10086a60
push ebx
xor ebx, ebx
push ebx
push ebp
call fcn.10112240
mov eax, dword [esp + 0x30]
push esi
push ebx
push eax
call fcn.10112240
mov eax, dword [esp + 0x4c]
cdq
idiv edi
mov edx, dword [esp + 0x40]
add esp, 0x18
xor ecx, ecx
cmp ebx, edi
mov dword [edx + 0x325c], ebx
mov dword [esp + 0x54], eax
jge 0x1008697f
jmp 0x100867f0
mov eax, dword [esp + 0x54]
lea edx, [eax + ecx - 1]
mov eax, dword [esp + 0x18]
add eax, 0xffffffff
cmp ebx, eax
mov dword [esp + 0x38], edx
jne 0x10086812
mov eax, dword [esp + 0x34]
add eax, 0xffffffff
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov edx, ebx
imul edx, edx, 0x170
lea ebp, [edx + eax]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebp], edx
mov edx, dword [esp + 0x294]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], 1
mov dword [ebp + 0x16c], 0
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x18], eax
lea edi, [ebp + 0x1c]
mov ecx, 0xa
lea esi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 0x44], ecx
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x48], edx
mov eax, dword [esp + 0x50]
mov dword [ebp + 0x4c], eax
mov ecx, dword [esp + 0x64]
imul ecx, dword [esp + 0x1c]
push ecx
call fcn.10111579
add esp, 4
test eax, eax
mov dword [ebp + 0x50], eax
je 0x10086975
mov edx, dword [esp + 0x64]
imul edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
call fcn.101132a0
mov eax, dword [esp + 0x29c]
mov edx, dword [esp + 0x50]
mov dword [ebp + 0x58], eax
mov eax, dword [esp + 0x4c]
mov ecx, ebp
add esp, 0xc
sub ecx, eax
mov dword [ebp + 0x54], edx
lea edx, [ecx + 0x5c]
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100868d0
fld qword [esp + 0x288]
push 0x1c
fstp qword [ebp + 0x160]
call fcn.1010051d
add esp, 4
mov dword [esp + 0x58], eax
mov byte [esp + 0x260], 4
test eax, eax
je 0x10086917
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], 0
mov byte [eax + 4], 0
jmp 0x10086919
xor eax, eax
mov byte [esp + 0x260], 1
test eax, eax
mov dword [ebp + 0x168], eax
je 0x10086973
call fcn.10040860
push 0
push 0
push ebp
push 0x10084fc0
push 0
push 0
mov esi, eax
call fcn.101136ff
mov edi, dword [esp + 0x48]
push esi
mov dword [edi + ebx*4], eax
call fcn.10040900
add esp, 0x1c
cmp dword [edi + ebx*4], 0
jne 0x1008695d
xor ebx, ebx
mov ecx, dword [esp + 0x38]
add ebx, 1
add ecx, 1
cmp ebx, dword [esp + 0x18]
jl 0x100867f0
jmp 0x10086975
xor ebx, ebx
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x30]
cmp ebx, edi
jne 0x100869e3
push 0xffffffffffffffff
push 1
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x100869e3
test edi, edi
jle 0x100869e3
mov esi, dword [esp + 0x24]
add esi, 0x168
mov ebx, edi
mov edx, dword [esi]
cmp dword [edx + 0x14], 0
jbe 0x100869d8
cmp dword [esp + 0xbc], 0
jbe 0x100869c5
push 0x1017ba38
lea ecx, [esp + 0xac]
call fcn.10004380
mov eax, dword [esi]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xb4]
call fcn.10003cc0
add esi, 0x170
sub ebx, 1
jne 0x100869a2
xor eax, eax
test edi, edi
jle 0x10086a0d
mov ecx, dword [esp + 0x24]
add ecx, 0x16c
cmp dword [ebp + eax*4], 0
je 0x10086a00
mov dword [ecx], 1
add eax, 1
add ecx, 0x170
cmp eax, edi
jl 0x100869f3
xor esi, esi
test edi, edi
jle 0x10086a60
mov ebx, dword [esp + 0x24]
add ebx, 0x50
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x10086a53
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + esi*4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + esi*4], 0
mov eax, dword [ebx]
test eax, eax
je 0x10086a53
push eax
call fcn.1011163c
add esp, 4
mov dword [ebx], 0
add esi, 1
add ebx, 0x170
cmp esi, edi
jl 0x10086a1a
push ebp
call fcn.1011163c
mov ebx, dword [esp + 0x28]
add esp, 4
test ebx, ebx
je 0x10086aa1
test edi, edi
jle 0x10086a98
lea esi, [ebx + 0x168]
jmp 0x10086a80
mov ecx, dword [esi]
test ecx, ecx
je 0x10086a8d
push 1
call fcn.1004df20
add esi, 0x170
sub edi, 1
jne 0x10086a80
push ebx
call fcn.1011163c
add esp, 4
mov eax, dword [esp + 0x44]
push eax
call fcn.1011163c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.1011163c
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], 0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esp, 8
push 1
call eax
jmp 0x10086669
push 0x170
xor esi, esi
lea ecx, [esp + 0xc8]
push esi
push ecx
call fcn.10112240
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
add ecx, 0xffffffff
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0x2a0]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xd8], esi
mov dword [esp + 0x23c], esi
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x5c]
mov ecx, 0xa
lea esi, [esp + 0x68]
lea edi, [esp + 0xec]
mov dword [esp + 0xe4], 1
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x120], ecx
mov dword [esp + 0x118], edx
mov edx, dword [esp + 0x29c]
lea ecx, [esp + 0x12c]
add esp, 0xc
mov dword [esp + 0x110], eax
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], edx
mov eax, ebp
sub ecx, ebp
mov edi, edi
mov dl, byte [eax]
mov byte [ecx + eax], dl
add eax, 1
test dl, dl
jne 0x10086ba0
fld qword [esp + 0x288]
push 0x1c
fstp qword [esp + 0x228]
call fcn.1010051d
add esp, 4
mov dword [esp + 0x58], eax
mov byte [esp + 0x260], 3
test eax, eax
je 0x10086be8
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], 0
mov byte [eax + 4], 0
jmp 0x10086bea
xor eax, eax
mov byte [esp + 0x260], 1
lea ecx, [esp + 0xc4]
mov dword [esp + 0x22c], eax
call fcn.10081c40
mov ecx, dword [esp + 0x22c]
cmp dword [ecx + 0x14], 0
jbe 0x10086c2a
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esp + 0xb4]
call fcn.10003e70
mov ecx, dword [esp + 0x22c]
test ecx, ecx
je 0x10086aa1
push 1
call fcn.1004df20
jmp 0x10086aa1
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb0]
mov esi, 0xf
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push edx
mov ecx, edi
mov byte [edi + 4], 0
call fcn.10003e70
mov dword [esp + 0x20], 1
mov byte [esp + 0x260], 0
cmp dword [esp + 0xc0], 0x10
jb 0x10086cd0
mov eax, dword [esp + 0xac]
push eax
jmp 0x10086cc8
fstp st(0)
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xb0]
mov esi, 0xf
push ecx
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov ecx, edi
mov byte [edi + 4], 0
call fcn.10003e70
mov dword [esp + 0x20], 1
mov byte [esp + 0x260], 0
cmp dword [esp + 0xc0], 0x10
jb 0x10086cd0
mov edx, dword [esp + 0xac]
push edx
call fcn.10100548
add esp, 4
mov byte [esp + 0xac], 0
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], esi
mov eax, edi
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.10111b17
add esp, 0x250
ret