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

Disassembly:
push 0xffffffffffffffff
push 0x1017afa9
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x101cc114]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cc114]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x268]
mov ebp, dword [esp + 0x280]
mov eax, dword [esp + 0x28c]
mov ecx, dword [esp + 0x290]
mov esi, dword [esp + 0x27c]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xac], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x14], 0xffffffff
mov ecx, ecx
mov dword [ecx], 0xffffffff
mov dword [eax], 0xffffffff
push ecx
pop ecx
cmp dword [esp + 0x284], 0x64
ja 0x1008707b
push 0x14
call fcn.1010956d
add esp, 4
mov dword [esp + 0xa4], eax
xor edi, edi
mov dword [esp + 0x260], edi
cmp eax, edi
je 0x10086890
mov ecx, eax
call fcn.1010c8ec
mov edi, eax
mov dword [esp + 0x84], eax
jmp 0x10086897
mov dword [esp + 0x84], edi
mov dword [esp + 0x260], 0xffffffff
mov dl, dl
test edi, edi
je 0x1008707b
push 0
push edi
push 0x10181488
push esi
call fcn.1005eb40
add esp, 0x10
mov dword [esp + 0x88], eax
mov eax, eax
test eax, eax
jne 0x100868dc
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
push edx
pop edx
jmp 0x1008707b
mov ch, ch
mov edx, edx
mov dword [esp + 0x18], 0
push eax
pop eax
mov esi, esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x284]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x284]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x284]
push edx
mov edx, dword [esp + 0x284]
push eax
push ecx
push edx
push ebx
call fcn.10058280
add esp, 0x28
test eax, eax
jne 0x10086944
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
xchg ebx, eax
xchg ebx, eax
jmp 0x1008707b
xor ebx, ebx
mov dword [esp + 0x8c], ebx
mov dh, dh
mov cl, cl
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10086956
sub eax, edx
cmp eax, 2
jne 0x10086a10
mov ebx, 1
mov dword [esp + 0x8c], ebx
mov bh, bh
lea edx, [esp + 0x234]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10086983
xchg ebx, eax
xchg ebx, eax
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10086995
lea edi, [esp + 0x234]
sub eax, edx
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x100869b0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ecx
mov eax, ebp
mov ecx, ebp
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100869d0
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x100869e7
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]
xchg ebx, eax
xchg ebx, eax
lea ebp, [esp + 0x234]
mov dword [esp + 0x9c], ebp
mov dl, dl
xchg ebx, eax
xchg ebx, eax
test ebx, ebx
jne 0x10086a5c
xor edx, edx
cmp dword [esp + 0x30], edx
jle 0x10086ac7
mov ecx, dword [esp + 0x2c]
xor eax, eax
test ecx, ecx
jle 0x10086a51
lea esp, [esp]
mov ecx, edx
imul ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
push ebx
pop ebx
mov byte [ecx + 3], 0
mov esi, esi
mov ecx, dword [esp + 0x2c]
add eax, 1
cmp eax, ecx
jl 0x10086a30
add edx, 1
cmp edx, dword [esp + 0x30]
jl 0x10086a26
jmp 0x10086ac7
xor ebx, ebx
cmp dword [esp + 0x30], ebx
jle 0x10086ac7
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x10086abe
mov edi, edi
mov edx, ebx
imul edx, dword [esp + 0x1c]
add edx, dword [esp + 0x18]
lea ecx, [edx + esi*4]
mov ch, ch
movzx eax, byte [ecx + 2]
mov esi, esi
movzx edx, byte [ecx + 1]
mov ebp, ebp
movzx edi, byte [ecx]
mov eax, eax
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
mov dh, dh
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
mov al, al
mov eax, dword [esp + 0x2c]
add esi, 1
cmp esi, eax
jl 0x10086a70
add ebx, 1
cmp ebx, dword [esp + 0x30]
jl 0x10086a68
mov ah, ah
push edx
pop edx
mov dword [esp + 0x7c], 0
mov dh, dh
mov edi, edi
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x80]
cmp edi, dword [ebx + 0x3268]
jl 0x100870a7
cmp dword [ebx + 0x3264], 0
je 0x100870a7
mov dh, dh
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov esi, esi
mov cl, cl
mov ah, ah
mov esi, dword [esp + 0x64]
cmp edi, esi
jae 0x10086b23
mov esi, edi
mov dword [esp + 0x74], edi
mov eax, eax
jmp 0x10086b29
mov dword [esp + 0x74], esi
push ecx
pop ecx
mov eax, dword [ebx + 0x326c]
test eax, eax
jle 0x10086b3f
cmp esi, eax
jle 0x10086b3f
mov esi, eax
mov dword [esp + 0x74], esi
mov ebx, ebx
cmp esi, 0x40
jl 0x10086b4f
mov esi, 0x40
mov dword [esp + 0x74], esi
mov eax, eax
mov dword [esp + 0xa4], esi
mov ebp, ebp
lea ebp, [esi*4]
push ebp
call fcn.10117399
mov ebx, eax
add esp, 4
mov dword [esp + 0x94], ebx
mov edi, edi
test ebx, ebx
je 0x10087052
mov edi, esi
imul edi, edi, 0x168
push edi
call fcn.10117399
add esp, 4
mov dword [esp + 0x90], eax
nop
test eax, eax
je 0x10086fca
push ebp
call fcn.10117399
add esp, 4
mov dword [esp + 0x7c], eax
push ebx
pop ebx
test eax, eax
je 0x10086fca
push ebp
push 0
push ebx
call fcn.101183f0
add esp, 0xc
mov bl, bl
mov ecx, dword [esp + 0x90]
push edi
xor edi, edi
push edi
push ecx
call fcn.101183f0
add esp, 0xc
mov ch, ch
mov edx, dword [esp + 0x7c]
push ebp
push edi
push edx
call fcn.101183f0
add esp, 0xc
mov ebx, ebx
xor ecx, ecx
mov edi, edi
mov eax, dword [esp + 0x88]
cdq
idiv esi
mov dword [esp + 0xbc], eax
mov edi, edi
mov edi, edi
mov eax, dword [esp + 0x80]
mov dword [eax + 0x3260], edi
mov bh, bh
cmp esi, edi
mov dword [esp + 0x78], edi
jle 0x10086e30
mov ebp, dword [esp + 0x90]
mov eax, 0x58
sub eax, dword [esp + 0x9c]
add ebp, 4
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x7c]
sub eax, ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb0], eax
lea ecx, [ecx]
push ebx
pop ebx
mov edx, dword [esp + 0xbc]
lea eax, [edx + ecx - 1]
mov dword [esp + 0x98], eax
mov edi, edi
mov eax, dword [esp + 0x74]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jne 0x10086c86
mov edx, dword [esp + 0x88]
add edx, 0xffffffff
mov dword [esp + 0x98], edx
mov ch, ch
mov eax, eax
mov eax, dword [esp + 0x80]
lea ebx, [ebp - 4]
mov dword [ebx], eax
push edx
pop edx
mov edx, dword [esp + 0x84]
mov dword [ebp], edx
mov esi, esi
mov dword [ebp + 4], ecx
nop
mov eax, dword [esp + 0x98]
mov dword [ebp + 8], eax
mov ah, ah
xor eax, eax
mov dword [ebp + 0x10], eax
mov al, al
mov dword [ebp + 0x160], eax
mov ecx, ecx
mov ecx, dword [esp + 0x294]
mov dword [ebp + 0xc], ecx
mov ecx, ecx
mov edx, dword [esp + 0x8c]
mov dword [ebp + 0x14], edx
mov eax, eax
lea edi, [ebp + 0x18]
mov ecx, 0xa
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov bh, bh
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x40], eax
mov ebp, ebp
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x44], ecx
mov ah, ah
mov edx, dword [esp + 0x24]
mov dword [ebp + 0x48], edx
nop
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x4c], eax
mov al, al
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x9c]
lea edx, [ecx + ebp]
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10086d20
mov edx, edx
mov edx, dword [esp + 0x284]
mov dword [ebp + 0x158], edx
mov dl, dl
mov eax, dword [esp + 0x288]
mov dword [ebp + 0x54], eax
mov eax, eax
push 0x1c
call fcn.1010956d
add esp, 4
mov dword [esp + 0xb4], eax
mov dword [esp + 0x260], 2
xor ecx, ecx
cmp eax, ecx
je 0x10086d7a
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ecx
mov byte [eax + 4], cl
jmp 0x10086d7c
xor eax, eax
mov dword [esp + 0x260], 0xffffffff
mov dword [ebp + 0x15c], eax
mov edx, edx
cmp dword [ebp + 0x15c], ecx
je 0x10086e14
mov ecx, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
mov dword [ecx + esi], ebx
mov edi, edi
call fcn.1003f2b0
mov edi, eax
push ecx
pop ecx
mov ebp, ebp
push 0
push 0
push ebx
push 0x10085c60
push 0
push 0
call fcn.10119b6f
add esp, 0x18
mov dl, dl
mov dword [esi], eax
mov esi, esi
push edi
call fcn.1003f370
add esp, 4
xchg ebx, eax
xchg ebx, eax
cmp dword [esi], 0
je 0x10086e1b
mov ecx, dword [esp + 0x98]
add ecx, 1
mov ebp, ebp
mov eax, dword [esp + 0x78]
add eax, 1
add esi, 4
add ebp, 0x168
cmp eax, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov dword [esp + 0xa8], esi
jl 0x10086c50
jmp 0x10086e25
mov dword [esp + 0x78], ecx
nop
jmp 0x10086e25
mov dword [esp + 0x78], 0
mov al, al
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x74]
cmp dword [esp + 0x78], esi
jne 0x10086f60
push ebx
pop ebx
add esi, 0xffffffff
mov dword [esp + 0x78], esi
mov edx, dword [esp + 0x74]
push 0xffffffffffffffff
push 0
push ebx
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov ebp, eax
nop
cmp ebp, 0xffffffff
je 0x10086f60
mov bl, bl
mov bl, bl
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + ebp*4]
mov ecx, dword [eax + 0x160]
cmp dword [ecx + 0x14], 0
lea edi, [edx + ebp*4]
ja 0x10086ed6
mov edx, dword [ebx + ebp*4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, edx
mov dword [ebx + ebp*4], 0
mov ebx, ebx
mov edx, dword [esp + 0x78]
cmp ebp, edx
mov eax, ebp
jge 0x10086eb3
mov ecx, edx
lea esi, [edi + 4]
sub ecx, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + eax*4 + 4]
mov dword [ebx + eax*4], ecx
mov bl, bl
xchg ebx, eax
xchg ebx, eax
add eax, 1
cmp eax, edx
jl 0x10086ea1
mov eax, dword [esp + 0x74]
sub eax, 1
sub edx, 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov bh, bh
test eax, eax
jne 0x10086e43
mov al, al
jmp 0x10086f60
mov al, 0x25
mov cl, 0x7c
mov byte [esp + 0x228], al
mov byte [esp + 0x229], 0x64
mov byte [esp + 0x22a], cl
mov byte [esp + 0x22b], al
mov byte [esp + 0x22c], 0x64
mov byte [esp + 0x22d], cl
mov byte [esp + 0x22e], al
mov byte [esp + 0x22f], 0x64
mov byte [esp + 0x230], 0
mov edx, edx
mov edx, dword [edx + ebp*4]
mov eax, dword [edx + 0x160]
cmp dword [eax + 0x18], 0x10
jb 0x10086f33
mov eax, dword [eax + 4]
jmp 0x10086f36
add eax, 4
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
push ecx
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x234]
push edx
push eax
call fcn.10119c85
add esp, 0x14
mov edi, edi
push edx
pop edx
mov edi, dword [esp + 0x74]
test edi, edi
jle 0x10086f8e
mov eax, dword [esp + 0x7c]
mov ecx, ebx
sub ecx, eax
mov edx, edi
mov esi, 1
cmp dword [ecx + eax], 0
je 0x10086f87
mov ebp, dword [eax]
mov dword [ebp + 0x164], esi
push eax
pop eax
add eax, 4
sub edx, esi
jne 0x10086f77
xor esi, esi
test edi, edi
jle 0x10086fca
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ebp, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x10086fc1
push 0xffffffffffffffff
push eax
call edi
mov ebp, ebp
mov eax, eax
mov eax, dword [ebx + esi*4]
push eax
call ebp
push ebx
pop ebx
mov dword [ebx + esi*4], 0
mov bl, bl
add esi, 1
cmp esi, dword [esp + 0x74]
jl 0x10086fa0
push ebx
call fcn.1011745c
add esp, 4
mov edi, edi
mov ebp, dword [esp + 0x90]
test ebp, ebp
je 0x1008703c
mov ebx, dword [esp + 0xa4]
test ebx, ebx
jle 0x10087031
lea edi, [ebp + 0x160]
mov esi, dword [edi]
test esi, esi
je 0x10087026
cmp dword [esi + 0x18], 0x10
jb 0x10087009
mov ecx, dword [esi + 4]
push ecx
call fcn.1010959d
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
push esi
mov byte [esi + 4], 0
call fcn.1010959d
add esp, 4
mov bl, bl
add edi, 0x168
sub ebx, 1
jne 0x10086ff1
push ebp
call fcn.1011745c
add esp, 4
mov ebp, ebp
cmp dword [esp + 0x7c], 0
je 0x10087052
mov edx, dword [esp + 0x7c]
push edx
call fcn.1011745c
add esp, 4
mov ebp, ebp
mov eax, dword [esp + 0x18]
push eax
call fcn.1011745c
add esp, 4
mov dword [esp + 0x18], 0
mov esi, esi
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
push eax
pop eax
mov eax, dword [esp + 0x14]
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.10117937
add esp, 0x250
ret
mov cl, cl
push 0x168
xor ebx, ebx
lea ecx, [esp + 0xc4]
push ebx
push ecx
call fcn.101183f0
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc0], edx
mov esi, esi
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc4], eax
mov al, al
mov dword [esp + 0xc8], ebx
mov ebp, ebp
mov ecx, dword [esp + 0x88]
add ecx, 0xffffffff
mov dword [esp + 0xcc], ecx
mov eax, eax
mov dword [esp + 0xd4], ebx
push ecx
pop ecx
mov edx, dword [esp + 0x294]
mov dword [esp + 0xd0], edx
mov edx, edx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xd8], eax
mov al, al
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0xdc]
rep movsd dword es:[edi], dword [esi]
mov dh, dh
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x104], ecx
mov ah, ah
mov edx, dword [esp + 0x20]
mov dword [esp + 0x108], edx
mov dl, dl
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10c], eax
push ebx
pop ebx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x110], ecx
push eax
pop eax
mov dword [esp + 0x224], ebx
mov edi, edi
lea edx, [esp + 0x11c]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10087184
mov eax, eax
mov edx, dword [esp + 0x284]
mov dword [esp + 0x21c], edx
mov ebx, ebx
mov eax, dword [esp + 0x288]
mov dword [esp + 0x118], eax
mov ebx, ebx
push 0x1c
call fcn.1010956d
add esp, 4
mov dword [esp + 0xb4], eax
mov dword [esp + 0x260], 1
cmp eax, ebx
je 0x100871e2
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], 0
jmp 0x100871e4
xor eax, eax
mov dword [esp + 0x260], 0xffffffff
mov dword [esp + 0x220], eax
push ebx
pop ebx
lea ecx, [esp + 0xc0]
call fcn.10081720
push eax
pop eax
mov eax, dword [esp + 0x220]
cmp dword [eax + 0x14], ebx
jbe 0x100872a3
mov al, 0x25
mov cl, 0x7c
mov byte [esp + 0x228], al
mov byte [esp + 0x229], 0x64
mov byte [esp + 0x22a], cl
mov byte [esp + 0x22b], al
mov byte [esp + 0x22c], 0x64
mov byte [esp + 0x22d], cl
mov byte [esp + 0x22e], al
mov byte [esp + 0x22f], 0x64
mov byte [esp + 0x230], 0
push ebx
pop ebx
mov eax, dword [esp + 0x220]
cmp dword [eax + 0x18], 0x10
jb 0x10087271
mov eax, dword [eax + 4]
jmp 0x10087274
add eax, 4
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
push ecx
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x234]
push edx
push eax
call fcn.10119c85
add esp, 0x14
mov bl, bl
mov eax, dword [esp + 0x220]
cmp eax, ebx
mov esi, eax
je 0x100872d4
cmp dword [eax + 0x18], 0x10
lea edi, [eax + 0x18]
jb 0x100872be
mov eax, dword [eax + 4]
push eax
call fcn.1010959d
add esp, 4
mov dword [edi], 0xf
mov dword [esi + 0x14], ebx
push esi
mov byte [esi + 4], 0
call fcn.1010959d
add esp, 4
mov ebp, ebp
jmp 0x10087052