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

Disassembly:
push 0xffffffffffffffff
push 0x1017b566
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2ac]
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 0x10182970
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.100085b0
mov edi, 1
mov dword [esp + 0x258], edi
mov dh, dh
cmp dword [esp + 0x280], 0x64
ja 0x10090df7
push 0x14
call fcn.10105660
add esp, 4
mov dword [esp + 0xa0], eax
mov byte [esp + 0x258], 2
test eax, eax
je 0x10090415
mov ecx, eax
call fcn.101089f7
mov edi, eax
mov dword [esp + 0x84], eax
jmp 0x1009041e
xor edi, edi
mov dword [esp + 0x84], edi
mov byte [esp + 0x258], 1
test cl, cl
test edi, edi
jne 0x10090448
lea edx, [esp + 0xac]
push edx
mov ecx, ebx
call fcn.1000cf10
mov dword [esp + 0x4c], 1
jmp 0x10090e0a
push 0
push edi
push 0x10182558
push esi
call fcn.10060090
add esp, 0x10
mov dword [esp + 0x88], eax
mov ebx, ebx
test eax, eax
jne 0x1009048f
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov al, al
lea eax, [esp + 0xac]
push eax
mov ecx, ebx
call fcn.1000cf10
mov dword [esp + 0x4c], 1
jmp 0x10090e0a
test dl, dl
test ecx, ecx
mov dword [esp + 0x14], 0
test edi, edi
test dl, dl
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.10058ff0
add esp, 0x28
test eax, eax
jne 0x10090515
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
mov ch, ch
lea ecx, [esp + 0xac]
push ecx
mov ecx, ebx
call fcn.1000cf10
mov dword [esp + 0x4c], 1
jmp 0x10090e0a
xor ebx, ebx
mov dword [esp + 0x94], ebx
test al, al
test ecx, ecx
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10090527
sub eax, edx
cmp eax, 2
jne 0x100905e0
mov ebx, 1
mov dword [esp + 0x94], ebx
mov cl, cl
lea edx, [esp + 0x22c]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x10090554
mov bl, bl
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10090566
lea edi, [esp + 0x22c]
sub eax, edx
add edi, 0xffffffff
jmp 0x10090580
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x10090580
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 dh, dh
mov eax, ebp
mov ecx, ebp
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100905a0
lea edi, [esp + 0x22c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x100905b7
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]
test edx, edx
lea ebp, [esp + 0x22c]
mov dword [esp + 0xa4], ebp
mov bh, bh
nop
test ebx, ebx
mov edi, dword [esp + 0x2c]
jne 0x1009062e
xor edx, edx
test edi, edi
jle 0x10090698
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
jle 0x10090625
lea ecx, [ecx]
mov ecx, edx
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
mov edi, edi
mov byte [ecx + 3], 0
test dh, dh
mov ecx, dword [esp + 0x28]
add eax, 1
cmp eax, ecx
jl 0x10090600
mov edi, dword [esp + 0x2c]
add edx, 1
cmp edx, edi
jl 0x100905f7
jmp 0x10090698
xor ebx, ebx
test edi, edi
jle 0x10090698
mov eax, dword [esp + 0x28]
xor esi, esi
test eax, eax
jle 0x10090691
mov edi, edi
mov edx, ebx
imul edx, dword [esp + 0x18]
add edx, dword [esp + 0x14]
lea ecx, [edx + esi*4]
test edi, edi
movzx eax, byte [ecx + 2]
push ecx
pop ecx
movzx edx, byte [ecx + 1]
test bh, bh
movzx edi, byte [ecx]
nop
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
mov cl, cl
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
mov edx, edx
mov eax, dword [esp + 0x28]
add esi, 1
cmp esi, eax
jl 0x10090640
mov edi, dword [esp + 0x2c]
add ebx, 1
cmp ebx, edi
jl 0x10090638
imul edi, dword [esp + 0x18]
push edi
call fcn.1011671b
mov ebx, eax
add esp, 4
mov dword [esp + 0x9c], ebx
test dh, dh
test ebx, ebx
jne 0x10090712
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
test edi, edi
mov eax, dword [esp + 0x14]
push eax
call fcn.101167de
add esp, 4
mov dword [esp + 0x14], ebx
mov dl, dl
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 + 0x258], bl
lea ecx, [esp + 0xac]
call fcn.10006e00
mov eax, esi
jmp 0x10090e20
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
mov esi, esi
test ah, ah
mov edx, edx
mov bh, bh
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
cmp esi, dword [eax + 0x3264]
jl 0x10090c27
cmp dword [eax + 0x3260], 0
je 0x10090c27
mov esi, esi
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
nop
mov cl, cl
test eax, 0x795d
mov edi, dword [esp + 0x64]
cmp esi, edi
jae 0x1009077f
mov edi, esi
mov dword [esp + 0x78], esi
nop
jmp 0x10090785
mov dword [esp + 0x78], edi
mov ebx, ebx
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x3268]
test eax, eax
jle 0x100907a2
cmp edi, eax
jle 0x100907a2
mov edi, eax
mov dword [esp + 0x78], edi
mov edi, edi
cmp edi, 0x40
jl 0x100907b2
mov edi, 0x40
mov dword [esp + 0x78], edi
test dl, dl
test ch, ch
lea ebx, [edi*4]
push ebx
call fcn.1011671b
mov ebp, eax
add esp, 4
mov dword [esp + 0x8c], ebp
mov eax, eax
test ebp, ebp
je 0x10090bb6
mov esi, edi
imul esi, esi, 0x168
push esi
call fcn.1011671b
add esp, 4
mov dword [esp + 0x7c], eax
mov esi, esi
test eax, eax
je 0x10090b6b
push ebx
xor ebx, ebx
push ebx
push ebp
call fcn.10117df0
add esp, 0xc
test eax, 0x5818
mov eax, dword [esp + 0x7c]
push esi
push ebx
push eax
call fcn.10117df0
add esp, 0xc
test ebx, ebx
xor ecx, ecx
test dl, dl
mov eax, dword [esp + 0x88]
cdq
idiv edi
mov dword [esp + 0xa0], eax
mov ch, ch
test ecx, ecx
mov edx, dword [esp + 0x80]
mov dword [edx + 0x325c], ebx
mov dl, dl
cmp ebx, edi
jge 0x10090a61
lea esp, [esp]
test al, al
mov eax, dword [esp + 0xa0]
lea edx, [eax + ecx - 1]
mov dword [esp + 0x90], edx
mov eax, eax
mov eax, dword [esp + 0x78]
add eax, 0xffffffff
cmp ebx, eax
jne 0x10090884
mov eax, dword [esp + 0x88]
add eax, 0xffffffff
mov dword [esp + 0x90], eax
test eax, eax
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
push edx
pop edx
mov eax, dword [esp + 0x84]
mov dword [ebp + 4], eax
test eax, eax
mov dword [ebp + 8], ecx
push ecx
pop ecx
mov ecx, dword [esp + 0x90]
mov dword [ebp + 0xc], ecx
mov ch, ch
mov dword [ebp + 0x14], 1
mov ah, ah
mov dword [ebp + 0x164], 0
test eax, 0x26b1
mov edx, dword [esp + 0x288]
mov dword [ebp + 0x10], edx
test bh, bh
mov eax, dword [esp + 0x94]
mov dword [ebp + 0x18], eax
mov ah, ah
lea edi, [ebp + 0x1c]
mov ecx, 0xa
lea esi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
test ecx, ecx
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x44], ecx
push eax
pop eax
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x48], edx
test bh, bh
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x4c], eax
test eax, eax
mov ecx, dword [esp + 0x2c]
imul ecx, dword [esp + 0x18]
push ecx
call fcn.1011671b
add esp, 4
mov dword [ebp + 0x50], eax
test bh, bh
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x10090a54
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 edi, edi
mov edx, dword [esp + 0x9c]
mov dword [ebp + 0x54], edx
test bl, bl
mov eax, dword [esp + 0xa4]
mov ecx, ebp
sub ecx, eax
lea edx, [ecx + 0x5c]
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x10090970
mov edx, edx
mov edx, dword [esp + 0x280]
mov dword [ebp + 0x15c], edx
mov cl, cl
mov eax, dword [esp + 0x284]
mov dword [ebp + 0x58], eax
mov edi, edi
push 0x18
call fcn.10105660
add esp, 4
mov dword [esp + 0xa8], eax
mov byte [esp + 0x258], 4
test eax, eax
je 0x100909c9
or dword [esp + 0x4c], 4
lea ecx, [esp + 0x77]
push ecx
mov ecx, eax
call fcn.10011370
jmp 0x100909cb
xor eax, eax
mov byte [esp + 0x258], 1
test byte [esp + 0x4c], 4
mov dword [ebp + 0x160], eax
je 0x100909e5
and dword [esp + 0x4c], 0xfffffffb
mov ah, ah
cmp dword [ebp + 0x160], 0
je 0x10090a50
call fcn.100408d0
mov esi, eax
test edx, edx
test edi, edi
push 0
push 0
push ebp
push 0x1008e0f0
push 0
push 0
call fcn.1011944f
add esp, 0x18
xchg ebx, eax
xchg ebx, eax
mov edi, dword [esp + 0x8c]
mov dword [edi + ebx*4], eax
test edi, edi
push esi
call fcn.10040990
add esp, 4
nop
cmp dword [edi + ebx*4], 0
jne 0x10090a35
mov bl, bl
xor ebx, ebx
push eax
pop eax
mov ecx, dword [esp + 0x90]
add ecx, 1
mov edi, edi
add ebx, 1
cmp ebx, dword [esp + 0x78]
jl 0x10090850
jmp 0x10090a54
xor ebx, ebx
mov ch, ch
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x8c]
cmp ebx, edi
jne 0x10090ae0
push 0xffffffffffffffff
push 1
push ebp
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
test bl, bl
cmp eax, 0xffffffff
je 0x10090ae0
test edi, edi
jle 0x10090ae0
mov esi, dword [esp + 0x7c]
add esi, 0x160
mov ebx, edi
lea ebx, [ebx]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x10090ad5
mov edx, dword [esp + 0xbc]
sub edx, dword [esp + 0xc0]
je 0x10090abd
push 0x10182558
lea ecx, [esp + 0xb0]
call fcn.10011940
mov ebp, ebp
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
push eax
pop eax
add esi, 0x168
sub ebx, 1
jne 0x10090a90
xor eax, eax
test edi, edi
jle 0x10090b0c
mov ecx, dword [esp + 0x7c]
add ecx, 0x164
cmp dword [ebp + eax*4], 0
je 0x10090aff
mov dword [ecx], 1
xchg ebx, eax
xchg ebx, eax
add eax, 1
add ecx, 0x168
cmp eax, edi
jl 0x10090af0
xor esi, esi
test edi, edi
jle 0x10090b6b
mov ebx, dword [esp + 0x7c]
add ebx, 0x50
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x10090b5e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ah, ah
nop
mov eax, dword [ebp + esi*4]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ah, ah
mov dword [ebp + esi*4], 0
test eax, 0x2d97
mov eax, dword [ebx]
test eax, eax
je 0x10090b5e
push eax
call fcn.101167de
add esp, 4
mov dword [ebx], 0
mov edi, edi
add esi, 1
add ebx, 0x168
cmp esi, edi
jl 0x10090b19
push ebp
call fcn.101167de
add esp, 4
xchg ebx, eax
xchg ebx, eax
mov ebp, dword [esp + 0x7c]
test ebp, ebp
je 0x10090bb6
test edi, edi
jle 0x10090bab
lea esi, [ebp + 0x160]
mov ebx, dword [esi]
test ebx, ebx
je 0x10090ba0
mov ecx, ebx
call fcn.10006e00
push ebx
call fcn.1010568b
add esp, 4
push edx
pop edx
add esi, 0x168
sub edi, 1
jne 0x10090b88
push ebp
call fcn.101167de
add esp, 4
mov cl, cl
mov eax, dword [esp + 0x9c]
push eax
call fcn.101167de
add esp, 4
mov ecx, ecx
mov ecx, dword [esp + 0x14]
push ecx
call fcn.101167de
add esp, 4
mov dword [esp + 0x14], 0
mov al, al
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
push ecx
pop ecx
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 + 0x258], 0
lea ecx, [esp + 0xac]
call fcn.10006e00
mov eax, esi
jmp 0x10090e20
mov dl, dl
push 0x168
xor esi, esi
lea ecx, [esp + 0xc8]
push esi
push ecx
call fcn.10117df0
add esp, 0xc
test eax, 0x75c9
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc4], edx
test eax, 0x6c96
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc8], eax
test edx, edx
mov dword [esp + 0xcc], esi
test ecx, ecx
mov ecx, dword [esp + 0x88]
add ecx, 0xffffffff
mov dword [esp + 0xd0], ecx
nop
mov dword [esp + 0xd8], 1
test ecx, ecx
mov dword [esp + 0x228], esi
push ebx
pop ebx
mov edx, dword [esp + 0x288]
mov dword [esp + 0xd4], edx
test eax, 0x5132
mov eax, dword [esp + 0x94]
mov dword [esp + 0xdc], eax
mov ebx, ebx
mov ecx, 0xa
lea esi, [esp + 0x24]
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
mov edx, edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x108], ecx
test eax, 0x1cb1
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10c], edx
test al, al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x110], eax
mov ah, ah
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x114], ecx
test al, al
mov dword [esp + 0x118], ebx
nop
mov edx, dword [esp + 0x284]
mov dword [esp + 0x11c], edx
test ch, ch
lea edx, [esp + 0x120]
mov eax, ebp
sub edx, ebp
jmp 0x10090d30
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10090d30
mov cl, cl
mov eax, dword [esp + 0x280]
mov dword [esp + 0x220], eax
mov bl, bl
push 0x18
call fcn.10105660
add esp, 4
mov dword [esp + 0xa8], eax
mov byte [esp + 0x258], 3
test eax, eax
je 0x10090d86
mov ecx, 2
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x77]
push ecx
mov ecx, eax
call fcn.10011370
jmp 0x10090d88
xor eax, eax
mov byte [esp + 0x258], 1
test byte [esp + 0x4c], 2
mov dword [esp + 0x224], eax
je 0x10090da3
and dword [esp + 0x4c], 0xfffffffd
test ch, ch
lea edx, [esp + 0xc4]
push edx
call fcn.1008d060
add esp, 4
test ecx, ecx
mov ecx, dword [esp + 0x224]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x10090ddc
push ecx
lea ecx, [esp + 0xb0]
call fcn.1001f820
test bh, bh
mov ecx, dword [esp + 0x224]
test ecx, ecx
mov esi, ecx
je 0x10090df0
call fcn.10006e00
push esi
call fcn.1010568b
add esp, 4
test ebx, ebx
jmp 0x10090bb6
lea edx, [esp + 0xac]
push edx
mov ecx, ebx
call fcn.1000cf10
mov dword [esp + 0x4c], edi
mov byte [esp + 0x258], 0
lea ecx, [esp + 0xac]
call fcn.10006e00
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.10116cb9
add esp, 0x248
ret