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

Disassembly:
push 0xffffffffffffffff
push 0x1017b4d6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2ac]
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]
lea ecx, [esp + 0x77]
push ecx
push 0x10182970
lea ecx, [esp + 0xb4]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x88], eax
mov dword [esp + 0xac], ebp
mov dword [esp + 0x54], 0
call fcn.100085b0
mov ebx, 1
mov dword [esp + 0x260], ebx
test al, al
fld qword [0x10182928]
fld qword [esp + 0x288]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x100902e6
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x100902e8
cmp dword [esp + 0x290], 3
ja 0x100902d5
push 0x14
call fcn.10105660
add esp, 4
mov dword [esp + 0xa0], eax
mov byte [esp + 0x260], 2
test eax, eax
je 0x1008f8f0
mov ecx, eax
call fcn.101089f7
mov ebx, eax
mov dword [esp + 0x84], eax
jmp 0x1008f8f9
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x260], 1
mov bl, bl
test ebx, ebx
jne 0x1008f923
lea edx, [esp + 0xac]
push edx
mov ecx, edi
call fcn.1000cf10
mov dword [esp + 0x4c], 1
jmp 0x100902fb
push 0
push ebx
push 0x10182558
push esi
call fcn.10060090
add esp, 0x10
mov dword [esp + 0x88], eax
test edx, edx
test eax, eax
jne 0x1008f96a
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 1
mov ecx, ebx
call edx
test ebx, ebx
lea eax, [esp + 0xac]
push eax
mov ecx, edi
call fcn.1000cf10
mov dword [esp + 0x4c], 1
jmp 0x100902fb
test dl, dl
test ah, ah
mov dword [esp + 0x14], 0
test dl, dl
test eax, 0x78a6
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x288]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x288]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x288]
push eax
mov eax, dword [esp + 0x288]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
push eax
push ecx
call fcn.10058ff0
add esp, 0x28
test eax, eax
jne 0x1008f9f3
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 1
mov ecx, ebx
call eax
test ebx, ebx
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
call fcn.1000cf10
mov dword [esp + 0x4c], 1
jmp 0x100902fb
xor ebx, ebx
mov dword [esp + 0x94], ebx
mov ah, ah
mov bl, bl
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008fa05
sub eax, edx
cmp eax, 2
jne 0x1008fac9
mov ebx, 1
mov dword [esp + 0x94], ebx
push ebx
pop ebx
lea edx, [esp + 0x234]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x1008fa32
push ecx
pop ecx
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008fa44
lea edi, [esp + 0x234]
sub eax, edx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x1008fa60
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 eax, 0x860
mov eax, ebp
mov ecx, ebp
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1008fa82
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x1008faa0
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 ah, ah
lea ebp, [esp + 0x234]
mov dword [esp + 0xa4], ebp
test esi, esi
nop
test ebx, ebx
mov edi, dword [esp + 0x2c]
jne 0x1008fb1e
xor edx, edx
test edi, edi
jle 0x1008fb88
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
jle 0x1008fb15
jmp 0x1008faf0
mov ecx, edx
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
mov eax, eax
mov byte [ecx + 3], 0
test edx, edx
mov ecx, dword [esp + 0x28]
add eax, 1
cmp eax, ecx
jl 0x1008faf0
mov edi, dword [esp + 0x2c]
add edx, 1
cmp edx, edi
jl 0x1008fae0
jmp 0x1008fb88
xor ebx, ebx
test edi, edi
jle 0x1008fb88
mov eax, dword [esp + 0x28]
xor esi, esi
test eax, eax
jle 0x1008fb81
mov edi, edi
mov edx, ebx
imul edx, dword [esp + 0x18]
add edx, dword [esp + 0x14]
lea ecx, [edx + esi*4]
mov ecx, ecx
movzx eax, byte [ecx + 2]
test esi, esi
movzx edx, byte [ecx + 1]
test cl, cl
movzx edi, byte [ecx]
test cl, cl
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
test ecx, ecx
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
nop
mov eax, dword [esp + 0x28]
add esi, 1
cmp esi, eax
jl 0x1008fb30
mov edi, dword [esp + 0x2c]
add ebx, 1
cmp ebx, edi
jl 0x1008fb28
imul edi, dword [esp + 0x18]
push edi
call fcn.1011671b
mov ebx, eax
add esp, 4
mov dword [esp + 0x9c], ebx
mov dh, dh
test ebx, ebx
jne 0x1008fc02
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov bl, bl
mov eax, dword [esp + 0x14]
push eax
call fcn.101167de
add esp, 4
mov dword [esp + 0x14], ebx
mov esi, esi
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.1000cf10
mov dword [esp + 0x4c], 1
mov byte [esp + 0x260], bl
lea ecx, [esp + 0xac]
call fcn.10006e00
mov eax, esi
jmp 0x10090311
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
push ebx
call fcn.10117a80
add esp, 0xc
test dh, dh
mov ebx, ebx
test dh, dh
push ecx
pop ecx
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
cmp esi, dword [eax + 0x3264]
jl 0x10090118
cmp dword [eax + 0x3260], 0
je 0x10090118
mov edx, edx
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ebx, ebx
push ecx
pop ecx
test dl, dl
mov edi, dword [esp + 0x64]
cmp esi, edi
jae 0x1008fc6e
mov edi, esi
mov dword [esp + 0x78], esi
xchg ebx, eax
xchg ebx, eax
jmp 0x1008fc74
mov dword [esp + 0x78], edi
test bl, bl
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x3268]
test eax, eax
jle 0x1008fc94
cmp edi, eax
jle 0x1008fc94
mov edi, eax
mov dword [esp + 0x78], edi
test eax, 0x4c16
cmp edi, 0x40
jl 0x1008fca4
mov edi, 0x40
mov dword [esp + 0x78], edi
mov edi, edi
test eax, 0x66d9
lea ebx, [edi*4]
push ebx
call fcn.1011671b
mov ebp, eax
add esp, 4
mov dword [esp + 0x8c], ebp
mov bl, bl
test ebp, ebp
je 0x100900a7
mov esi, edi
imul esi, esi, 0x170
push esi
call fcn.1011671b
add esp, 4
mov dword [esp + 0x7c], eax
mov ecx, ecx
test eax, eax
je 0x1009005c
push ebx
xor ebx, ebx
push ebx
push ebp
call fcn.10117df0
add esp, 0xc
push edx
pop edx
mov eax, dword [esp + 0x7c]
push esi
push ebx
push eax
call fcn.10117df0
add esp, 0xc
test ecx, ecx
xor ecx, ecx
mov bl, bl
mov eax, dword [esp + 0x88]
cdq
idiv edi
mov dword [esp + 0xa0], eax
test ebx, ebx
mov ebx, ebx
mov edx, dword [esp + 0x80]
mov dword [edx + 0x325c], ebx
mov ebx, ebx
cmp ebx, edi
jge 0x1008ff55
jmp 0x1008fd40
test eax, eax
mov eax, dword [esp + 0xa0]
lea edx, [eax + ecx - 1]
mov dword [esp + 0x90], edx
mov dh, dh
mov eax, dword [esp + 0x78]
add eax, 0xffffffff
cmp ebx, eax
jne 0x1008fd74
mov eax, dword [esp + 0x88]
add eax, 0xffffffff
mov dword [esp + 0x90], eax
mov cl, cl
test ebx, ebx
mov eax, dword [esp + 0x7c]
mov edx, ebx
imul edx, edx, 0x170
lea ebp, [edx + eax]
mov edx, dword [esp + 0x80]
mov dword [ebp], edx
test eax, 0xaa0
mov eax, dword [esp + 0x84]
mov dword [ebp + 4], eax
mov ebp, ebp
mov dword [ebp + 8], ecx
test eax, 0x5110
mov ecx, dword [esp + 0x90]
mov dword [ebp + 0xc], ecx
nop
mov dword [ebp + 0x14], 1
mov ch, ch
mov dword [ebp + 0x16c], 0
mov cl, cl
mov edx, dword [esp + 0x294]
mov dword [ebp + 0x10], edx
nop
mov eax, dword [esp + 0x94]
mov dword [ebp + 0x18], eax
test bl, bl
lea edi, [ebp + 0x1c]
mov ecx, 0xa
lea esi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ebx, ebx
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x44], ecx
test eax, eax
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x48], edx
push eax
pop eax
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x4c], eax
test al, al
mov ecx, dword [esp + 0x2c]
imul ecx, dword [esp + 0x18]
push ecx
call fcn.1011671b
add esp, 4
mov dword [ebp + 0x50], eax
mov ch, ch
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x1008ff48
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
call fcn.10117a80
add esp, 0xc
test al, al
mov edx, dword [esp + 0x9c]
mov dword [ebp + 0x54], edx
test edx, edx
mov eax, dword [esp + 0x290]
mov dword [ebp + 0x58], eax
test esi, esi
mov eax, dword [esp + 0xa4]
mov ecx, ebp
sub ecx, eax
lea edx, [ecx + 0x5c]
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x1008fe70
test dh, dh
fld qword [esp + 0x288]
fstp qword [ebp + 0x160]
test ch, ch
push 0x18
call fcn.10105660
add esp, 4
mov dword [esp + 0xa8], eax
mov byte [esp + 0x260], 4
test eax, eax
je 0x1008febd
or dword [esp + 0x4c], 4
lea edx, [esp + 0x77]
push edx
mov ecx, eax
call fcn.10011370
jmp 0x1008febf
xor eax, eax
mov byte [esp + 0x260], 1
test byte [esp + 0x4c], 4
mov dword [ebp + 0x168], eax
je 0x1008fed9
and dword [esp + 0x4c], 0xfffffffb
test dl, dl
cmp dword [ebp + 0x168], 0
je 0x1008ff44
call fcn.100408d0
mov esi, eax
mov al, al
xchg ebx, eax
xchg ebx, eax
push 0
push 0
push ebp
push 0x1008e0c0
push 0
push 0
call fcn.1011944f
add esp, 0x18
test ecx, ecx
mov edi, dword [esp + 0x8c]
mov dword [edi + ebx*4], eax
nop
push esi
call fcn.10040990
add esp, 4
mov ebp, ebp
cmp dword [edi + ebx*4], 0
jne 0x1008ff29
mov edi, edi
xor ebx, ebx
mov edi, edi
mov ecx, dword [esp + 0x90]
add ecx, 1
push eax
pop eax
add ebx, 1
cmp ebx, dword [esp + 0x78]
jl 0x1008fd40
jmp 0x1008ff48
xor ebx, ebx
mov ah, ah
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x8c]
cmp ebx, edi
jne 0x1008ffd0
push 0xffffffffffffffff
push 1
push ebp
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
push ebx
pop ebx
cmp eax, 0xffffffff
je 0x1008ffd0
test edi, edi
jle 0x1008ffd0
mov esi, dword [esp + 0x7c]
add esi, 0x168
mov ebx, edi
lea ebx, [ebx]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x1008ffc5
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0xc0]
je 0x1008ffad
push 0x10182558
lea ecx, [esp + 0xb0]
call fcn.10011940
mov ebx, ebx
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
lea ecx, [esp + 0xb4]
call fcn.1000cf80
test ah, ah
add esi, 0x170
sub ebx, 1
jne 0x1008ff80
xor eax, eax
test edi, edi
jle 0x1008fffc
mov ecx, dword [esp + 0x7c]
add ecx, 0x16c
cmp dword [ebp + eax*4], 0
je 0x1008ffef
mov dword [ecx], 1
mov cl, cl
add eax, 1
add ecx, 0x170
cmp eax, edi
jl 0x1008ffe0
xor esi, esi
test edi, edi
jle 0x1009005c
mov ebx, dword [esp + 0x7c]
add ebx, 0x50
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x1009004f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ah, ah
test cl, cl
mov ecx, dword [ebp + esi*4]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, edi
mov dword [ebp + esi*4], 0
mov al, al
mov eax, dword [ebx]
test eax, eax
je 0x1009004f
push eax
call fcn.101167de
add esp, 4
mov dword [ebx], 0
test eax, 0x2de1
add esi, 1
add ebx, 0x170
cmp esi, edi
jl 0x10090009
push ebp
call fcn.101167de
add esp, 4
mov eax, eax
mov ebp, dword [esp + 0x7c]
test ebp, ebp
je 0x100900a7
test edi, edi
jle 0x1009009c
lea esi, [ebp + 0x168]
mov ebx, dword [esi]
test ebx, ebx
je 0x10090091
mov ecx, ebx
call fcn.10006e00
push ebx
call fcn.1010568b
add esp, 4
xchg ebx, eax
xchg ebx, eax
add esi, 0x170
sub edi, 1
jne 0x10090079
push ebp
call fcn.101167de
add esp, 4
test edx, edx
mov edx, dword [esp + 0x9c]
push edx
call fcn.101167de
add esp, 4
mov dh, dh
mov eax, dword [esp + 0x14]
push eax
call fcn.101167de
add esp, 4
mov dword [esp + 0x14], 0
mov ch, ch
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
test al, al
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.1000cf10
or dword [esp + 0x4c], 1
mov byte [esp + 0x260], 0
lea ecx, [esp + 0xac]
call fcn.10006e00
mov eax, esi
jmp 0x10090311
test bl, bl
push 0x170
xor esi, esi
lea edx, [esp + 0xc8]
push esi
push edx
call fcn.10117df0
add esp, 0xc
mov ebx, ebx
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc4], eax
mov eax, eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc8], ecx
mov ch, ch
mov dword [esp + 0xcc], esi
test dh, dh
mov edx, dword [esp + 0x88]
add edx, 0xffffffff
mov dword [esp + 0xd0], edx
test edx, edx
mov dword [esp + 0xd8], 1
mov dl, dl
mov dword [esp + 0x230], esi
test bl, bl
mov eax, dword [esp + 0x294]
mov dword [esp + 0xd4], eax
mov ah, ah
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xdc], ecx
test edi, edi
mov ecx, 0xa
lea esi, [esp + 0x24]
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
test bl, bl
mov edx, dword [esp + 0x18]
mov dword [esp + 0x108], edx
mov ebx, ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10c], eax
push edx
pop edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x110], ecx
mov ebx, ebx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x114], edx
push edx
pop edx
mov dword [esp + 0x118], ebx
mov ebx, ebx
mov eax, dword [esp + 0x290]
mov dword [esp + 0x11c], eax
mov edi, edi
lea ecx, [esp + 0x120]
mov eax, ebp
sub ecx, ebp
mov dl, byte [eax]
mov byte [ecx + eax], dl
add eax, 1
test dl, dl
jne 0x10090212
mov edi, edi
fld qword [esp + 0x288]
fstp qword [esp + 0x224]
push eax
pop eax
push 0x18
call fcn.10105660
add esp, 4
mov dword [esp + 0xa8], eax
mov byte [esp + 0x260], 3
test eax, eax
je 0x10090268
mov edx, 2
lea ecx, [esp + 0x77]
push ecx
mov dword [esp + 0x50], edx
mov ecx, eax
mov dword [esp + 0x50], edx
call fcn.10011370
jmp 0x1009026a
xor eax, eax
mov byte [esp + 0x260], 1
test byte [esp + 0x4c], 2
mov dword [esp + 0x22c], eax
je 0x10090285
and dword [esp + 0x4c], 0xfffffffd
push ecx
pop ecx
lea ecx, [esp + 0xc4]
call fcn.1008a7e0
test cl, cl
mov ecx, dword [esp + 0x22c]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x100902ba
push ecx
lea ecx, [esp + 0xb0]
call fcn.1001f820
push ebx
pop ebx
mov ecx, dword [esp + 0x22c]
test ecx, ecx
mov esi, ecx
je 0x100902ce
call fcn.10006e00
push esi
call fcn.1010568b
add esp, 4
test ecx, ecx
jmp 0x100900a7
lea edx, [esp + 0xac]
push edx
mov ecx, edi
call fcn.1000cf10
jmp 0x100902f7
fstp st(0)
lea eax, [esp + 0xac]
push eax
mov ecx, edi
call fcn.1000cf10
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x260], 0
lea ecx, [esp + 0xac]
call fcn.10006e00
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.10116cb9
add esp, 0x250
ret