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

Disassembly:
push 0xffffffffffffffff
push 0x101533a9
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x101a42b4]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101a42b4]
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 edx, edx
mov dword [ecx], 0xffffffff
mov dword [eax], 0xffffffff
nop
fld qword [0x10159790]
fld qword [esp + 0x28c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x10071a81
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x10071a83
cmp dword [esp + 0x294], 3
ja 0x10071a83
push 0x14
call fcn.100e2d7d
add esp, 4
mov dword [esp + 0xa4], eax
mov dword [esp + 0x268], 0
test eax, eax
je 0x1007106c
mov ecx, eax
call fcn.100e610c
mov edi, eax
mov dword [esp + 0x84], eax
jmp 0x10071075
xor edi, edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x268], 0xffffffff
test ch, ch
test edi, edi
je 0x10071a83
push 0
push edi
push 0x101593b0
push esi
call fcn.100436a0
add esp, 0x10
mov dword [esp + 0x88], eax
test al, al
test eax, eax
jne 0x100710ba
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov dh, dh
jmp 0x10071a83
mov ch, ch
test edi, edi
mov dword [esp + 0x18], 0
push edx
pop edx
mov dh, dh
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.1003cc50
add esp, 0x28
test eax, eax
jne 0x10071122
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
test bl, bl
jmp 0x10071a83
xor ebx, ebx
mov dword [esp + 0x8c], ebx
push ebx
pop ebx
mov cl, cl
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10071134
sub eax, edx
cmp eax, 2
jne 0x100711e8
mov ebx, 1
mov dword [esp + 0x8c], ebx
mov eax, eax
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 0x10071161
test dh, dh
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10071173
lea edi, [esp + 0x23c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x10071188
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 edi, edi
mov eax, ebp
mov ecx, ebp
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100711a7
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 0x100711c0
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 ebx, ebx
mov ebp, ebp
test ebx, ebx
jne 0x1007123b
xor edx, edx
cmp dword [esp + 0x30], edx
jle 0x100712a7
mov ecx, dword [esp + 0x2c]
mov edi, edi
xor eax, eax
test ecx, ecx
jle 0x10071230
jmp 0x10071210
mov ecx, edx
imul ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
nop
mov byte [ecx + 3], 0
mov ch, ch
mov ecx, dword [esp + 0x2c]
add eax, 1
cmp eax, ecx
jl 0x10071210
add edx, 1
cmp edx, dword [esp + 0x30]
jl 0x10071200
jmp 0x100712a7
xor ebx, ebx
cmp dword [esp + 0x30], ebx
jle 0x100712a7
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x1007129e
lea ecx, [ecx]
mov edx, ebx
imul edx, dword [esp + 0x1c]
add edx, dword [esp + 0x18]
lea ecx, [edx + esi*4]
test cl, cl
movzx eax, byte [ecx + 2]
test bh, bh
movzx edx, byte [ecx + 1]
mov eax, eax
movzx edi, byte [ecx]
test al, al
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
xchg ebx, eax
xchg ebx, eax
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
test edx, edx
mov eax, dword [esp + 0x2c]
add esi, 1
cmp esi, eax
jl 0x10071250
add ebx, 1
cmp ebx, dword [esp + 0x30]
jl 0x10071247
push edx
pop edx
test ch, ch
mov dword [esp + 0x7c], 0
mov edx, edx
mov ah, ah
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x80]
cmp edi, dword [ebx + 0x3264]
jl 0x10071870
cmp dword [ebx + 0x3260], 0
je 0x10071870
test edi, edi
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov bh, bh
test eax, eax
mov eax, eax
mov esi, dword [esp + 0x64]
cmp edi, esi
jae 0x10071303
mov esi, edi
mov dword [esp + 0x74], edi
mov ah, ah
jmp 0x1007130c
mov dword [esp + 0x74], esi
test eax, 0x6ca5
mov eax, dword [ebx + 0x3268]
test eax, eax
jle 0x10071322
cmp esi, eax
jle 0x10071322
mov esi, eax
mov dword [esp + 0x74], esi
test ebx, ebx
cmp esi, 0x40
jl 0x10071332
mov esi, 0x40
mov dword [esp + 0x74], esi
test bl, bl
mov dword [esp + 0xa4], esi
mov cl, cl
lea ebp, [esi*4]
push ebp
call fcn.100f3e38
mov ebx, eax
add esp, 4
mov dword [esp + 0x94], ebx
mov ch, ch
test ebx, ebx
je 0x10071842
mov edi, esi
imul edi, edi, 0x170
push edi
call fcn.100f3e38
add esp, 4
mov dword [esp + 0x90], eax
test dl, dl
test eax, eax
je 0x100717ba
push ebp
call fcn.100f3e38
add esp, 4
mov dword [esp + 0x7c], eax
test ah, ah
test eax, eax
je 0x100717ba
push ebp
push 0
push ebx
call fcn.100f4ed0
add esp, 0xc
push edx
pop edx
mov ecx, dword [esp + 0x90]
push edi
xor edi, edi
push edi
push ecx
call fcn.100f4ed0
add esp, 0xc
mov ecx, ecx
mov edx, dword [esp + 0x7c]
push ebp
push edi
push edx
call fcn.100f4ed0
add esp, 0xc
test esi, esi
xor ecx, ecx
push eax
pop eax
mov eax, dword [esp + 0x88]
cdq
idiv esi
mov dword [esp + 0xbc], eax
mov esi, esi
test dh, dh
mov eax, dword [esp + 0x80]
mov dword [eax + 0x325c], edi
test edi, edi
cmp esi, edi
mov dword [esp + 0x78], edi
jle 0x1007161f
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
push eax
pop eax
mov edx, dword [esp + 0xbc]
lea eax, [edx + ecx - 1]
mov dword [esp + 0x98], eax
test ah, ah
mov eax, dword [esp + 0x74]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jne 0x10071467
mov edx, dword [esp + 0x88]
add edx, 0xffffffff
mov dword [esp + 0x98], edx
mov ah, ah
mov esi, esi
mov eax, dword [esp + 0x80]
lea ebx, [ebp - 4]
mov dword [ebx], eax
mov dh, dh
mov edx, dword [esp + 0x84]
mov dword [ebp], edx
mov cl, cl
mov dword [ebp + 4], ecx
mov ah, ah
mov eax, dword [esp + 0x98]
mov dword [ebp + 8], eax
mov esi, esi
xor eax, eax
mov dword [ebp + 0x10], eax
mov ebp, ebp
mov dword [ebp + 0x168], eax
test ecx, ecx
mov ecx, dword [esp + 0x2a0]
mov dword [ebp + 0xc], ecx
mov esi, esi
mov edx, dword [esp + 0x8c]
mov dword [ebp + 0x14], edx
mov ecx, ecx
lea edi, [ebp + 0x18]
mov ecx, 0xa
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
test bh, bh
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x40], eax
mov bl, bl
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x44], ecx
test ah, ah
mov edx, dword [esp + 0x24]
mov dword [ebp + 0x48], edx
test eax, 0x3ff5
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x4c], eax
test dl, dl
mov ecx, dword [esp + 0x294]
mov dword [ebp + 0x54], ecx
push ecx
pop ecx
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0x9c]
add edx, ebp
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10071510
mov bh, bh
fld qword [esp + 0x28c]
fstp qword [ebp + 0x15c]
test al, al
push 0x1c
call fcn.100e2d7d
add esp, 4
mov dword [esp + 0xb4], eax
mov dword [esp + 0x268], 2
xor ecx, ecx
cmp eax, ecx
je 0x1007155e
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ecx
mov byte [eax + 4], cl
jmp 0x10071560
xor eax, eax
mov dword [esp + 0x268], 0xffffffff
mov dword [ebp + 0x164], eax
test eax, 0x47a9
cmp dword [ebp + 0x164], ecx
je 0x10071602
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
mov dword [eax + esi], ebx
mov cl, cl
call fcn.1002d010
mov edi, eax
mov esi, esi
test cl, cl
push 0
push 0
push ebx
push 0x10070f10
push 0
push 0
call fcn.100f664f
add esp, 0x18
test eax, 0x5e7b
mov dword [esi], eax
test bl, bl
push edi
call fcn.1002d0e0
add esp, 4
push eax
pop eax
cmp dword [esi], 0
je 0x1007160a
mov ecx, dword [esp + 0x98]
add ecx, 1
test al, al
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 0x10071431
jmp 0x10071614
mov dword [esp + 0x78], ecx
mov eax, eax
jmp 0x10071614
mov dword [esp + 0x78], 0
test esi, esi
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x74]
cmp dword [esp + 0x78], esi
jne 0x1007174f
mov ecx, ecx
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
mov dh, dh
cmp ebp, 0xffffffff
je 0x1007174f
mov edx, edx
test dl, dl
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 0x100716c6
mov ecx, dword [ebx + ebp*4]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ch, ch
mov dword [ebx + ebp*4], 0
test dh, dh
mov edx, dword [esp + 0x78]
cmp ebp, edx
mov eax, ebp
jge 0x100716a3
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
xchg ebx, eax
xchg ebx, eax
test esi, esi
add eax, 1
cmp eax, edx
jl 0x10071691
mov eax, dword [esp + 0x74]
sub eax, 1
sub edx, 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
push eax
pop eax
test eax, eax
jne 0x10071632
mov edi, edi
jmp 0x1007174f
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
test cl, cl
mov edx, dword [esi + ebp*4]
mov eax, dword [edx + 0x168]
cmp dword [eax + 0x18], 0x10
jb 0x10071722
mov eax, dword [eax + 4]
jmp 0x10071725
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.100f6765
add esp, 0x14
test ebx, ebx
mov bl, bl
mov edi, dword [esp + 0x74]
test edi, edi
jle 0x1007177d
mov eax, dword [esp + 0x7c]
mov ecx, ebx
sub ecx, eax
mov edx, edi
mov esi, 1
cmp dword [ecx + eax], 0
je 0x10071776
mov ebp, dword [eax]
mov dword [ebp + 0x16c], esi
mov esi, esi
add eax, 4
sub edx, esi
jne 0x10071766
xor esi, esi
test edi, edi
jle 0x100717ba
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ebp, dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x100717b1
push 0xffffffffffffffff
push eax
call edi
push edx
pop edx
mov cl, cl
mov eax, dword [ebx + esi*4]
push eax
call ebp
push ecx
pop ecx
mov dword [ebx + esi*4], 0
test ch, ch
add esi, 1
cmp esi, dword [esp + 0x74]
jl 0x10071790
push ebx
call fcn.100f3efb
add esp, 4
test eax, eax
mov ebp, dword [esp + 0x90]
test ebp, ebp
je 0x1007182c
mov ebx, dword [esp + 0xa4]
test ebx, ebx
jle 0x10071821
lea edi, [ebp + 0x168]
mov esi, dword [edi]
test esi, esi
je 0x10071816
cmp dword [esi + 0x18], 0x10
jb 0x100717f9
mov eax, dword [esi + 4]
push eax
call fcn.100e2dad
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
push esi
mov byte [esi + 4], 0
call fcn.100e2dad
add esp, 4
test bh, bh
add edi, 0x170
sub ebx, 1
jne 0x100717e1
push ebp
call fcn.100f3efb
add esp, 4
mov ebx, ebx
cmp dword [esp + 0x7c], 0
je 0x10071842
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.100f3efb
add esp, 4
push ebx
pop ebx
mov edx, dword [esp + 0x18]
push edx
call fcn.100f3efb
add esp, 4
mov dword [esp + 0x18], 0
test ch, ch
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov ch, ch
jmp 0x10071a83
mov edx, edx
push 0x170
xor ebx, ebx
lea ecx, [esp + 0xc4]
push ebx
push ecx
call fcn.100f4ed0
add esp, 0xc
mov esi, esi
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc0], edx
test edi, edi
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc4], eax
test dh, dh
mov dword [esp + 0xc8], ebx
mov cl, cl
mov ecx, dword [esp + 0x88]
add ecx, 0xffffffff
mov dword [esp + 0xcc], ecx
push ecx
pop ecx
mov dword [esp + 0xd4], ebx
test al, al
mov edx, dword [esp + 0x2a0]
mov dword [esp + 0xd0], edx
test eax, 0x1e05
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xd8], eax
test eax, 0x234
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0xdc]
rep movsd dword es:[edi], dword [esi]
nop
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x104], ecx
mov ebp, ebp
mov edx, dword [esp + 0x20]
mov dword [esp + 0x108], edx
mov dh, dh
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10c], eax
test ecx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x110], ecx
mov edx, edx
mov dword [esp + 0x22c], ebx
push ecx
pop ecx
mov edx, dword [esp + 0x294]
mov dword [esp + 0x118], edx
test dl, dl
lea edx, [esp + 0x11c]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x10071962
test bl, bl
fld qword [esp + 0x28c]
fstp qword [esp + 0x220]
nop
push 0x1c
call fcn.100e2d7d
add esp, 4
mov dword [esp + 0xb4], eax
mov dword [esp + 0x268], 1
cmp eax, ebx
je 0x100719af
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], 0
jmp 0x100719b1
xor eax, eax
mov dword [esp + 0x268], 0xffffffff
mov dword [esp + 0x228], eax
push ebx
pop ebx
lea ecx, [esp + 0xc0]
call fcn.1006a220
test dh, dh
mov ecx, dword [esp + 0x228]
cmp dword [ecx + 0x14], ebx
jbe 0x10071a6f
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
push eax
pop eax
mov eax, dword [esp + 0x228]
cmp dword [eax + 0x18], 0x10
jb 0x10071a3d
mov eax, dword [eax + 4]
jmp 0x10071a40
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.100f6765
add esp, 0x14
test edi, edi
mov ecx, dword [esp + 0x228]
cmp ecx, ebx
je 0x10071a7a
push 1
call fcn.100340f0
push ecx
pop ecx
jmp 0x10071842
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.100f43d6
add esp, 0x258
ret