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

Disassembly:
push 0xffffffffffffffff
push 0x1017cbd6
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce00c]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov eax, dword [esp + 0x264]
mov ebx, dword [esp + 0x260]
mov ebp, dword [esp + 0x27c]
mov esi, dword [esp + 0x278]
lea ecx, [esp + 0x77]
push ecx
push 0x10181900
lea ecx, [esp + 0xb4]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x88], eax
mov dword [esp + 0xac], ebp
mov dword [esp + 0x54], 0
call fcn.10003d50
mov edi, 1
mov dword [esp + 0x258], edi
xchg ebx, eax
xchg ebx, eax
cmp dword [esp + 0x280], 0x64
ja 0x10091bcc
push 0x14
call fcn.10106ad0
add esp, 4
mov dword [esp + 0xa0], eax
mov byte [esp + 0x258], 2
test eax, eax
je 0x100911d5
mov ecx, eax
call fcn.10109303
mov edi, eax
mov dword [esp + 0x84], eax
jmp 0x100911de
xor edi, edi
mov dword [esp + 0x84], edi
mov byte [esp + 0x258], 1
test ch, ch
test edi, edi
jne 0x10091208
lea edx, [esp + 0xac]
push edx
mov ecx, ebx
call fcn.10003dd0
mov dword [esp + 0x4c], 1
jmp 0x10091bdf
push 0
push edi
push 0x10181a24
push esi
call fcn.10060cc0
add esp, 0x10
mov dword [esp + 0x88], eax
mov eax, eax
test eax, eax
jne 0x1009124f
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
test edx, edx
lea eax, [esp + 0xac]
push eax
mov ecx, ebx
call fcn.10003dd0
mov dword [esp + 0x4c], 1
jmp 0x10091bdf
test eax, 0x7680
test ah, ah
mov dword [esp + 0x14], 0
mov ecx, ecx
push ebx
pop ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x280]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x280]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x280]
push eax
mov eax, dword [esp + 0x280]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
push eax
push ecx
call fcn.10059b10
add esp, 0x28
test eax, eax
jne 0x100912d8
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
push ecx
pop ecx
lea ecx, [esp + 0xac]
push ecx
mov ecx, ebx
call fcn.10003dd0
mov dword [esp + 0x4c], 1
jmp 0x10091bdf
xor ebx, ebx
mov dword [esp + 0x94], ebx
test eax, 0x7ad
test eax, eax
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100912f0
sub eax, edx
cmp eax, 2
jne 0x100913a9
mov ebx, 1
mov dword [esp + 0x94], ebx
test al, al
lea edx, [esp + 0x22c]
mov eax, ebp
sub edx, ebp
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x10091320
mov ebp, ebp
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10091332
lea edi, [esp + 0x22c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x10091347
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 ah, ah
mov eax, ebp
mov ecx, ebp
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10091366
lea edi, [esp + 0x22c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ecx, [ecx]
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x10091380
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]
push edx
pop edx
lea ebp, [esp + 0x22c]
mov dword [esp + 0xa4], ebp
mov cl, cl
mov al, al
test ebx, ebx
mov edi, dword [esp + 0x2c]
jne 0x10091401
xor edx, edx
test edi, edi
jle 0x10091478
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
jle 0x100913f8
jmp 0x100913d0
mov ecx, edx
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
test eax, 0x26b1
mov byte [ecx + 3], 0
mov bl, bl
mov ecx, dword [esp + 0x28]
add eax, 1
cmp eax, ecx
jl 0x100913d0
mov edi, dword [esp + 0x2c]
add edx, 1
cmp edx, edi
jl 0x100913c1
jmp 0x10091478
xor ebx, ebx
test edi, edi
jle 0x10091478
mov eax, dword [esp + 0x28]
jmp 0x10091410
xor esi, esi
test eax, eax
jle 0x10091471
jmp 0x10091420
mov edx, ebx
imul edx, dword [esp + 0x18]
add edx, dword [esp + 0x14]
lea ecx, [edx + esi*4]
mov bh, bh
movzx eax, byte [ecx + 2]
test ah, ah
movzx edx, byte [ecx + 1]
nop
movzx edi, byte [ecx]
test ecx, ecx
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
mov ecx, ecx
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
mov bl, bl
mov eax, dword [esp + 0x28]
add esi, 1
cmp esi, eax
jl 0x10091420
mov edi, dword [esp + 0x2c]
add ebx, 1
cmp ebx, edi
jl 0x10091410
imul edi, dword [esp + 0x18]
push edi
call fcn.10117b2c
mov ebx, eax
add esp, 4
mov dword [esp + 0x9c], ebx
mov ah, ah
test ebx, ebx
jne 0x100914f2
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
test edx, edx
mov eax, dword [esp + 0x14]
push eax
call fcn.10117bef
add esp, 4
mov dword [esp + 0x14], ebx
test ebx, ebx
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.10003dd0
mov dword [esp + 0x4c], 1
mov byte [esp + 0x258], bl
lea ecx, [esp + 0xac]
call fcn.10001dc0
mov eax, esi
jmp 0x10091bf5
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
push ebx
call fcn.10119900
add esp, 0xc
test ebx, ebx
test dh, dh
xchg ebx, eax
xchg ebx, eax
test cl, cl
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
cmp esi, dword [eax + 0x3264]
jl 0x10091a0b
cmp dword [eax + 0x3260], 0
je 0x10091a0b
mov cl, cl
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov al, al
test bh, bh
test esi, esi
mov edi, dword [esp + 0x64]
cmp esi, edi
jae 0x1009155e
mov edi, esi
mov dword [esp + 0x78], esi
mov ecx, ecx
jmp 0x10091564
mov dword [esp + 0x78], edi
mov al, al
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x3268]
test eax, eax
jle 0x10091581
cmp edi, eax
jle 0x10091581
mov edi, eax
mov dword [esp + 0x78], edi
push ebx
pop ebx
cmp edi, 0x40
jl 0x10091591
mov edi, 0x40
mov dword [esp + 0x78], edi
test al, al
mov ch, ch
lea ebx, [edi*4]
push ebx
call fcn.10117b2c
mov ebp, eax
add esp, 4
mov dword [esp + 0x8c], ebp
mov eax, eax
test ebp, ebp
je 0x1009199a
mov esi, edi
imul esi, esi, 0x168
push esi
call fcn.10117b2c
add esp, 4
mov dword [esp + 0x7c], eax
test cl, cl
test eax, eax
je 0x1009194f
push ebx
xor ebx, ebx
push ebx
push ebp
call fcn.10118770
add esp, 0xc
mov dl, dl
mov eax, dword [esp + 0x7c]
push esi
push ebx
push eax
call fcn.10118770
add esp, 0xc
test dl, dl
xor ecx, ecx
push edx
pop edx
mov eax, dword [esp + 0x88]
cdq
idiv edi
mov dword [esp + 0xa0], eax
test ecx, ecx
test eax, 0x2b4
mov edx, dword [esp + 0x80]
mov dword [edx + 0x325c], ebx
test esi, esi
cmp ebx, edi
jge 0x1009184a
jmp 0x10091630
mov al, al
mov eax, dword [esp + 0xa0]
lea edx, [eax + ecx - 1]
mov dword [esp + 0x90], edx
push edx
pop edx
mov eax, dword [esp + 0x78]
add eax, 0xffffffff
cmp ebx, eax
jne 0x10091664
mov eax, dword [esp + 0x88]
add eax, 0xffffffff
mov dword [esp + 0x90], eax
test al, al
test ch, ch
mov eax, dword [esp + 0x7c]
mov edx, ebx
imul edx, edx, 0x168
lea ebp, [edx + eax]
mov edx, dword [esp + 0x80]
mov dword [ebp], edx
test ch, ch
mov eax, dword [esp + 0x84]
mov dword [ebp + 4], eax
test eax, 0x73e0
mov dword [ebp + 8], ecx
mov ah, ah
mov ecx, dword [esp + 0x90]
mov dword [ebp + 0xc], ecx
mov edi, edi
mov dword [ebp + 0x14], 1
mov esi, esi
mov dword [ebp + 0x164], 0
mov dh, dh
mov edx, dword [esp + 0x288]
mov dword [ebp + 0x10], edx
mov ch, ch
mov eax, dword [esp + 0x94]
mov dword [ebp + 0x18], eax
push eax
pop eax
lea edi, [ebp + 0x1c]
mov ecx, 0xa
lea esi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ebp, ebp
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x44], ecx
test eax, eax
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x48], edx
test eax, 0x3147
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x4c], eax
mov bl, bl
mov ecx, dword [esp + 0x2c]
imul ecx, dword [esp + 0x18]
push ecx
call fcn.10117b2c
add esp, 4
mov dword [ebp + 0x50], eax
mov dh, dh
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x1009183d
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
call fcn.10119900
add esp, 0xc
mov ecx, ecx
mov edx, dword [esp + 0x9c]
mov dword [ebp + 0x54], edx
mov cl, cl
mov eax, dword [esp + 0xa4]
mov ecx, ebp
sub ecx, eax
lea edx, [ecx + 0x5c]
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x10091752
mov edi, edi
mov edx, dword [esp + 0x280]
mov dword [ebp + 0x15c], edx
test esi, esi
mov eax, dword [esp + 0x284]
mov dword [ebp + 0x58], eax
push eax
pop eax
push 0x18
call fcn.10106ad0
add esp, 4
mov dword [esp + 0xa8], eax
mov byte [esp + 0x258], 4
test eax, eax
je 0x100917ab
or dword [esp + 0x4c], 4
lea ecx, [esp + 0x77]
push ecx
mov ecx, eax
call fcn.10004150
jmp 0x100917ad
xor eax, eax
mov byte [esp + 0x258], 1
test byte [esp + 0x4c], 4
mov dword [ebp + 0x160], eax
je 0x100917c7
and dword [esp + 0x4c], 0xfffffffb
test eax, 0x104b
cmp dword [ebp + 0x160], 0
je 0x10091839
call fcn.10041aa0
mov esi, eax
test edx, edx
mov dh, dh
push 0
push 0
push ebp
push 0x1008ee60
push 0
push 0
call fcn.1011a147
add esp, 0x18
mov ch, ch
mov edi, dword [esp + 0x8c]
mov dword [edi + ebx*4], eax
test eax, 0x7670
push esi
call fcn.10041b60
add esp, 4
test ebx, ebx
cmp dword [edi + ebx*4], 0
jne 0x1009181e
test edi, edi
xor ebx, ebx
push ecx
pop ecx
mov ecx, dword [esp + 0x90]
add ecx, 1
mov eax, eax
add ebx, 1
cmp ebx, dword [esp + 0x78]
jl 0x10091630
jmp 0x1009183d
xor ebx, ebx
push eax
pop eax
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x8c]
cmp ebx, edi
jne 0x100918c0
push 0xffffffffffffffff
push 1
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov bl, bl
cmp eax, 0xffffffff
je 0x100918c0
test edi, edi
jle 0x100918c0
mov esi, dword [esp + 0x7c]
add esi, 0x160
mov ebx, edi
nop
mov ecx, dword [esi]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x100918b5
mov edx, dword [esp + 0xbc]
sub edx, dword [esp + 0xc0]
je 0x1009189d
push 0x10181a24
lea ecx, [esp + 0xb0]
call fcn.100042f0
mov bh, bh
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
lea ecx, [esp + 0xb4]
call fcn.10003e40
test ah, ah
add esi, 0x168
sub ebx, 1
jne 0x10091870
xor eax, eax
test edi, edi
jle 0x100918ec
mov ecx, dword [esp + 0x7c]
add ecx, 0x164
cmp dword [ebp + eax*4], 0
je 0x100918df
mov dword [ecx], 1
xchg ebx, eax
xchg ebx, eax
add eax, 1
add ecx, 0x168
cmp eax, edi
jl 0x100918d0
xor esi, esi
test edi, edi
jle 0x1009194f
mov ebx, dword [esp + 0x7c]
add ebx, 0x50
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x10091942
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, ebx
test eax, 0x3d41
mov eax, dword [ebp + esi*4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, 0x3fc0
mov dword [ebp + esi*4], 0
test edx, edx
mov eax, dword [ebx]
test eax, eax
je 0x10091942
push eax
call fcn.10117bef
add esp, 4
mov dword [ebx], 0
test esi, esi
add esi, 1
add ebx, 0x168
cmp esi, edi
jl 0x100918f9
push ebp
call fcn.10117bef
add esp, 4
mov bl, bl
mov ebp, dword [esp + 0x7c]
test ebp, ebp
je 0x1009199a
test edi, edi
jle 0x1009198f
lea esi, [ebp + 0x160]
mov ebx, dword [esi]
test ebx, ebx
je 0x10091984
mov ecx, ebx
call fcn.10001dc0
push ebx
call fcn.10106b00
add esp, 4
test cl, cl
add esi, 0x168
sub edi, 1
jne 0x1009196c
push ebp
call fcn.10117bef
add esp, 4
mov ch, ch
mov eax, dword [esp + 0x9c]
push eax
call fcn.10117bef
add esp, 4
mov esi, esi
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10117bef
add esp, 4
mov dword [esp + 0x14], 0
mov esi, esi
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov cl, cl
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.10003dd0
or dword [esp + 0x4c], 1
mov byte [esp + 0x258], 0
lea ecx, [esp + 0xac]
call fcn.10001dc0
mov eax, esi
jmp 0x10091bf5
mov ebp, ebp
push 0x168
xor esi, esi
lea ecx, [esp + 0xc8]
push esi
push ecx
call fcn.10118770
add esp, 0xc
mov ebp, ebp
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc4], edx
mov edx, edx
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc8], eax
mov esi, esi
mov dword [esp + 0xcc], esi
test esi, esi
mov ecx, dword [esp + 0x88]
add ecx, 0xffffffff
mov dword [esp + 0xd0], ecx
mov ebp, ebp
mov dword [esp + 0xd8], 1
mov al, al
mov dword [esp + 0x228], esi
mov cl, cl
mov edx, dword [esp + 0x288]
mov dword [esp + 0xd4], edx
push ecx
pop ecx
mov eax, dword [esp + 0x94]
mov dword [esp + 0xdc], eax
test dh, dh
mov ecx, 0xa
lea esi, [esp + 0x24]
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
test cl, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x108], ecx
push edx
pop edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10c], edx
mov eax, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x110], eax
test bl, bl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x114], ecx
test esi, esi
mov dword [esp + 0x118], ebx
push eax
pop eax
mov edx, dword [esp + 0x284]
mov dword [esp + 0x11c], edx
mov ah, ah
lea edx, [esp + 0x120]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10091b05
mov bl, bl
mov eax, dword [esp + 0x280]
mov dword [esp + 0x220], eax
test cl, cl
push 0x18
call fcn.10106ad0
add esp, 4
mov dword [esp + 0xa8], eax
mov byte [esp + 0x258], 3
test eax, eax
je 0x10091b5b
mov ecx, 2
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x77]
push ecx
mov ecx, eax
call fcn.10004150
jmp 0x10091b5d
xor eax, eax
mov byte [esp + 0x258], 1
test byte [esp + 0x4c], 2
mov dword [esp + 0x224], eax
je 0x10091b78
and dword [esp + 0x4c], 0xfffffffd
mov bh, bh
lea edx, [esp + 0xc4]
push edx
call fcn.1008dde0
add esp, 4
mov ebp, ebp
mov ecx, dword [esp + 0x224]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x10091bb1
push ecx
lea ecx, [esp + 0xb0]
call fcn.100201e0
test ebx, ebx
mov ecx, dword [esp + 0x224]
test ecx, ecx
mov esi, ecx
je 0x10091bc5
call fcn.10001dc0
push esi
call fcn.10106b00
add esp, 4
xchg ebx, eax
xchg ebx, eax
jmp 0x1009199a
lea edx, [esp + 0xac]
push edx
mov ecx, ebx
call fcn.10003dd0
mov dword [esp + 0x4c], edi
mov byte [esp + 0x258], 0
lea ecx, [esp + 0xac]
call fcn.10001dc0
mov eax, ebx
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.101180ca
add esp, 0x248
ret