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

Disassembly:
push 0xffffffffffffffff
push 0x1017ca59
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce00c]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x278]
mov ebp, dword [esp + 0x290]
mov eax, dword [esp + 0x2a0]
mov ecx, dword [esp + 0x2a4]
mov esi, dword [esp + 0x28c]
xor edi, edi
mov dword [esp + 0x90], ebx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xb4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x14], 0xffffffff
mov ebp, ebp
mov dword [ecx], 0xffffffff
mov dword [eax], 0xffffffff
test ecx, ecx
fld qword [0x10181ba8]
fld qword [esp + 0x294]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x1008fa06
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x1008fa08
cmp dword [esp + 0x29c], 3
ja 0x1008fa08
push 0x14
call fcn.10106ad0
add esp, 4
mov dword [esp + 0xac], eax
mov dword [esp + 0x270], edi
cmp eax, edi
je 0x1008ef8f
mov ecx, eax
call fcn.10109303
mov edi, eax
mov dword [esp + 0x88], eax
jmp 0x1008ef98
xor edi, edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x270], 0xffffffff
test ah, ah
test edi, edi
je 0x1008fa08
push 0
push edi
push 0x10181a24
push esi
call fcn.10060cc0
add esp, 0x10
mov dword [esp + 0x8c], eax
nop
test eax, eax
jne 0x1008efdc
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov bl, bl
jmp 0x1008fa08
mov al, al
mov ebx, ebx
mov dword [esp + 0x18], 0
push eax
pop eax
test eax, 0x13a7
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x294]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x294]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x294]
push edx
mov edx, dword [esp + 0x294]
push eax
push ecx
push edx
push ebx
call fcn.10059b10
add esp, 0x28
test eax, eax
jne 0x1008f047
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov dh, dh
jmp 0x1008fa08
xor ebx, ebx
mov dword [esp + 0xa4], ebx
test ecx, ecx
test eax, 0x10f0
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008f060
sub eax, edx
cmp eax, 2
jne 0x1008f119
mov ebx, 1
mov dword [esp + 0xa4], ebx
mov bh, bh
lea edx, [esp + 0x244]
mov eax, ebp
sub edx, ebp
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1008f090
test ecx, ecx
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008f0a2
lea edi, [esp + 0x244]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x1008f0b7
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]
test cl, cl
mov eax, ebp
mov ecx, ebp
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1008f0d6
lea edi, [esp + 0x244]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ecx, [ecx]
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x1008f0f0
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 esi, esi
lea ebp, [esp + 0x244]
mov dword [esp + 0x9c], ebp
test ecx, ecx
mov ebx, ebx
test ebx, ebx
jne 0x1008f172
xor edx, edx
cmp dword [esp + 0x30], edx
jle 0x1008f1e7
mov ecx, dword [esp + 0x2c]
nop
xor eax, eax
test ecx, ecx
jle 0x1008f167
jmp 0x1008f140
mov ecx, edx
imul ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
test eax, 0x3df8
mov byte [ecx + 3], 0
test eax, 0x7ad7
mov ecx, dword [esp + 0x2c]
add eax, 1
cmp eax, ecx
jl 0x1008f140
add edx, 1
cmp edx, dword [esp + 0x30]
jl 0x1008f130
jmp 0x1008f1e7
xor ebx, ebx
cmp dword [esp + 0x30], ebx
jle 0x1008f1e7
mov eax, dword [esp + 0x2c]
mov edi, edi
xor esi, esi
test eax, eax
jle 0x1008f1de
jmp 0x1008f190
mov edx, ebx
imul edx, dword [esp + 0x1c]
add edx, dword [esp + 0x18]
lea ecx, [edx + esi*4]
mov ecx, ecx
movzx eax, byte [ecx + 2]
push ebx
pop ebx
movzx edx, byte [ecx + 1]
mov cl, cl
movzx edi, byte [ecx]
test ecx, ecx
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
mov esi, esi
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x2c]
add esi, 1
cmp esi, eax
jl 0x1008f190
add ebx, 1
cmp ebx, dword [esp + 0x30]
jl 0x1008f180
mov edi, edi
mov ah, ah
mov dword [esp + 0x80], 0
test dl, dl
test eax, eax
mov edi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
cmp edi, dword [ebx + 0x3264]
jl 0x1008f7c9
cmp dword [ebx + 0x3260], 0
je 0x1008f7c9
test eax, 0x4c5
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push edx
pop edx
mov ah, ah
test dh, dh
mov esi, dword [esp + 0x64]
cmp edi, esi
jae 0x1008f249
mov esi, edi
mov dword [esp + 0x74], edi
test bh, bh
jmp 0x1008f24f
mov dword [esp + 0x74], esi
mov ah, ah
mov eax, dword [ebx + 0x3268]
test eax, eax
jle 0x1008f265
cmp esi, eax
jle 0x1008f265
mov esi, eax
mov dword [esp + 0x74], esi
test dl, dl
cmp esi, 0x40
jl 0x1008f275
mov esi, 0x40
mov dword [esp + 0x74], esi
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0xac], esi
mov edi, edi
lea edi, [esi*4]
push edi
call fcn.10117b2c
mov ebx, eax
add esp, 4
mov dword [esp + 0x94], ebx
test dh, dh
test ebx, ebx
je 0x1008f79b
mov ebp, esi
imul ebp, ebp, 0x170
push ebp
call fcn.10117b2c
add esp, 4
mov dword [esp + 0x98], eax
push edx
pop edx
test eax, eax
je 0x1008f72a
push edi
call fcn.10117b2c
add esp, 4
mov dword [esp + 0x80], eax
mov eax, eax
test eax, eax
je 0x1008f72a
push edi
push 0
push ebx
call fcn.10118770
add esp, 0xc
nop
mov ecx, dword [esp + 0x98]
push ebp
xor ebp, ebp
push ebp
push ecx
call fcn.10118770
add esp, 0xc
nop
mov edx, dword [esp + 0x80]
push edi
push ebp
push edx
call fcn.10118770
add esp, 0xc
test bh, bh
xor ecx, ecx
test ah, ah
mov eax, dword [esp + 0x8c]
cdq
idiv esi
mov dword [esp + 0xc4], eax
test eax, eax
mov eax, eax
mov eax, dword [esp + 0x90]
mov dword [eax + 0x325c], ebp
mov ah, ah
cmp esi, ebp
mov dword [esp + 0x78], ebp
jle 0x1008f588
mov ebp, dword [esp + 0x98]
mov eax, 0x58
sub eax, dword [esp + 0x9c]
add ebp, 4
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x80]
sub eax, ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb8], eax
jmp 0x1008f380
mov eax, eax
mov edx, dword [esp + 0xc4]
lea eax, [edx + ecx - 1]
mov dword [esp + 0xa0], eax
mov edi, edi
mov eax, dword [esp + 0x74]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jne 0x1008f3b6
mov edx, dword [esp + 0x8c]
add edx, 0xffffffff
mov dword [esp + 0xa0], edx
push edx
pop edx
test ebx, ebx
mov eax, dword [esp + 0x90]
lea ebx, [ebp - 4]
mov dword [ebx], eax
mov bh, bh
mov edx, dword [esp + 0x88]
mov dword [ebp], edx
mov dh, dh
mov dword [ebp + 4], ecx
test ah, ah
mov eax, dword [esp + 0xa0]
mov dword [ebp + 8], eax
test eax, 0x1c32
xor eax, eax
mov dword [ebp + 0x10], eax
mov cl, cl
mov dword [ebp + 0x168], eax
mov esi, esi
mov ecx, dword [esp + 0x2a8]
mov dword [ebp + 0xc], ecx
mov edi, edi
mov edx, dword [esp + 0xa4]
mov dword [ebp + 0x14], edx
mov edi, edi
lea edi, [ebp + 0x18]
mov ecx, 0xa
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov al, al
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x40], eax
mov dl, dl
mov ecx, dword [esp + 0x24]
mov dword [ebp + 0x44], ecx
mov edi, edi
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x48], edx
mov edx, edx
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x4c], eax
mov eax, eax
mov ecx, dword [esp + 0x29c]
mov dword [ebp + 0x54], ecx
test ebx, ebx
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x9c]
add edx, ebp
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1008f460
mov esi, esi
fld qword [esp + 0x294]
fstp qword [ebp + 0x15c]
push eax
pop eax
push 0x18
call fcn.10106ad0
add esp, 4
mov dword [esp + 0xbc], eax
mov ecx, 2
mov dword [esp + 0x270], ecx
test eax, eax
je 0x1008f4b3
or dword [esp + 0x7c], ecx
lea ecx, [esp + 0x87]
push ecx
mov ecx, eax
call fcn.10004150
jmp 0x1008f4b5
xor eax, eax
mov dword [esp + 0x270], 0xffffffff
test byte [esp + 0x7c], 2
mov dword [ebp + 0x164], eax
je 0x1008f4d2
and dword [esp + 0x7c], 0xfffffffd
test eax, eax
cmp dword [ebp + 0x164], 0
je 0x1008f564
mov edx, dword [esp + 0xb8]
mov esi, dword [esp + 0xb0]
mov dword [edx + esi], ebx
test ch, ch
call fcn.10041aa0
mov edi, eax
test eax, 0x1ab7
test eax, 0x6493
push 0
push 0
push ebx
push 0x1008ee30
push 0
push 0
call fcn.1011a147
add esp, 0x18
test eax, eax
mov dword [esi], eax
mov ebx, ebx
push edi
call fcn.10041b60
add esp, 4
test cl, cl
cmp dword [esi], 0
je 0x1008f570
mov ecx, dword [esp + 0xa0]
add ecx, 1
test cl, cl
mov eax, dword [esp + 0x78]
add eax, 1
add esi, 4
add ebp, 0x170
cmp eax, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov dword [esp + 0xb0], esi
jl 0x1008f380
jmp 0x1008f57d
mov dword [esp + 0x78], 0
test cl, cl
jmp 0x1008f57d
mov dword [esp + 0x78], 0
test eax, 0x783a
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x74]
cmp dword [esp + 0x78], esi
jne 0x1008f6bd
push eax
pop eax
add esi, 0xffffffff
mov dword [esp + 0x78], esi
jmp 0x1008f5a0
mov eax, dword [esp + 0x74]
push 0xffffffffffffffff
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebp, eax
mov dh, dh
cmp ebp, 0xffffffff
je 0x1008f6bd
test eax, 0x6c15
test esi, esi
mov esi, dword [esp + 0x80]
mov ecx, dword [esi + ebp*4]
mov eax, dword [ecx + 0x168]
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0x14]
lea edi, [esi + ebp*4]
jne 0x1008f63c
mov eax, dword [ebx + ebp*4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, edi
mov dword [ebx + ebp*4], 0
mov eax, eax
mov edx, dword [esp + 0x78]
cmp ebp, edx
mov eax, ebp
jge 0x1008f619
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
push ecx
pop ecx
mov eax, eax
add eax, 1
cmp eax, edx
jl 0x1008f607
mov eax, dword [esp + 0x74]
sub eax, 1
sub edx, 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov ecx, ecx
test eax, eax
jne 0x1008f5a0
mov edi, edi
jmp 0x1008f6bd
mov cl, 0x25
mov al, 0x64
mov dl, 0x7c
mov byte [esp + 0x238], cl
mov byte [esp + 0x239], al
mov byte [esp + 0x23a], dl
mov byte [esp + 0x23b], cl
mov byte [esp + 0x23c], al
mov byte [esp + 0x23d], dl
mov byte [esp + 0x23e], cl
mov byte [esp + 0x23f], al
mov byte [esp + 0x240], 0
test eax, 0x528f
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xb4]
push edx
push eax
mov eax, dword [esi + ebp*4]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax + 0x168]
lea edx, [esp + 0x244]
push edx
mov edx, dword [ecx + 0x14]
push edx
call fcn.1011a25d
add esp, 0x14
push edx
pop edx
push ebx
pop ebx
mov edi, dword [esp + 0x74]
test edi, edi
jle 0x1008f6ee
mov eax, dword [esp + 0x80]
mov ecx, ebx
sub ecx, eax
mov edx, edi
mov esi, 1
cmp dword [ecx + eax], 0
je 0x1008f6e7
mov ebp, dword [eax]
mov dword [ebp + 0x16c], esi
mov ebx, ebx
add eax, 4
sub edx, esi
jne 0x1008f6d7
xor esi, esi
test edi, edi
jle 0x1008f72a
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 0x1008f721
push 0xffffffffffffffff
push eax
call edi
mov ebx, ebx
push edx
pop edx
mov eax, dword [ebx + esi*4]
push eax
call ebp
push ebx
pop ebx
mov dword [ebx + esi*4], 0
test dl, dl
add esi, 1
cmp esi, dword [esp + 0x74]
jl 0x1008f700
push ebx
call fcn.10117bef
add esp, 4
push ebx
pop ebx
mov ebp, dword [esp + 0x98]
test ebp, ebp
je 0x1008f77f
mov ebx, dword [esp + 0xac]
test ebx, ebx
jle 0x1008f774
lea esi, [ebp + 0x168]
mov edi, dword [esi]
test edi, edi
je 0x1008f769
mov ecx, edi
call fcn.10001dc0
push edi
call fcn.10106b00
add esp, 4
test ecx, ecx
add esi, 0x170
sub ebx, 1
jne 0x1008f751
push ebp
call fcn.10117bef
add esp, 4
mov cl, cl
cmp dword [esp + 0x80], 0
je 0x1008f79b
mov eax, dword [esp + 0x80]
push eax
call fcn.10117bef
add esp, 4
test eax, eax
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10117bef
add esp, 4
mov dword [esp + 0x18], 0
test ah, ah
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov edx, edx
jmp 0x1008fa08
test bl, bl
push 0x170
xor ebx, ebx
lea ecx, [esp + 0xcc]
push ebx
push ecx
call fcn.10118770
add esp, 0xc
test cl, cl
mov edx, dword [esp + 0x90]
mov dword [esp + 0xc8], edx
mov bl, bl
mov eax, dword [esp + 0x88]
mov dword [esp + 0xcc], eax
test bl, bl
mov dword [esp + 0xd0], ebx
mov bh, bh
mov ecx, dword [esp + 0x8c]
add ecx, 0xffffffff
mov dword [esp + 0xd4], ecx
test cl, cl
mov dword [esp + 0xdc], ebx
mov edi, edi
mov edx, dword [esp + 0x2a8]
mov dword [esp + 0xd8], edx
test edi, edi
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xe0], eax
test bl, bl
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
push edx
pop edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10c], ecx
test eax, eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x110], edx
test eax, 0xdbb
mov eax, dword [esp + 0x20]
mov dword [esp + 0x114], eax
mov ah, ah
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], ecx
mov ebx, ebx
mov dword [esp + 0x234], ebx
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esp + 0x29c]
mov dword [esp + 0x120], edx
mov bh, bh
lea edx, [esp + 0x124]
mov eax, ebp
sub edx, ebp
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1008f8c0
push eax
pop eax
fld qword [esp + 0x294]
fstp qword [esp + 0x228]
mov al, al
push 0x18
call fcn.10106ad0
add esp, 4
mov dword [esp + 0xbc], eax
mov dword [esp + 0x270], 1
cmp eax, ebx
je 0x1008f921
mov edx, 1
mov dword [esp + 0x7c], edx
lea ecx, [esp + 0x87]
or edx, ebx
push ecx
mov ecx, eax
mov dword [esp + 0x80], edx
call fcn.10004150
jmp 0x1008f923
xor eax, eax
mov dword [esp + 0x270], 0xffffffff
test byte [esp + 0x7c], 1
mov dword [esp + 0x230], eax
je 0x1008f941
and dword [esp + 0x7c], 0xfffffffe
push ecx
pop ecx
lea ecx, [esp + 0xc8]
call fcn.1007bb30
test ch, ch
mov ecx, dword [esp + 0x230]
mov edx, dword [ecx + 0x10]
sub edx, dword [ecx + 0x14]
je 0x1008f9eb
mov cl, 0x25
mov al, 0x64
mov dl, 0x7c
mov byte [esp + 0x238], cl
mov byte [esp + 0x239], al
mov byte [esp + 0x23a], dl
mov byte [esp + 0x23b], cl
mov byte [esp + 0x23c], al
mov byte [esp + 0x23d], dl
mov byte [esp + 0x23e], cl
mov byte [esp + 0x23f], al
mov byte [esp + 0x240], 0
test eax, 0x56a
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xb4]
push eax
push ecx
mov ecx, dword [esp + 0x238]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [ecx + 0x14]
lea eax, [esp + 0x244]
push eax
push edx
call fcn.1011a25d
add esp, 0x14
test eax, 0x53d0
mov ecx, dword [esp + 0x230]
cmp ecx, ebx
mov esi, ecx
je 0x1008f9ff
call fcn.10001dc0
push esi
call fcn.10106b00
add esp, 4
test ch, ch
jmp 0x1008f79b
fstp st(0)
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.101180ca
add esp, 0x260
ret