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

Disassembly:
push 0xffffffffffffffff
push 0x101731e9
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x101c52b4]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c52b4]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x268]
mov ebp, dword [esp + 0x280]
mov eax, dword [esp + 0x28c]
mov ecx, dword [esp + 0x290]
mov esi, dword [esp + 0x27c]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xac], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x14], 0xffffffff
mov edi, edi
mov dword [ecx], 0xffffffff
mov dword [eax], 0xffffffff
xchg ebx, eax
xchg ebx, eax
cmp dword [esp + 0x284], 0x64
ja 0x1007f6bd
push 0x14
call fcn.100fce7d
add esp, 4
mov dword [esp + 0xa4], eax
xor edi, edi
mov dword [esp + 0x260], edi
cmp eax, edi
je 0x1007eed0
mov ecx, eax
call fcn.10100215
mov edi, eax
mov dword [esp + 0x84], eax
jmp 0x1007eed7
mov dword [esp + 0x84], edi
mov dword [esp + 0x260], 0xffffffff
nop
test edi, edi
je 0x1007f6bd
push 0
push edi
push 0x10179578
push esi
call fcn.1004f530
add esp, 0x10
mov dword [esp + 0x88], eax
mov ah, ah
test eax, eax
jne 0x1007ef1b
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov edx, edx
jmp 0x1007f6bd
mov dl, dl
push edx
pop edx
mov dword [esp + 0x18], 0
xchg ebx, eax
xchg ebx, eax
mov edx, edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x284]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x284]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x284]
push edx
mov edx, dword [esp + 0x284]
push eax
push ecx
push edx
push ebx
call fcn.10048c70
add esp, 0x28
test eax, eax
jne 0x1007ef83
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov esi, esi
jmp 0x1007f6bd
xor ebx, ebx
mov dword [esp + 0x8c], ebx
mov cl, cl
mov ebp, ebp
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007ef95
sub eax, edx
cmp eax, 2
jne 0x1007f050
mov ebx, 1
mov dword [esp + 0x8c], ebx
mov eax, eax
lea edx, [esp + 0x234]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1007efc2
push ecx
pop ecx
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007efd4
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 0x1007eff0
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 ebp, ebp
mov eax, ebp
mov ecx, ebp
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1007f010
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x1007f027
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 ebx
pop ebx
lea ebp, [esp + 0x234]
mov dword [esp + 0x9c], ebp
mov ecx, ecx
push edx
pop edx
test ebx, ebx
jne 0x1007f09c
xor edx, edx
cmp dword [esp + 0x30], edx
jle 0x1007f106
mov ecx, dword [esp + 0x2c]
xor eax, eax
test ecx, ecx
jle 0x1007f091
lea esp, [esp]
mov ecx, edx
imul ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
push eax
pop eax
mov byte [ecx + 3], 0
push eax
pop eax
mov ecx, dword [esp + 0x2c]
add eax, 1
cmp eax, ecx
jl 0x1007f070
add edx, 1
cmp edx, dword [esp + 0x30]
jl 0x1007f066
jmp 0x1007f106
xor ebx, ebx
cmp dword [esp + 0x30], ebx
jle 0x1007f106
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x1007f0fd
mov edi, edi
mov edx, ebx
imul edx, dword [esp + 0x1c]
add edx, dword [esp + 0x18]
lea ecx, [edx + esi*4]
mov ch, ch
movzx eax, byte [ecx + 2]
mov edx, edx
movzx edx, byte [ecx + 1]
mov ebx, ebx
movzx edi, byte [ecx]
mov dh, dh
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
mov ch, ch
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 + 0x2c]
add esi, 1
cmp esi, eax
jl 0x1007f0b0
add ebx, 1
cmp ebx, dword [esp + 0x30]
jl 0x1007f0a8
push edx
pop edx
mov esi, esi
mov dword [esp + 0x7c], 0
push edx
pop edx
nop
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x80]
cmp edi, dword [ebx + 0x3264]
jl 0x1007f6e9
cmp dword [ebx + 0x3260], 0
je 0x1007f6e9
mov al, al
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ch, ch
mov bh, bh
mov ebx, ebx
mov esi, dword [esp + 0x64]
cmp edi, esi
jae 0x1007f160
mov esi, edi
mov dword [esp + 0x74], edi
nop
jmp 0x1007f166
mov dword [esp + 0x74], esi
push ecx
pop ecx
mov eax, dword [ebx + 0x3268]
test eax, eax
jle 0x1007f17c
cmp esi, eax
jle 0x1007f17c
mov esi, eax
mov dword [esp + 0x74], esi
mov cl, cl
cmp esi, 0x40
jl 0x1007f18c
mov esi, 0x40
mov dword [esp + 0x74], esi
mov esi, esi
mov dword [esp + 0xa4], esi
mov eax, eax
lea ebp, [esi*4]
push ebp
call fcn.1010df39
mov ebx, eax
add esp, 4
mov dword [esp + 0x94], ebx
mov ebx, ebx
test ebx, ebx
je 0x1007f694
mov edi, esi
imul edi, edi, 0x168
push edi
call fcn.1010df39
add esp, 4
mov dword [esp + 0x90], eax
mov ebx, ebx
test eax, eax
je 0x1007f60c
push ebp
call fcn.1010df39
add esp, 4
mov dword [esp + 0x7c], eax
push eax
pop eax
test eax, eax
je 0x1007f60c
push ebp
push 0
push ebx
call fcn.1010efd0
add esp, 0xc
mov edi, edi
mov ecx, dword [esp + 0x90]
push edi
xor edi, edi
push edi
push ecx
call fcn.1010efd0
add esp, 0xc
mov al, al
mov edx, dword [esp + 0x7c]
push ebp
push edi
push edx
call fcn.1010efd0
add esp, 0xc
push edx
pop edx
xor ecx, ecx
mov bh, bh
mov eax, dword [esp + 0x88]
cdq
idiv esi
mov dword [esp + 0xbc], eax
mov dh, dh
push eax
pop eax
mov eax, dword [esp + 0x80]
mov dword [eax + 0x325c], edi
mov ch, ch
cmp esi, edi
mov dword [esp + 0x78], edi
jle 0x1007f471
mov ebp, dword [esp + 0x90]
mov eax, 0x58
sub eax, dword [esp + 0x9c]
add ebp, 4
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x7c]
sub eax, ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb0], eax
jmp 0x1007f290
mov esi, esi
mov edx, dword [esp + 0xbc]
lea eax, [edx + ecx - 1]
mov dword [esp + 0x98], eax
mov bh, bh
mov eax, dword [esp + 0x74]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jne 0x1007f2c6
mov edx, dword [esp + 0x88]
add edx, 0xffffffff
mov dword [esp + 0x98], edx
mov ebp, ebp
mov cl, cl
mov eax, dword [esp + 0x80]
lea ebx, [ebp - 4]
mov dword [ebx], eax
mov bh, bh
mov edx, dword [esp + 0x84]
mov dword [ebp], edx
mov cl, cl
mov dword [ebp + 4], ecx
mov al, al
mov eax, dword [esp + 0x98]
mov dword [ebp + 8], eax
mov edi, edi
xor eax, eax
mov dword [ebp + 0x10], eax
mov ebx, ebx
mov dword [ebp + 0x160], eax
mov ebp, ebp
mov ecx, dword [esp + 0x294]
mov dword [ebp + 0xc], ecx
mov dh, dh
mov edx, dword [esp + 0x8c]
mov dword [ebp + 0x14], edx
mov esi, esi
lea edi, [ebp + 0x18]
mov ecx, 0xa
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, ecx
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x40], eax
mov edi, edi
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x44], ecx
push edx
pop edx
mov edx, dword [esp + 0x24]
mov dword [ebp + 0x48], edx
mov eax, eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x4c], eax
push edx
pop edx
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x9c]
lea edx, [ecx + ebp]
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1007f360
push ecx
pop ecx
mov edx, dword [esp + 0x284]
mov dword [ebp + 0x158], edx
mov al, al
mov eax, dword [esp + 0x288]
mov dword [ebp + 0x54], eax
mov cl, cl
push 0x1c
call fcn.100fce7d
add esp, 4
mov dword [esp + 0xb4], eax
mov dword [esp + 0x260], 2
xor ecx, ecx
cmp eax, ecx
je 0x1007f3ba
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ecx
mov byte [eax + 4], cl
jmp 0x1007f3bc
xor eax, eax
mov dword [esp + 0x260], 0xffffffff
mov dword [ebp + 0x15c], eax
mov ah, ah
cmp dword [ebp + 0x15c], ecx
je 0x1007f454
mov ecx, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
mov dword [ecx + esi], ebx
mov ch, ch
call fcn.1002fd50
mov edi, eax
mov ah, ah
mov eax, eax
push 0
push 0
push ebx
push 0x1007e2a0
push 0
push 0
call fcn.1011074f
add esp, 0x18
mov edx, edx
mov dword [esi], eax
mov dh, dh
push edi
call fcn.1002fe10
add esp, 4
mov eax, eax
cmp dword [esi], 0
je 0x1007f45c
mov ecx, dword [esp + 0x98]
add ecx, 1
mov ah, ah
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 + 0xa8], esi
jl 0x1007f290
jmp 0x1007f466
mov dword [esp + 0x78], ecx
mov dl, dl
jmp 0x1007f466
mov dword [esp + 0x78], 0
push eax
pop eax
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x74]
cmp dword [esp + 0x78], esi
jne 0x1007f5a2
mov dh, dh
add esi, 0xffffffff
mov dword [esp + 0x78], esi
mov edx, dword [esp + 0x74]
push 0xffffffffffffffff
push 0
push ebx
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov ebp, eax
mov ebp, ebp
cmp ebp, 0xffffffff
je 0x1007f5a2
push ecx
pop ecx
push eax
pop eax
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + ebp*4]
mov ecx, dword [eax + 0x160]
cmp dword [ecx + 0x14], 0
lea edi, [edx + ebp*4]
ja 0x1007f518
mov edx, dword [ebx + ebp*4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dl, dl
mov dword [ebx + ebp*4], 0
mov al, al
mov edx, dword [esp + 0x78]
cmp ebp, edx
mov eax, ebp
jge 0x1007f4f5
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
mov eax, eax
mov esi, esi
add eax, 1
cmp eax, edx
jl 0x1007f4e3
mov eax, dword [esp + 0x74]
sub eax, 1
sub edx, 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov cl, cl
test eax, eax
jne 0x1007f484
mov edi, edi
jmp 0x1007f5a2
mov al, 0x25
mov cl, 0x7c
mov byte [esp + 0x228], al
mov byte [esp + 0x229], 0x64
mov byte [esp + 0x22a], cl
mov byte [esp + 0x22b], al
mov byte [esp + 0x22c], 0x64
mov byte [esp + 0x22d], cl
mov byte [esp + 0x22e], al
mov byte [esp + 0x22f], 0x64
mov byte [esp + 0x230], 0
mov ch, ch
mov edx, dword [edx + ebp*4]
mov eax, dword [edx + 0x160]
cmp dword [eax + 0x18], 0x10
jb 0x1007f575
mov eax, dword [eax + 4]
jmp 0x1007f578
add eax, 4
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
push ecx
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x234]
push edx
push eax
call fcn.10110865
add esp, 0x14
mov edx, edx
mov edi, edi
mov edi, dword [esp + 0x74]
test edi, edi
jle 0x1007f5d0
mov eax, dword [esp + 0x7c]
mov ecx, ebx
sub ecx, eax
mov edx, edi
mov esi, 1
cmp dword [ecx + eax], 0
je 0x1007f5c9
mov ebp, dword [eax]
mov dword [ebp + 0x164], esi
mov edx, edx
add eax, 4
sub edx, esi
jne 0x1007f5b9
xor esi, esi
test edi, edi
jle 0x1007f60c
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 0x1007f603
push 0xffffffffffffffff
push eax
call edi
xchg ebx, eax
xchg ebx, eax
mov edi, edi
mov eax, dword [ebx + esi*4]
push eax
call ebp
push ebx
pop ebx
mov dword [ebx + esi*4], 0
mov bh, bh
add esi, 1
cmp esi, dword [esp + 0x74]
jl 0x1007f5e2
push ebx
call fcn.1010dffc
add esp, 4
mov ecx, ecx
mov ebp, dword [esp + 0x90]
test ebp, ebp
je 0x1007f67e
mov ebx, dword [esp + 0xa4]
test ebx, ebx
jle 0x1007f673
lea edi, [ebp + 0x160]
mov esi, dword [edi]
test esi, esi
je 0x1007f668
cmp dword [esi + 0x18], 0x10
jb 0x1007f64b
mov ecx, dword [esi + 4]
push ecx
call fcn.100fcea8
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
push esi
mov byte [esi + 4], 0
call fcn.100fcea8
add esp, 4
mov edx, edx
add edi, 0x168
sub ebx, 1
jne 0x1007f633
push ebp
call fcn.1010dffc
add esp, 4
push eax
pop eax
cmp dword [esp + 0x7c], 0
je 0x1007f694
mov edx, dword [esp + 0x7c]
push edx
call fcn.1010dffc
add esp, 4
mov ebp, ebp
mov eax, dword [esp + 0x18]
push eax
call fcn.1010dffc
add esp, 4
mov dword [esp + 0x18], 0
push eax
pop eax
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
push eax
pop eax
mov eax, dword [esp + 0x14]
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.1010e4d7
add esp, 0x250
ret
mov bh, bh
push 0x168
xor ebx, ebx
lea ecx, [esp + 0xc4]
push ebx
push ecx
call fcn.1010efd0
add esp, 0xc
mov dl, dl
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc0], edx
mov ebx, ebx
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc4], eax
mov dh, dh
mov dword [esp + 0xc8], ebx
mov ebx, ebx
mov ecx, dword [esp + 0x88]
add ecx, 0xffffffff
mov dword [esp + 0xcc], ecx
mov edx, edx
mov dword [esp + 0xd4], ebx
mov ecx, ecx
mov edx, dword [esp + 0x294]
mov dword [esp + 0xd0], edx
mov cl, cl
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xd8], eax
mov edx, edx
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0xdc]
rep movsd dword es:[edi], dword [esi]
mov ebx, ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x104], ecx
mov al, al
mov edx, dword [esp + 0x20]
mov dword [esp + 0x108], edx
mov bh, bh
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10c], eax
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x110], ecx
push ecx
pop ecx
mov dword [esp + 0x224], ebx
mov dl, dl
lea edx, [esp + 0x11c]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1007f7c6
mov ebx, ebx
mov edx, dword [esp + 0x284]
mov dword [esp + 0x21c], edx
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x288]
mov dword [esp + 0x118], eax
push edx
pop edx
push 0x1c
call fcn.100fce7d
add esp, 4
mov dword [esp + 0xb4], eax
mov dword [esp + 0x260], 1
cmp eax, ebx
je 0x1007f824
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], 0
jmp 0x1007f826
xor eax, eax
mov dword [esp + 0x260], 0xffffffff
mov dword [esp + 0x220], eax
mov dl, dl
lea ecx, [esp + 0xc0]
call fcn.10079d20
push ecx
pop ecx
mov eax, dword [esp + 0x220]
cmp dword [eax + 0x14], ebx
jbe 0x1007f8e5
mov al, 0x25
mov cl, 0x7c
mov byte [esp + 0x228], al
mov byte [esp + 0x229], 0x64
mov byte [esp + 0x22a], cl
mov byte [esp + 0x22b], al
mov byte [esp + 0x22c], 0x64
mov byte [esp + 0x22d], cl
mov byte [esp + 0x22e], al
mov byte [esp + 0x22f], 0x64
mov byte [esp + 0x230], 0
mov bh, bh
mov eax, dword [esp + 0x220]
cmp dword [eax + 0x18], 0x10
jb 0x1007f8b3
mov eax, dword [eax + 4]
jmp 0x1007f8b6
add eax, 4
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
push ecx
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x234]
push edx
push eax
call fcn.10110865
add esp, 0x14
mov ecx, ecx
mov eax, dword [esp + 0x220]
cmp eax, ebx
mov esi, eax
je 0x1007f916
cmp dword [eax + 0x18], 0x10
lea edi, [eax + 0x18]
jb 0x1007f900
mov eax, dword [eax + 4]
push eax
call fcn.100fcea8
add esp, 4
mov dword [edi], 0xf
mov dword [esi + 0x14], ebx
push esi
mov byte [esi + 4], 0
call fcn.100fcea8
add esp, 4
mov ah, ah
jmp 0x1007f694