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

Disassembly:
push 0xffffffffffffffff
push 0x1015fbd9
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x101b23cc]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b23cc]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x270]
mov ebx, dword [esp + 0x288]
mov eax, dword [esp + 0x294]
mov ecx, dword [esp + 0x298]
mov esi, dword [esp + 0x284]
xor edi, edi
mov dword [esp + 0x90], ebp
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x18], 0xffffffff
mov ebx, ebx
mov dword [ecx], 0xffffffff
mov dword [eax], 0xffffffff
mov esi, esi
cmp dword [esp + 0x28c], 0x64
ja 0x100779e4
push 0x14
call fcn.100eae40
add esp, 4
mov dword [esp + 0xac], eax
mov dword [esp + 0x268], edi
cmp eax, edi
je 0x100771d4
mov ecx, eax
call fcn.100ee1d8
mov edi, eax
mov dword [esp + 0x88], eax
jmp 0x100771db
mov dword [esp + 0x88], edi
mov dword [esp + 0x268], 0xffffffff
mov dh, dh
test edi, edi
je 0x100779e4
push 0
push edi
push 0x101664f0
push esi
call fcn.10049270
add esp, 0x10
mov dword [esp + 0x8c], eax
mov cl, cl
test eax, eax
jne 0x10077220
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov ebx, ebx
jmp 0x100779e4
push eax
pop eax
mov dh, dh
mov dword [esp + 0x14], 0
push edx
pop edx
mov eax, eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28c]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x28c]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x28c]
push edx
mov edx, dword [esp + 0x28c]
push eax
push ecx
push edx
push ebp
call fcn.10042340
add esp, 0x28
test eax, eax
jne 0x10077288
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov al, al
jmp 0x100779e4
xor ebp, ebp
mov dword [esp + 0x9c], ebp
mov ah, ah
mov dl, dl
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100772a0
sub eax, edx
cmp eax, 2
jne 0x10077359
mov ebp, 1
mov dword [esp + 0x9c], ebp
xchg ebx, eax
xchg ebx, eax
lea edx, [esp + 0x23c]
mov eax, ebx
sub edx, ebx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100772d0
mov ebx, ebx
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100772e2
lea edi, [esp + 0x23c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebp
test cl, cl
jne 0x100772f7
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 bl, bl
mov eax, ebx
mov ecx, ebx
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10077316
lea edi, [esp + 0x23c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ecx, [ecx]
mov cl, byte [edi + 1]
add edi, ebp
test cl, cl
jne 0x10077330
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 ebx, [esp + 0x23c]
mov dword [esp + 0xa4], ebx
push ebx
pop ebx
nop
test ebp, ebp
jne 0x100773ac
xor edx, edx
cmp dword [esp + 0x30], edx
jle 0x10077417
mov ecx, dword [esp + 0x2c]
mov edi, edi
xor eax, eax
test ecx, ecx
jle 0x100773a1
jmp 0x10077380
mov ecx, edx
imul ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
mov ebx, ebx
mov byte [ecx + 3], 0
mov edi, edi
mov ecx, dword [esp + 0x2c]
add eax, 1
cmp eax, ecx
jl 0x10077380
add edx, 1
cmp edx, dword [esp + 0x30]
jl 0x10077370
jmp 0x10077417
xor ebp, ebp
cmp dword [esp + 0x30], ebp
jle 0x10077417
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x1007740e
mov edi, edi
mov edx, ebp
imul edx, dword [esp + 0x1c]
add edx, dword [esp + 0x14]
lea ecx, [edx + esi*4]
mov dl, dl
movzx eax, byte [ecx + 2]
mov bh, bh
movzx edx, byte [ecx + 1]
xchg ebx, eax
xchg ebx, eax
movzx edi, byte [ecx]
mov ch, ch
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
mov edi, edi
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 0x100773c0
add ebp, 1
cmp ebp, dword [esp + 0x30]
jl 0x100773b8
mov esi, esi
mov dl, dl
mov dword [esp + 0x80], 0
push ecx
pop ecx
mov edx, edx
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
cmp esi, dword [edi + 0x326c]
jl 0x10077a10
cmp dword [edi + 0x3268], 0
je 0x10077a10
push ecx
pop ecx
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ebx, ebx
push eax
pop eax
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [esp + 0x64]
cmp esi, ecx
jae 0x10077476
mov ecx, esi
mov dword [esp + 0x74], esi
mov edi, edi
jmp 0x1007747c
mov dword [esp + 0x74], ecx
mov ebp, ebp
mov eax, dword [edi + 0x3270]
test eax, eax
jle 0x10077492
cmp ecx, eax
jle 0x10077492
mov ecx, eax
mov dword [esp + 0x74], ecx
xchg ebx, eax
xchg ebx, eax
cmp ecx, 0x40
jl 0x100774a1
mov dword [esp + 0x74], 0x40
mov al, al
mov edi, dword [esp + 0x74]
mov dword [esp + 0xac], edi
mov edi, edi
lea esi, [edi*4]
push esi
call fcn.100fbefc
mov ebx, eax
add esp, 4
mov dword [esp + 0x94], ebx
push ecx
pop ecx
test ebx, ebx
je 0x100779bb
mov ebp, edi
imul ebp, ebp, 0x168
push ebp
call fcn.100fbefc
add esp, 4
mov dword [esp + 0xa0], eax
xchg ebx, eax
xchg ebx, eax
test eax, eax
je 0x1007794a
push esi
call fcn.100fbefc
add esp, 4
mov dword [esp + 0x80], eax
mov ecx, ecx
test eax, eax
je 0x1007794a
push esi
push 0
push ebx
call fcn.100fcf90
add esp, 0xc
mov dh, dh
mov ecx, dword [esp + 0xa0]
push ebp
xor ebp, ebp
push ebp
push ecx
call fcn.100fcf90
add esp, 0xc
push eax
pop eax
mov edx, dword [esp + 0x80]
push esi
push ebp
push edx
call fcn.100fcf90
add esp, 0xc
mov ebp, ebp
xor ecx, ecx
mov edx, edx
mov eax, dword [esp + 0x8c]
cdq
idiv edi
mov dword [esp + 0xc0], eax
mov edx, edx
mov dh, dh
mov eax, dword [esp + 0x90]
mov dword [eax + 0x3264], ebp
push ebx
pop ebx
cmp edi, ebp
mov dword [esp + 0x78], ebp
jle 0x100777a6
mov ebp, dword [esp + 0xa0]
mov eax, 0x58
sub eax, dword [esp + 0xa4]
add ebp, 4
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x80]
sub eax, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x98], eax
lea ecx, [ecx]
mov dh, dh
mov edx, dword [esp + 0xc0]
lea eax, [edx + ecx - 1]
mov dword [esp + 0xa8], eax
nop
mov eax, dword [esp + 0x74]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jne 0x100775e5
mov edx, dword [esp + 0x8c]
add edx, 0xffffffff
mov dword [esp + 0xa8], edx
mov eax, eax
push edx
pop edx
mov eax, dword [esp + 0x90]
lea ebx, [ebp - 4]
mov dword [ebx], eax
push edx
pop edx
mov edx, dword [esp + 0x88]
mov dword [ebp], edx
mov edx, edx
mov dword [ebp + 4], ecx
mov ebx, ebx
mov eax, dword [esp + 0xa8]
mov dword [ebp + 8], eax
mov cl, cl
xor eax, eax
mov dword [ebp + 0x10], eax
mov edx, edx
mov dword [ebp + 0x160], eax
mov cl, cl
mov ecx, dword [esp + 0x29c]
mov dword [ebp + 0xc], ecx
nop
mov edx, dword [esp + 0x9c]
mov dword [ebp + 0x14], edx
mov ah, ah
lea edi, [ebp + 0x18]
mov ecx, 0xa
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov cl, cl
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x40], eax
nop
mov ecx, dword [esp + 0x24]
mov dword [ebp + 0x44], ecx
mov ah, ah
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x48], edx
mov ch, ch
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x4c], eax
nop
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xa4]
lea edx, [ecx + ebp]
jmp 0x10077680
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10077680
mov edi, edi
mov edx, dword [esp + 0x28c]
mov dword [ebp + 0x158], edx
mov cl, cl
mov eax, dword [esp + 0x290]
mov dword [ebp + 0x54], eax
xchg ebx, eax
xchg ebx, eax
push 0x18
call fcn.100eae40
add esp, 4
mov dword [esp + 0xbc], eax
mov ecx, 2
mov dword [esp + 0x268], ecx
test eax, eax
je 0x100776df
or dword [esp + 0x7c], ecx
lea ecx, [esp + 0x87]
push ecx
mov ecx, eax
call fcn.100097d0
jmp 0x100776e1
xor eax, eax
mov dword [esp + 0x268], 0xffffffff
test byte [esp + 0x7c], 2
mov dword [ebp + 0x15c], eax
je 0x100776fe
and dword [esp + 0x7c], 0xfffffffd
mov eax, eax
cmp dword [ebp + 0x15c], 0
je 0x10077785
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0xb8]
mov dword [edx + esi], ebx
mov bh, bh
call fcn.1002a6e0
mov edi, eax
nop
mov edx, edx
push 0
push 0
push ebx
push 0x10076570
push 0
push 0
call fcn.100fe9b7
add esp, 0x18
mov edi, edi
mov dword [esi], eax
mov ch, ch
push edi
call fcn.1002a7a0
add esp, 4
mov al, al
cmp dword [esi], 0
je 0x10077791
mov ecx, dword [esp + 0xa8]
add ecx, 1
mov cl, cl
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 + 0xb8], esi
jl 0x100775b0
jmp 0x1007779b
mov dword [esp + 0x78], 0
mov edx, edx
jmp 0x1007779b
mov dword [esp + 0x78], 0
mov cl, cl
mov ebx, dword [esp + 0x94]
mov edi, dword [esp + 0x74]
cmp dword [esp + 0x78], edi
jne 0x100778e3
mov cl, cl
add edi, 0xffffffff
mov dword [esp + 0x78], edi
lea esp, [esp]
mov edi, dword [esp + 0x74]
push 0xffffffffffffffff
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov ebp, eax
mov esi, esi
cmp ebp, 0xffffffff
je 0x100778e3
mov bl, bl
mov eax, eax
mov edx, dword [esp + 0x80]
lea eax, [edx + ebp*4]
mov dword [esp + 0x98], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x160]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0x14]
jne 0x10077865
mov edx, dword [ebx + ebp*4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, eax
mov dword [ebx + ebp*4], 0
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esp + 0x78]
cmp ebp, edx
mov eax, ebp
jge 0x10077843
mov edi, dword [esp + 0x98]
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 ebx
pop ebx
mov dh, dh
add eax, 1
cmp eax, edx
jl 0x10077831
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 0x100777c0
mov ebx, ebx
mov edi, eax
jmp 0x100778e3
mov al, 0x25
mov cl, 0x7c
mov byte [esp + 0x230], al
mov byte [esp + 0x231], 0x64
mov byte [esp + 0x232], cl
mov byte [esp + 0x233], al
mov byte [esp + 0x234], 0x64
mov byte [esp + 0x235], cl
mov byte [esp + 0x236], al
mov byte [esp + 0x237], 0x64
mov byte [esp + 0x238], 0
mov al, al
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [edx + ebp*4]
push eax
push ecx
lea eax, [esp + 0x20]
push eax
mov eax, dword [edx + 0x160]
lea ecx, [esp + 0x23c]
push ecx
mov ecx, dword [eax + 0x14]
push ecx
call fcn.100feacd
add esp, 0x14
xchg ebx, eax
xchg ebx, eax
nop
test edi, edi
jle 0x10077910
mov eax, dword [esp + 0x80]
mov ecx, ebx
sub ecx, eax
mov edx, edi
cmp dword [ecx + eax], 0
je 0x10077908
mov esi, dword [eax]
mov dword [esi + 0x164], 1
mov bh, bh
add eax, 4
sub edx, 1
jne 0x100778f4
xor esi, esi
test edi, edi
jle 0x1007794a
mov ebp, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea esp, [esp]
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x10077943
push 0xffffffffffffffff
push eax
call ebp
mov edx, edx
mov dl, dl
mov edx, dword [ebx + esi*4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
mov dword [ebx + esi*4], 0
nop
add esi, 1
cmp esi, edi
jl 0x10077920
push ebx
call fcn.100fbfbf
add esp, 4
mov al, al
mov ebp, dword [esp + 0xa0]
test ebp, ebp
je 0x1007799f
mov ebx, dword [esp + 0xac]
test ebx, ebx
jle 0x10077994
lea esi, [ebp + 0x160]
mov edi, dword [esi]
test edi, edi
je 0x10077989
mov ecx, edi
call fcn.10006900
push edi
call fcn.100eae6b
add esp, 4
xchg ebx, eax
xchg ebx, eax
add esi, 0x168
sub ebx, 1
jne 0x10077971
push ebp
call fcn.100fbfbf
add esp, 4
mov ch, ch
cmp dword [esp + 0x80], 0
je 0x100779bb
mov eax, dword [esp + 0x80]
push eax
call fcn.100fbfbf
add esp, 4
mov ah, ah
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100fbfbf
add esp, 4
mov dword [esp + 0x14], 0
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov esi, esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.100fc49a
add esp, 0x258
ret
push eax
pop eax
push 0x168
xor ebp, ebp
lea eax, [esp + 0xcc]
push ebp
push eax
call fcn.100fcf90
add esp, 0xc
mov ch, ch
mov ecx, edi
mov dword [esp + 0xc8], ecx
push eax
pop eax
mov edx, dword [esp + 0x88]
mov dword [esp + 0xcc], edx
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0xd0], ebp
mov edx, edx
mov eax, dword [esp + 0x8c]
add eax, 0xffffffff
mov dword [esp + 0xd4], eax
mov bl, bl
mov dword [esp + 0xdc], ebp
mov dl, dl
mov ecx, dword [esp + 0x29c]
mov dword [esp + 0xd8], ecx
push eax
pop eax
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xe0], edx
nop
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov edx, edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10c], eax
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x110], ecx
push edx
pop edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x114], edx
mov ebx, ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov al, al
mov dword [esp + 0x22c], ebp
mov dl, dl
lea edx, [esp + 0x124]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10077ae7
mov bl, bl
mov ecx, dword [esp + 0x28c]
mov dword [esp + 0x224], ecx
mov dh, dh
mov edx, dword [esp + 0x290]
mov dword [esp + 0x120], edx
mov eax, eax
push 0x18
call fcn.100eae40
add esp, 4
mov dword [esp + 0xbc], eax
mov dword [esp + 0x268], 1
cmp eax, ebp
je 0x10077b55
mov ecx, 1
mov dword [esp + 0x7c], ecx
or ecx, ebp
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x87]
push ecx
mov ecx, eax
call fcn.100097d0
jmp 0x10077b57
xor eax, eax
mov dword [esp + 0x268], 0xffffffff
test byte [esp + 0x7c], 1
mov dword [esp + 0x228], eax
je 0x10077b75
and dword [esp + 0x7c], 0xfffffffe
mov eax, eax
lea ecx, [esp + 0xc8]
call fcn.10068f60
mov cl, cl
mov ecx, dword [esp + 0x228]
mov edx, dword [ecx + 0x10]
sub edx, dword [ecx + 0x14]
je 0x10077c1a
mov al, 0x25
mov cl, 0x7c
mov byte [esp + 0x230], al
mov byte [esp + 0x231], 0x64
mov byte [esp + 0x232], cl
mov byte [esp + 0x233], al
mov byte [esp + 0x234], 0x64
mov byte [esp + 0x235], cl
mov byte [esp + 0x236], al
mov byte [esp + 0x237], 0x64
mov byte [esp + 0x238], 0
mov esi, esi
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
push eax
push ecx
mov ecx, dword [esp + 0x230]
lea edx, [esp + 0x20]
push edx
mov edx, dword [ecx + 0x14]
lea eax, [esp + 0x23c]
push eax
push edx
call fcn.100feacd
add esp, 0x14
mov dl, dl
mov ecx, dword [esp + 0x228]
cmp ecx, ebp
mov esi, ecx
je 0x10077c2e
call fcn.10006900
push esi
call fcn.100eae6b
add esp, 4
mov cl, cl
jmp 0x100779bb