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

Disassembly:
push 0xffffffffffffffff
push 0x10173189
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x101c52b4]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c52b4]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x270]
mov ebp, dword [esp + 0x288]
mov eax, dword [esp + 0x298]
mov ecx, dword [esp + 0x29c]
mov esi, dword [esp + 0x284]
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 dh, dh
mov dword [ecx], 0xffffffff
mov dword [eax], 0xffffffff
mov ah, ah
fld qword [0x10179960]
fld qword [esp + 0x28c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x1007edd0
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x1007edd2
cmp dword [esp + 0x294], 3
ja 0x1007edd2
push 0x14
call fcn.100fce7d
add esp, 4
mov dword [esp + 0xa4], eax
mov dword [esp + 0x268], 0
test eax, eax
je 0x1007e3cd
mov ecx, eax
call fcn.10100215
mov edi, eax
mov dword [esp + 0x84], eax
jmp 0x1007e3d6
xor edi, edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x268], 0xffffffff
mov dh, dh
test edi, edi
je 0x1007edd2
push 0
push edi
push 0x10179578
push esi
call fcn.1004f530
add esp, 0x10
mov dword [esp + 0x88], eax
nop
test eax, eax
jne 0x1007e41a
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov edi, edi
jmp 0x1007edd2
mov ebx, ebx
mov ah, ah
mov dword [esp + 0x18], 0
mov dl, dl
mov eax, eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
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 ebx
call fcn.10048c70
add esp, 0x28
test eax, eax
jne 0x1007e482
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov edx, edx
jmp 0x1007edd2
xor ebx, ebx
mov dword [esp + 0x8c], ebx
push ebx
pop ebx
mov ah, ah
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007e494
sub eax, edx
cmp eax, 2
jne 0x1007e548
mov ebx, 1
mov dword [esp + 0x8c], ebx
mov ah, ah
lea edx, [esp + 0x23c]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1007e4c1
mov edx, edx
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007e4d3
lea edi, [esp + 0x23c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x1007e4e8
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 edi, edi
mov eax, ebp
mov ecx, ebp
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1007e507
lea edi, [esp + 0x23c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov edi, edi
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x1007e520
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]
nop
lea ebp, [esp + 0x23c]
mov dword [esp + 0x9c], ebp
mov cl, cl
mov ebx, ebx
test ebx, ebx
jne 0x1007e59c
xor edx, edx
cmp dword [esp + 0x30], edx
jle 0x1007e607
mov ecx, dword [esp + 0x2c]
mov edi, edi
xor eax, eax
test ecx, ecx
jle 0x1007e591
jmp 0x1007e570
mov ecx, edx
imul ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
mov ah, ah
mov byte [ecx + 3], 0
mov ebx, ebx
mov ecx, dword [esp + 0x2c]
add eax, 1
cmp eax, ecx
jl 0x1007e570
add edx, 1
cmp edx, dword [esp + 0x30]
jl 0x1007e560
jmp 0x1007e607
xor ebx, ebx
cmp dword [esp + 0x30], ebx
jle 0x1007e607
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x1007e5fe
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 edi, edi
movzx edx, byte [ecx + 1]
push edx
pop edx
movzx edi, byte [ecx]
push ecx
pop ecx
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 dl, dl
mov eax, dword [esp + 0x2c]
add esi, 1
cmp esi, eax
jl 0x1007e5b0
add ebx, 1
cmp ebx, dword [esp + 0x30]
jl 0x1007e5a8
mov edx, edx
mov dl, dl
mov dword [esp + 0x7c], 0
push eax
pop eax
mov edx, edx
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x80]
cmp edi, dword [ebx + 0x3264]
jl 0x1007ebbf
cmp dword [ebx + 0x3260], 0
je 0x1007ebbf
mov eax, eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
push edx
pop edx
mov dl, dl
mov esi, esi
mov esi, dword [esp + 0x64]
cmp edi, esi
jae 0x1007e663
mov esi, edi
mov dword [esp + 0x74], edi
mov bl, bl
jmp 0x1007e669
mov dword [esp + 0x74], esi
mov ah, ah
mov eax, dword [ebx + 0x3268]
test eax, eax
jle 0x1007e67f
cmp esi, eax
jle 0x1007e67f
mov esi, eax
mov dword [esp + 0x74], esi
mov dh, dh
cmp esi, 0x40
jl 0x1007e68f
mov esi, 0x40
mov dword [esp + 0x74], esi
mov eax, eax
mov dword [esp + 0xa4], esi
xchg ebx, eax
xchg ebx, eax
lea ebp, [esi*4]
push ebp
call fcn.1010df39
mov ebx, eax
add esp, 4
mov dword [esp + 0x94], ebx
mov ebp, ebp
test ebx, ebx
je 0x1007eb91
mov edi, esi
imul edi, edi, 0x170
push edi
call fcn.1010df39
add esp, 4
mov dword [esp + 0x90], eax
mov dh, dh
test eax, eax
je 0x1007eb0a
push ebp
call fcn.1010df39
add esp, 4
mov dword [esp + 0x7c], eax
mov ch, ch
test eax, eax
je 0x1007eb0a
push ebp
push 0
push ebx
call fcn.1010efd0
add esp, 0xc
mov dh, dh
mov ecx, dword [esp + 0x90]
push edi
xor edi, edi
push edi
push ecx
call fcn.1010efd0
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esp + 0x7c]
push ebp
push edi
push edx
call fcn.1010efd0
add esp, 0xc
mov ebp, ebp
xor ecx, ecx
push ecx
pop ecx
mov eax, dword [esp + 0x88]
cdq
idiv esi
mov dword [esp + 0xbc], eax
xchg ebx, eax
xchg ebx, eax
mov dl, dl
mov eax, dword [esp + 0x80]
mov dword [eax + 0x325c], edi
mov cl, cl
cmp esi, edi
mov dword [esp + 0x78], edi
jle 0x1007e970
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
mov edi, edi
nop
mov edx, dword [esp + 0xbc]
lea eax, [edx + ecx - 1]
mov dword [esp + 0x98], eax
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x74]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jne 0x1007e7c5
mov edx, dword [esp + 0x88]
add edx, 0xffffffff
mov dword [esp + 0x98], edx
mov ah, ah
mov bh, bh
mov eax, dword [esp + 0x80]
lea ebx, [ebp - 4]
mov dword [ebx], eax
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esp + 0x84]
mov dword [ebp], edx
mov eax, eax
mov dword [ebp + 4], ecx
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x98]
mov dword [ebp + 8], eax
nop
xor eax, eax
mov dword [ebp + 0x10], eax
mov edi, edi
mov dword [ebp + 0x168], eax
mov ch, ch
mov ecx, dword [esp + 0x2a0]
mov dword [ebp + 0xc], ecx
mov edx, edx
mov edx, dword [esp + 0x8c]
mov dword [ebp + 0x14], edx
mov dl, dl
lea edi, [ebp + 0x18]
mov ecx, 0xa
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
nop
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x40], eax
mov ah, ah
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x44], ecx
mov ecx, ecx
mov edx, dword [esp + 0x24]
mov dword [ebp + 0x48], edx
mov ebp, ebp
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x4c], eax
push ebx
pop ebx
mov ecx, dword [esp + 0x294]
mov dword [ebp + 0x54], ecx
mov al, al
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0x9c]
add edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1007e867
mov ebx, ebx
fld qword [esp + 0x28c]
fstp qword [ebp + 0x15c]
mov eax, eax
push 0x1c
call fcn.100fce7d
add esp, 4
mov dword [esp + 0xb4], eax
mov dword [esp + 0x268], 2
xor ecx, ecx
cmp eax, ecx
je 0x1007e8b5
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ecx
mov byte [eax + 4], cl
jmp 0x1007e8b7
xor eax, eax
mov dword [esp + 0x268], 0xffffffff
mov dword [ebp + 0x164], eax
mov cl, cl
cmp dword [ebp + 0x164], ecx
je 0x1007e953
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
mov dword [eax + esi], ebx
mov ebx, ebx
call fcn.1002fd50
mov edi, eax
mov dh, dh
push ebx
pop ebx
push 0
push 0
push ebx
push 0x1007e270
push 0
push 0
call fcn.1011074f
add esp, 0x18
mov ebp, ebp
mov dword [esi], eax
mov esi, esi
push edi
call fcn.1002fe10
add esp, 4
mov edi, edi
cmp dword [esi], 0
je 0x1007e95b
mov ecx, dword [esp + 0x98]
add ecx, 1
mov dh, dh
mov eax, dword [esp + 0x78]
add eax, 1
add esi, 4
add ebp, 0x170
cmp eax, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov dword [esp + 0xa8], esi
jl 0x1007e790
jmp 0x1007e965
mov dword [esp + 0x78], ecx
mov ch, ch
jmp 0x1007e965
mov dword [esp + 0x78], 0
mov ch, ch
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x74]
cmp dword [esp + 0x78], esi
jne 0x1007ea9e
nop
add esi, 0xffffffff
mov dword [esp + 0x78], esi
mov ecx, dword [esp + 0x74]
push 0xffffffffffffffff
push 0
push ebx
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov ebp, eax
push ebx
pop ebx
cmp ebp, 0xffffffff
je 0x1007ea9e
mov dl, dl
mov esi, esi
mov esi, dword [esp + 0x7c]
mov edx, dword [esi + ebp*4]
mov eax, dword [edx + 0x168]
cmp dword [eax + 0x14], 0
lea edi, [esi + ebp*4]
ja 0x1007ea16
mov ecx, dword [ebx + ebp*4]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dh, dh
mov dword [ebx + ebp*4], 0
mov dl, dl
mov edx, dword [esp + 0x78]
cmp ebp, edx
mov eax, ebp
jge 0x1007e9f3
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 dl, dl
mov ch, ch
add eax, 1
cmp eax, edx
jl 0x1007e9e1
mov eax, dword [esp + 0x74]
sub eax, 1
sub edx, 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov dl, dl
test eax, eax
jne 0x1007e982
xchg ebx, eax
xchg ebx, eax
jmp 0x1007ea9e
mov cl, 0x25
mov al, 0x64
mov dl, 0x7c
mov byte [esp + 0x230], cl
mov byte [esp + 0x231], al
mov byte [esp + 0x232], dl
mov byte [esp + 0x233], cl
mov byte [esp + 0x234], al
mov byte [esp + 0x235], dl
mov byte [esp + 0x236], cl
mov byte [esp + 0x237], al
mov byte [esp + 0x238], 0
mov bl, bl
mov edx, dword [esi + ebp*4]
mov eax, dword [edx + 0x168]
cmp dword [eax + 0x18], 0x10
jb 0x1007ea72
mov eax, dword [eax + 4]
jmp 0x1007ea75
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 + 0x23c]
push edx
push eax
call fcn.10110865
add esp, 0x14
mov dh, dh
nop
mov edi, dword [esp + 0x74]
test edi, edi
jle 0x1007eacb
mov eax, dword [esp + 0x7c]
mov ecx, ebx
sub ecx, eax
mov edx, edi
mov esi, 1
cmp dword [ecx + eax], 0
je 0x1007eac4
mov ebp, dword [eax]
mov dword [ebp + 0x16c], esi
nop
add eax, 4
sub edx, esi
jne 0x1007eab5
xor esi, esi
test edi, edi
jle 0x1007eb0a
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ebp, dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ecx]
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x1007eb01
push 0xffffffffffffffff
push eax
call edi
xchg ebx, eax
xchg ebx, eax
mov dh, dh
mov eax, dword [ebx + esi*4]
push eax
call ebp
mov ecx, ecx
mov dword [ebx + esi*4], 0
mov eax, eax
add esi, 1
cmp esi, dword [esp + 0x74]
jl 0x1007eae0
push ebx
call fcn.1010dffc
add esp, 4
push eax
pop eax
mov ebp, dword [esp + 0x90]
test ebp, ebp
je 0x1007eb7b
mov ebx, dword [esp + 0xa4]
test ebx, ebx
jle 0x1007eb71
lea edi, [ebp + 0x168]
mov esi, dword [edi]
test esi, esi
je 0x1007eb66
cmp dword [esi + 0x18], 0x10
jb 0x1007eb49
mov eax, dword [esi + 4]
push eax
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
push ecx
pop ecx
add edi, 0x170
sub ebx, 1
jne 0x1007eb31
push ebp
call fcn.1010dffc
add esp, 4
nop
cmp dword [esp + 0x7c], 0
je 0x1007eb91
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.1010dffc
add esp, 4
mov bh, bh
mov edx, dword [esp + 0x18]
push edx
call fcn.1010dffc
add esp, 4
mov dword [esp + 0x18], 0
mov ebx, ebx
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov eax, eax
jmp 0x1007edd2
push ecx
pop ecx
push 0x170
xor ebx, ebx
lea ecx, [esp + 0xc4]
push ebx
push ecx
call fcn.1010efd0
add esp, 0xc
push edx
pop edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc0], edx
mov edx, edx
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc4], eax
push ecx
pop ecx
mov dword [esp + 0xc8], ebx
mov ecx, ecx
mov ecx, dword [esp + 0x88]
add ecx, 0xffffffff
mov dword [esp + 0xcc], ecx
mov al, al
mov dword [esp + 0xd4], ebx
mov esi, esi
mov edx, dword [esp + 0x2a0]
mov dword [esp + 0xd0], edx
mov dh, dh
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xd8], eax
push ecx
pop ecx
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0xdc]
rep movsd dword es:[edi], dword [esi]
mov cl, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x104], ecx
mov al, al
mov edx, dword [esp + 0x20]
mov dword [esp + 0x108], edx
nop
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10c], eax
mov al, al
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x110], ecx
mov al, al
mov dword [esp + 0x22c], ebx
mov ah, ah
mov edx, dword [esp + 0x294]
mov dword [esp + 0x118], edx
push edx
pop edx
lea edx, [esp + 0x11c]
mov eax, ebp
sub edx, ebp
jmp 0x1007ecb0
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x1007ecb0
mov edi, edi
fld qword [esp + 0x28c]
fstp qword [esp + 0x220]
mov bh, bh
push 0x1c
call fcn.100fce7d
add esp, 4
mov dword [esp + 0xb4], eax
mov dword [esp + 0x268], 1
cmp eax, ebx
je 0x1007ecfe
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], 0
jmp 0x1007ed00
xor eax, eax
mov dword [esp + 0x268], 0xffffffff
mov dword [esp + 0x228], eax
push ecx
pop ecx
lea ecx, [esp + 0xc0]
call fcn.100776a0
mov dl, dl
mov ecx, dword [esp + 0x228]
cmp dword [ecx + 0x14], ebx
jbe 0x1007edbe
mov cl, 0x25
mov al, 0x64
mov dl, 0x7c
mov byte [esp + 0x230], cl
mov byte [esp + 0x231], al
mov byte [esp + 0x232], dl
mov byte [esp + 0x233], cl
mov byte [esp + 0x234], al
mov byte [esp + 0x235], dl
mov byte [esp + 0x236], cl
mov byte [esp + 0x237], al
mov byte [esp + 0x238], 0
mov edx, edx
mov eax, dword [esp + 0x228]
cmp dword [eax + 0x18], 0x10
jb 0x1007ed8c
mov eax, dword [eax + 4]
jmp 0x1007ed8f
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 + 0x23c]
push edx
push eax
call fcn.10110865
add esp, 0x14
push edx
pop edx
mov ecx, dword [esp + 0x228]
cmp ecx, ebx
je 0x1007edc9
push 1
call fcn.1003e5c0
xchg ebx, eax
xchg ebx, eax
jmp 0x1007eb91
fstp st(0)
mov eax, dword [esp + 0x14]
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.1010e4d7
add esp, 0x258
ret