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

Disassembly:
push 0xffffffffffffffff
push 0x1017b036
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x101cc114]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cc114]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [esp + 0x26c]
mov edi, dword [esp + 0x268]
mov ebp, dword [esp + 0x284]
mov esi, dword [esp + 0x280]
xor ebx, ebx
mov dword [esp + 0x74], ebx
push ebx
push 0x101818e0
lea ecx, [esp + 0xb0]
mov dword [esp + 0xa4], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
call fcn.1000a1c0
mov dword [esp + 0x260], 1
nop
fld qword [0x10181880]
fld qword [esp + 0x288]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x10087d6e
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x10087d70
cmp dword [esp + 0x290], 3
ja 0x10087d29
push 0x14
call fcn.1010956d
add esp, 4
mov dword [esp + 0x94], eax
mov byte [esp + 0x260], 2
cmp eax, ebx
je 0x100873f1
mov ecx, eax
call fcn.1010c8ec
mov ebx, eax
mov dword [esp + 0x80], eax
jmp 0x100873fa
xor ebx, ebx
mov dword [esp + 0x80], ebx
mov byte [esp + 0x260], 1
mov ebx, ebx
test ebx, ebx
je 0x10087433
push 0
push ebx
push 0x10181488
push esi
call fcn.1005eb40
add esp, 0x10
mov dword [esp + 0x84], eax
push edx
pop edx
test eax, eax
jne 0x10087463
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 1
mov ecx, ebx
call eax
mov ah, ah
lea ecx, [esp + 0xa8]
push ecx
mov ecx, edi
call fcn.1000a290
mov dword [esp + 0x74], 1
mov byte [esp + 0x260], 0
lea ecx, [esp + 0xa8]
call fcn.10006700
jmp 0x10087dd1
mov eax, eax
push ebx
pop ebx
mov dword [esp + 0x14], 0
mov al, al
mov ecx, ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x288]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x288]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x288]
push ecx
mov ecx, dword [esp + 0x288]
push edx
mov edx, dword [esp + 0x94]
push eax
push ecx
push edx
call fcn.10058280
add esp, 0x28
test eax, eax
jne 0x100874da
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 1
mov ecx, ebx
call edx
xchg ebx, eax
xchg ebx, eax
lea eax, [esp + 0xa8]
push eax
jmp 0x1008743b
xor ebx, ebx
mov dword [esp + 0x90], ebx
mov ch, ch
mov ecx, ecx
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100874f0
sub eax, edx
cmp eax, 2
jne 0x100875a9
mov ebx, 1
mov dword [esp + 0x90], ebx
xchg ebx, eax
xchg ebx, eax
lea edx, [esp + 0x234]
mov eax, ebp
sub edx, ebp
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10087520
mov bl, bl
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10087532
lea edi, [esp + 0x234]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x10087547
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 cl, cl
mov eax, ebp
mov ecx, ebp
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10087566
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ecx, [ecx]
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x10087580
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]
mov edx, edx
lea ebp, [esp + 0x234]
mov dword [esp + 0x98], ebp
push edx
pop edx
mov ecx, ecx
test ebx, ebx
mov edi, dword [esp + 0x2c]
jne 0x100875fe
xor edx, edx
test edi, edi
jle 0x10087669
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
jle 0x100875f5
jmp 0x100875d0
mov ecx, edx
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
mov ebx, ebx
mov byte [ecx + 3], 0
mov dl, dl
mov ecx, dword [esp + 0x28]
add eax, 1
cmp eax, ecx
jl 0x100875d0
mov edi, dword [esp + 0x2c]
add edx, 1
cmp edx, edi
jl 0x100875c1
jmp 0x10087669
xor ebx, ebx
test edi, edi
jle 0x10087669
mov eax, dword [esp + 0x28]
xor esi, esi
test eax, eax
jle 0x10087662
mov edi, edi
mov edx, ebx
imul edx, dword [esp + 0x18]
add edx, dword [esp + 0x14]
lea ecx, [edx + esi*4]
mov ch, ch
movzx eax, byte [ecx + 2]
mov eax, eax
movzx edx, byte [ecx + 1]
mov bh, bh
movzx edi, byte [ecx]
mov bh, bh
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 bh, bh
mov eax, dword [esp + 0x28]
add esi, 1
cmp esi, eax
jl 0x10087610
mov edi, dword [esp + 0x2c]
add ebx, 1
cmp ebx, edi
jl 0x10087608
imul edi, dword [esp + 0x18]
push edi
call fcn.10117399
mov ebx, eax
add esp, 4
mov dword [esp + 0xa0], ebx
push eax
pop eax
test ebx, ebx
jne 0x100876e4
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov ebx, ebx
mov eax, dword [esp + 0x14]
push eax
call fcn.1011745c
add esp, 4
mov dword [esp + 0x14], ebx
mov esi, esi
mov esi, dword [esp + 0x9c]
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.1000a290
mov dword [esp + 0x74], 1
mov byte [esp + 0x260], 0
lea ecx, [esp + 0xa8]
call fcn.10006700
mov eax, esi
jmp 0x10087dd3
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
push ebx
call fcn.10119710
add esp, 0xc
mov esi, esi
mov edx, edx
mov cl, cl
mov ebp, ebp
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x78]
cmp esi, dword [eax + 0x3268]
jl 0x10087b85
cmp dword [eax + 0x3264], 0
je 0x10087b85
push ebx
pop ebx
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ah, ah
mov ecx, ecx
mov ebx, ebx
mov edi, dword [esp + 0x60]
cmp esi, edi
jae 0x1008774d
mov edi, esi
mov dword [esp + 0x70], esi
mov ecx, ecx
jmp 0x10087753
mov dword [esp + 0x70], edi
mov edx, edx
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x326c]
test eax, eax
jle 0x1008776d
cmp edi, eax
jle 0x1008776d
mov edi, eax
mov dword [esp + 0x70], edi
mov bh, bh
cmp edi, 0x40
jl 0x1008777d
mov edi, 0x40
mov dword [esp + 0x70], edi
mov edx, edx
mov ebp, ebp
lea ebx, [edi*4]
push ebx
call fcn.10117399
mov ebp, eax
add esp, 4
mov dword [esp + 0x88], ebp
mov edi, edi
test ebp, ebp
je 0x10087b45
mov esi, edi
imul esi, esi, 0x170
push esi
call fcn.10117399
add esp, 4
mov dword [esp + 0x7c], eax
mov bl, bl
test eax, eax
je 0x10087b01
push ebx
xor ebx, ebx
push ebx
push ebp
call fcn.101183f0
add esp, 0xc
push ecx
pop ecx
mov eax, dword [esp + 0x7c]
push esi
push ebx
push eax
call fcn.101183f0
add esp, 0xc
mov bh, bh
xor ecx, ecx
mov bh, bh
mov eax, dword [esp + 0x84]
cdq
idiv edi
mov dword [esp + 0x94], eax
nop
mov bh, bh
mov edx, dword [esp + 0x78]
mov dword [edx + 0x3260], ebx
mov bh, bh
cmp ebx, edi
jge 0x10087a0e
lea ecx, [ecx]
mov edx, edx
mov eax, dword [esp + 0x94]
lea edx, [eax + ecx - 1]
mov dword [esp + 0x8c], edx
push eax
pop eax
mov eax, dword [esp + 0x70]
add eax, 0xffffffff
cmp ebx, eax
jne 0x10087844
mov eax, dword [esp + 0x84]
add eax, 0xffffffff
mov dword [esp + 0x8c], eax
push eax
pop eax
mov eax, eax
mov eax, dword [esp + 0x7c]
mov edx, ebx
imul edx, edx, 0x170
lea ebp, [edx + eax]
mov edx, dword [esp + 0x78]
mov dword [ebp], edx
mov esi, esi
mov eax, dword [esp + 0x80]
mov dword [ebp + 4], eax
mov bh, bh
mov dword [ebp + 8], ecx
mov al, al
mov ecx, dword [esp + 0x8c]
mov dword [ebp + 0xc], ecx
mov cl, cl
mov dword [ebp + 0x14], 1
mov ch, ch
mov dword [ebp + 0x16c], 0
mov esi, esi
mov edx, dword [esp + 0x294]
mov dword [ebp + 0x10], edx
mov al, al
mov eax, dword [esp + 0x90]
mov dword [ebp + 0x18], eax
mov ch, ch
lea edi, [ebp + 0x1c]
mov ecx, 0xa
lea esi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ebx, ebx
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x44], ecx
mov edx, edx
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x48], edx
mov eax, eax
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x4c], eax
mov ch, ch
mov ecx, dword [esp + 0x2c]
imul ecx, dword [esp + 0x18]
push ecx
call fcn.10117399
add esp, 4
mov dword [ebp + 0x50], eax
mov bl, bl
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x10087a01
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
call fcn.10119710
add esp, 0xc
mov bh, bh
mov edx, dword [esp + 0xa0]
mov dword [ebp + 0x54], edx
mov ecx, ecx
mov eax, dword [esp + 0x290]
mov dword [ebp + 0x58], eax
mov dl, dl
mov eax, dword [esp + 0x98]
mov ecx, ebp
sub ecx, eax
lea edx, [ecx + 0x5c]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10087935
mov bl, bl
fld qword [esp + 0x288]
fstp qword [ebp + 0x160]
mov dl, dl
push 0x1c
call fcn.1010956d
add esp, 4
mov dword [esp + 0xa4], eax
mov byte [esp + 0x260], 4
test eax, eax
je 0x10087983
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], 0
mov byte [eax + 4], 0
jmp 0x10087985
xor eax, eax
mov byte [esp + 0x260], 1
mov dword [ebp + 0x168], eax
mov cl, cl
cmp dword [ebp + 0x168], 0
je 0x100879fe
call fcn.1003f2b0
mov esi, eax
mov ecx, ecx
mov eax, eax
push 0
push 0
push ebp
push 0x10085c30
push 0
push 0
call fcn.10119b6f
add esp, 0x18
push edx
pop edx
mov edi, dword [esp + 0x88]
mov dword [edi + ebx*4], eax
nop
push esi
call fcn.1003f370
add esp, 4
mov ecx, ecx
cmp dword [edi + ebx*4], 0
jne 0x100879e3
push ecx
pop ecx
xor ebx, ebx
mov al, al
mov ecx, dword [esp + 0x8c]
add ecx, 1
mov bl, bl
add ebx, 1
cmp ebx, dword [esp + 0x70]
jl 0x10087810
jmp 0x10087a01
xor ebx, ebx
nop
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x88]
cmp ebx, edi
jne 0x10087a78
push 0xffffffffffffffff
push 1
push ebp
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov esi, esi
cmp eax, 0xffffffff
je 0x10087a78
test edi, edi
jle 0x10087a78
mov esi, dword [esp + 0x7c]
add esi, 0x168
mov ebx, edi
mov edx, dword [esi]
cmp dword [edx + 0x14], 0
jbe 0x10087a6d
cmp dword [esp + 0xbc], 0
jbe 0x10087a58
push 0x10181488
lea ecx, [esp + 0xac]
call fcn.1000a4c0
mov ch, ch
mov eax, dword [esi]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xb4]
call fcn.10009dd0
push ebx
pop ebx
add esi, 0x170
sub ebx, 1
jne 0x10087a33
xor eax, eax
test edi, edi
jle 0x10087aa4
mov ecx, dword [esp + 0x7c]
add ecx, 0x16c
cmp dword [ebp + eax*4], 0
je 0x10087a97
mov dword [ecx], 1
mov dh, dh
add eax, 1
add ecx, 0x170
cmp eax, edi
jl 0x10087a88
xor esi, esi
test edi, edi
jle 0x10087b01
mov ebx, dword [esp + 0x7c]
add ebx, 0x50
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x10087af4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ebp, ebp
push ecx
pop ecx
mov eax, dword [ebp + esi*4]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov bl, bl
mov dword [ebp + esi*4], 0
mov dl, dl
mov eax, dword [ebx]
test eax, eax
je 0x10087af4
push eax
call fcn.1011745c
add esp, 4
mov dword [ebx], 0
push ecx
pop ecx
add esi, 1
add ebx, 0x170
cmp esi, edi
jl 0x10087ab1
push ebp
call fcn.1011745c
add esp, 4
mov esi, esi
mov ebx, dword [esp + 0x7c]
test ebx, ebx
je 0x10087b45
test edi, edi
jle 0x10087b3a
lea esi, [ebx + 0x168]
mov edi, edi
mov ecx, dword [esi]
test ecx, ecx
je 0x10087b2f
push 1
call fcn.1004dc50
push ecx
pop ecx
add esi, 0x170
sub edi, 1
jne 0x10087b20
push ebx
call fcn.1011745c
add esp, 4
mov al, al
mov eax, dword [esp + 0xa0]
push eax
call fcn.1011745c
add esp, 4
mov esi, esi
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1011745c
add esp, 4
mov dword [esp + 0x14], 0
mov bh, bh
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov edi, edi
jmp 0x100876ab
mov ch, ch
push 0x170
xor esi, esi
lea ecx, [esp + 0xc8]
push esi
push ecx
call fcn.101183f0
add esp, 0xc
mov ebx, ebx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc4], edx
mov dh, dh
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc8], eax
push ecx
pop ecx
mov dword [esp + 0xcc], esi
mov esi, esi
mov ecx, dword [esp + 0x84]
add ecx, 0xffffffff
mov dword [esp + 0xd0], ecx
mov ecx, ecx
mov dword [esp + 0xd8], 1
mov esi, esi
mov dword [esp + 0x230], esi
push ebx
pop ebx
mov edx, dword [esp + 0x294]
mov dword [esp + 0xd4], edx
mov dl, dl
mov eax, dword [esp + 0x90]
mov dword [esp + 0xdc], eax
mov ebp, ebp
mov ecx, 0xa
lea esi, [esp + 0x24]
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
push ebx
pop ebx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x108], ecx
mov dh, dh
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10c], edx
push eax
pop eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x110], eax
mov bl, bl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x114], ecx
mov al, al
mov dword [esp + 0x118], ebx
mov eax, eax
mov edx, dword [esp + 0x290]
mov dword [esp + 0x11c], edx
mov bh, bh
lea ecx, [esp + 0x120]
mov eax, ebp
sub ecx, ebp
lea esp, [esp]
mov dl, byte [eax]
mov byte [ecx + eax], dl
add eax, 1
test dl, dl
jne 0x10087c80
mov al, al
fld qword [esp + 0x288]
fstp qword [esp + 0x224]
mov edx, edx
push 0x1c
call fcn.1010956d
add esp, 4
mov dword [esp + 0xa4], eax
mov byte [esp + 0x260], 3
test eax, eax
je 0x10087ccf
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], 0
mov byte [eax + 4], 0
jmp 0x10087cd1
xor eax, eax
mov byte [esp + 0x260], 1
mov dword [esp + 0x22c], eax
mov eax, eax
lea ecx, [esp + 0xc4]
call fcn.10082430
mov ah, ah
mov ecx, dword [esp + 0x22c]
cmp dword [ecx + 0x14], 0
jbe 0x10087d17
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esp + 0xb4]
call fcn.10009fb0
mov eax, eax
mov ecx, dword [esp + 0x22c]
test ecx, ecx
je 0x10087d22
push 1
call fcn.1004dc50
mov esi, esi
jmp 0x10087b45
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb0]
mov esi, 0xf
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push edx
mov ecx, edi
mov byte [edi + 4], 0
call fcn.10009fb0
mov dword [esp + 0x74], 1
mov byte [esp + 0x260], 0
cmp dword [esp + 0xc0], 0x10
jb 0x10087dbb
mov eax, dword [esp + 0xac]
push eax
jmp 0x10087db3
fstp st(0)
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xb0]
mov esi, 0xf
push ecx
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov ecx, edi
mov byte [edi + 4], 0
call fcn.10009fb0
mov dword [esp + 0x74], 1
mov byte [esp + 0x260], 0
cmp dword [esp + 0xc0], 0x10
jb 0x10087dbb
mov edx, dword [esp + 0xac]
push edx
call fcn.1010959d
add esp, 4
mov byte [esp + 0xac], 0
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], esi
mov eax, edi
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.10117937
add esp, 0x250
ret