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

Disassembly:
push 0xffffffffffffffff
push 0x1015f949
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x101af0fc]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101af0fc]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x278]
mov ebp, dword [esp + 0x290]
mov eax, dword [esp + 0x2a0]
mov ecx, dword [esp + 0x2a4]
mov esi, dword [esp + 0x28c]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xb4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x14], 0xffffffff
xchg ebx, eax
xchg ebx, eax
mov dword [ecx], 0xffffffff
mov dword [eax], 0xffffffff
test edx, edx
fld qword [0x10165748]
fld qword [esp + 0x294]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x10088404
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x10088406
cmp dword [esp + 0x29c], 3
ja 0x10088406
push 0x14
call fcn.100f3540
add esp, 4
mov dword [esp + 0xac], eax
mov dword [esp + 0x270], 0
test eax, eax
je 0x100879d5
mov ecx, eax
call fcn.100f68bf
mov edi, eax
mov dword [esp + 0x88], eax
jmp 0x100879de
xor edi, edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x270], 0xffffffff
test edi, edi
test edi, edi
je 0x10088406
push 0
push edi
push 0x10165378
push esi
call fcn.1005b9c0
add esp, 0x10
mov dword [esp + 0x8c], eax
mov cl, cl
test eax, eax
jne 0x10087a23
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
test ebx, ebx
jmp 0x10088406
test ecx, ecx
push eax
pop eax
mov dword [esp + 0x18], 0
test eax, 0x5cd4
test eax, 0x37a1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x294]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x294]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x294]
push edx
mov edx, dword [esp + 0x294]
push eax
push ecx
push edx
push ebx
call fcn.10054960
add esp, 0x28
test eax, eax
jne 0x10087a91
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov dh, dh
jmp 0x10088406
xor ebx, ebx
mov dword [esp + 0xa4], ebx
push ecx
pop ecx
test bh, bh
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10087aa3
sub eax, edx
cmp eax, 2
jne 0x10087b59
mov ebx, 1
mov dword [esp + 0xa4], ebx
mov dl, dl
lea edx, [esp + 0x244]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10087ad0
mov eax, eax
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10087ae2
lea edi, [esp + 0x244]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x10087af7
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 cl, cl
mov eax, ebp
mov ecx, ebp
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10087b16
lea edi, [esp + 0x244]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ecx, [ecx]
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x10087b30
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]
test ch, ch
lea ebp, [esp + 0x244]
mov dword [esp + 0x9c], ebp
mov eax, eax
mov dl, dl
test ebx, ebx
jne 0x10087bac
xor edx, edx
cmp dword [esp + 0x30], edx
jle 0x10087c17
mov ecx, dword [esp + 0x2c]
nop
xor eax, eax
test ecx, ecx
jle 0x10087ba1
jmp 0x10087b80
mov ecx, edx
imul ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
mov ecx, ecx
mov byte [ecx + 3], 0
mov bh, bh
mov ecx, dword [esp + 0x2c]
add eax, 1
cmp eax, ecx
jl 0x10087b80
add edx, 1
cmp edx, dword [esp + 0x30]
jl 0x10087b70
jmp 0x10087c17
xor ebx, ebx
cmp dword [esp + 0x30], ebx
jle 0x10087c17
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x10087c0e
mov edi, edi
mov edx, ebx
imul edx, dword [esp + 0x1c]
add edx, dword [esp + 0x18]
lea ecx, [edx + esi*4]
test edx, edx
movzx eax, byte [ecx + 2]
mov dl, dl
movzx edx, byte [ecx + 1]
test edx, edx
movzx edi, byte [ecx]
push ebx
pop ebx
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
mov ecx, ecx
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
mov ah, ah
mov eax, dword [esp + 0x2c]
add esi, 1
cmp esi, eax
jl 0x10087bc0
add ebx, 1
cmp ebx, dword [esp + 0x30]
jl 0x10087bb8
mov al, al
mov al, al
mov dword [esp + 0x80], 0
test dl, dl
nop
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
cmp edi, dword [eax + 0x3264]
jl 0x100881d8
cmp dword [eax + 0x3260], 0
je 0x100881d8
mov esi, esi
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
push ecx
pop ecx
test eax, 0x4e1b
test al, al
mov esi, dword [esp + 0x64]
cmp edi, esi
jae 0x10087c78
mov esi, edi
mov dword [esp + 0x74], edi
mov edi, edi
jmp 0x10087c7e
mov dword [esp + 0x74], esi
test bh, bh
cmp esi, 0x40
jl 0x10087c8e
mov esi, 0x40
mov dword [esp + 0x74], esi
mov esi, esi
mov dword [esp + 0xac], esi
test bl, bl
lea edi, [esi*4]
push edi
call fcn.1010136f
mov ebx, eax
add esp, 4
mov dword [esp + 0x94], ebx
test ecx, ecx
test ebx, ebx
je 0x100881aa
mov ebp, esi
imul ebp, ebp, 0x170
push ebp
call fcn.1010136f
add esp, 4
mov dword [esp + 0x98], eax
mov dh, dh
test eax, eax
je 0x10088139
push edi
call fcn.1010136f
add esp, 4
mov dword [esp + 0x80], eax
mov ecx, ecx
test eax, eax
je 0x10088139
push edi
push 0
push ebx
call fcn.10102a00
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [esp + 0x98]
push ebp
xor ebp, ebp
push ebp
push ecx
call fcn.10102a00
add esp, 0xc
nop
mov edx, dword [esp + 0x80]
push edi
push ebp
push edx
call fcn.10102a00
add esp, 0xc
push ecx
pop ecx
xor ecx, ecx
test esi, esi
mov eax, dword [esp + 0x8c]
cdq
idiv esi
mov dword [esp + 0xc4], eax
nop
push eax
pop eax
mov eax, dword [esp + 0x90]
mov dword [eax + 0x325c], ebp
mov cl, cl
cmp esi, ebp
mov dword [esp + 0x78], ebp
jle 0x10087f92
mov ebp, dword [esp + 0x98]
mov eax, 0x58
sub eax, dword [esp + 0x9c]
add ebp, 4
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x80]
sub eax, ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb8], eax
push edx
pop edx
mov edx, dword [esp + 0xc4]
lea eax, [ecx + edx - 1]
mov dword [esp + 0xa0], eax
push edx
pop edx
mov eax, dword [esp + 0x74]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jne 0x10087dca
mov edx, dword [esp + 0x8c]
add edx, 0xffffffff
mov dword [esp + 0xa0], edx
push edx
pop edx
mov edi, edi
mov eax, dword [esp + 0x90]
lea ebx, [ebp - 4]
mov dword [ebx], eax
nop
mov edx, dword [esp + 0x88]
mov dword [ebp], edx
mov eax, eax
mov dword [ebp + 4], ecx
mov ah, ah
mov eax, dword [esp + 0xa0]
mov dword [ebp + 8], eax
test ch, ch
xor eax, eax
mov dword [ebp + 0x10], eax
test bh, bh
mov dword [ebp + 0x168], eax
mov dh, dh
mov ecx, dword [esp + 0x2a8]
mov dword [ebp + 0xc], ecx
test edi, edi
mov edx, dword [esp + 0xa4]
mov dword [ebp + 0x14], edx
test al, al
lea edi, [ebp + 0x18]
mov ecx, 0xa
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
test ecx, ecx
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x40], eax
mov dl, dl
mov ecx, dword [esp + 0x24]
mov dword [ebp + 0x44], ecx
mov ebp, ebp
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x48], edx
test ch, ch
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x4c], eax
test dl, dl
mov ecx, dword [esp + 0x29c]
mov dword [ebp + 0x54], ecx
push edx
pop edx
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x9c]
add edx, ebp
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10087e70
push edx
pop edx
fld qword [esp + 0x294]
fstp qword [ebp + 0x15c]
test ecx, ecx
push 0x18
call fcn.100f3540
add esp, 4
mov dword [esp + 0xbc], eax
mov ecx, 2
mov dword [esp + 0x270], ecx
test eax, eax
je 0x10087ec3
or dword [esp + 0x7c], ecx
lea ecx, [esp + 0x87]
push ecx
mov ecx, eax
call fcn.10011320
jmp 0x10087ec5
xor eax, eax
mov dword [esp + 0x270], 0xffffffff
test byte [esp + 0x7c], 2
mov dword [ebp + 0x164], eax
je 0x10087ee2
and dword [esp + 0x7c], 0xfffffffd
push ebx
pop ebx
cmp dword [ebp + 0x164], 0
je 0x10087f6e
mov edx, dword [esp + 0xb8]
mov esi, dword [esp + 0xb0]
mov dword [edx + esi], ebx
test dl, dl
call fcn.1003c870
mov edi, eax
test esi, esi
test ebx, ebx
push 0
push 0
push ebx
push 0x10087870
push 0
push 0
call fcn.1010405f
add esp, 0x18
mov ecx, ecx
mov dword [esi], eax
push ecx
pop ecx
push edi
call fcn.1003c940
add esp, 4
test ah, ah
cmp dword [esi], 0
je 0x10087f7d
mov ecx, dword [esp + 0xa0]
add ecx, 1
mov ah, ah
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 + 0xb0], esi
jl 0x10087d94
jmp 0x10087f87
mov dword [esp + 0x78], 0
test eax, 0x799a
jmp 0x10087f87
mov dword [esp + 0x78], 0
test cl, cl
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x74]
cmp dword [esp + 0x78], esi
jne 0x100880c6
mov cl, cl
add esi, 0xffffffff
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x74]
push 0xffffffffffffffff
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov ebp, eax
test eax, eax
cmp ebp, 0xffffffff
je 0x100880c6
test eax, 0x18fa
push edx
pop edx
mov esi, dword [esp + 0x80]
mov ecx, dword [esi + ebp*4]
mov eax, dword [ecx + 0x168]
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0x14]
lea edi, [esi + ebp*4]
jne 0x10088045
mov eax, dword [ebx + ebp*4]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebp, ebp
mov dword [ebx + ebp*4], 0
test dh, dh
mov edx, dword [esp + 0x78]
cmp ebp, edx
mov eax, ebp
jge 0x10088022
mov ecx, edx
lea esi, [edi + 4]
sub ecx, ebp
rep movsd dword es:[edi], dword [esi]
lea esp, [esp]
mov ecx, dword [ebx + eax*4 + 4]
mov dword [ebx + eax*4], ecx
test cl, cl
test edx, edx
add eax, 1
cmp eax, edx
jl 0x10088010
mov eax, dword [esp + 0x74]
sub eax, 1
sub edx, 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov ebx, ebx
test eax, eax
jne 0x10087fa5
mov edi, edi
jmp 0x100880c6
mov cl, 0x25
mov al, 0x64
mov dl, 0x7c
mov byte [esp + 0x238], cl
mov byte [esp + 0x239], al
mov byte [esp + 0x23a], dl
mov byte [esp + 0x23b], cl
mov byte [esp + 0x23c], al
mov byte [esp + 0x23d], dl
mov byte [esp + 0x23e], cl
mov byte [esp + 0x23f], al
mov byte [esp + 0x240], 0
test eax, 0x46d
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xb4]
push edx
push eax
mov eax, dword [esi + ebp*4]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax + 0x168]
lea edx, [esp + 0x244]
push edx
mov edx, dword [ecx + 0x14]
push edx
call fcn.10104175
add esp, 0x14
mov ah, ah
test bl, bl
mov edi, dword [esp + 0x74]
test edi, edi
jle 0x100880f7
mov eax, dword [esp + 0x80]
mov ecx, ebx
sub ecx, eax
mov edx, edi
mov esi, 1
cmp dword [ecx + eax], 0
je 0x100880f0
mov ebp, dword [eax]
mov dword [ebp + 0x16c], esi
test eax, eax
add eax, 4
sub edx, esi
jne 0x100880e0
xor esi, esi
test edi, edi
jle 0x10088139
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ebp, dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea esp, [esp]
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x10088130
push 0xffffffffffffffff
push eax
call edi
mov esi, esi
nop
mov eax, dword [ebx + esi*4]
push eax
call ebp
mov ebx, ebx
mov dword [ebx + esi*4], 0
test eax, eax
add esi, 1
cmp esi, dword [esp + 0x74]
jl 0x10088110
push ebx
call fcn.10101432
add esp, 4
mov ah, ah
mov ebp, dword [esp + 0x98]
test ebp, ebp
je 0x1008818e
mov ebx, dword [esp + 0xac]
test ebx, ebx
jle 0x10088183
lea esi, [ebp + 0x168]
mov edi, dword [esi]
test edi, edi
je 0x10088178
mov ecx, edi
call fcn.10006e20
push edi
call fcn.100f3570
add esp, 4
push ebx
pop ebx
add esi, 0x170
sub ebx, 1
jne 0x10088160
push ebp
call fcn.10101432
add esp, 4
mov esi, esi
cmp dword [esp + 0x80], 0
je 0x100881aa
mov eax, dword [esp + 0x80]
push eax
call fcn.10101432
add esp, 4
mov bl, bl
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10101432
add esp, 4
mov dword [esp + 0x18], 0
test cl, cl
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov bh, bh
jmp 0x10088406
test dl, dl
push 0x170
xor ebx, ebx
lea ecx, [esp + 0xcc]
push ebx
push ecx
call fcn.10102a00
add esp, 0xc
push ebx
pop ebx
mov edx, dword [esp + 0x90]
mov dword [esp + 0xc8], edx
mov ch, ch
mov eax, dword [esp + 0x88]
mov dword [esp + 0xcc], eax
mov ch, ch
mov dword [esp + 0xd0], ebx
mov ebx, ebx
mov ecx, dword [esp + 0x8c]
add ecx, 0xffffffff
mov dword [esp + 0xd4], ecx
test bh, bh
mov dword [esp + 0xdc], ebx
mov ch, ch
mov edx, dword [esp + 0x2a8]
mov dword [esp + 0xd8], edx
mov edi, edi
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xe0], eax
mov ebx, ebx
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov al, al
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10c], ecx
mov bl, bl
mov edx, dword [esp + 0x24]
mov dword [esp + 0x110], edx
mov esi, esi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x114], eax
test bh, bh
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], ecx
test bl, bl
mov dword [esp + 0x234], ebx
mov cl, cl
mov edx, dword [esp + 0x29c]
mov dword [esp + 0x120], edx
mov dl, dl
lea edx, [esp + 0x124]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100882c5
nop
fld qword [esp + 0x294]
fstp qword [esp + 0x228]
push eax
pop eax
push 0x18
call fcn.100f3540
add esp, 4
mov dword [esp + 0xbc], eax
mov dword [esp + 0x270], 1
cmp eax, ebx
je 0x10088325
mov edx, 1
mov dword [esp + 0x7c], edx
lea ecx, [esp + 0x87]
or edx, ebx
push ecx
mov ecx, eax
mov dword [esp + 0x80], edx
call fcn.10011320
jmp 0x10088327
xor eax, eax
mov dword [esp + 0x270], 0xffffffff
test byte [esp + 0x7c], 1
mov dword [esp + 0x230], eax
je 0x10088345
and dword [esp + 0x7c], 0xfffffffe
mov cl, cl
lea ecx, [esp + 0xc8]
call fcn.10074fc0
test al, al
mov ecx, dword [esp + 0x230]
mov edx, dword [ecx + 0x10]
sub edx, dword [ecx + 0x14]
je 0x100883e9
mov cl, 0x25
mov al, 0x64
mov dl, 0x7c
mov byte [esp + 0x238], cl
mov byte [esp + 0x239], al
mov byte [esp + 0x23a], dl
mov byte [esp + 0x23b], cl
mov byte [esp + 0x23c], al
mov byte [esp + 0x23d], dl
mov byte [esp + 0x23e], cl
mov byte [esp + 0x23f], al
mov byte [esp + 0x240], 0
mov ecx, ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xb4]
push eax
push ecx
mov ecx, dword [esp + 0x238]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [ecx + 0x14]
lea eax, [esp + 0x244]
push eax
push edx
call fcn.10104175
add esp, 0x14
test dl, dl
mov ecx, dword [esp + 0x230]
cmp ecx, ebx
mov esi, ecx
je 0x100883fd
call fcn.10006e20
push esi
call fcn.100f3570
add esp, 4
mov ecx, ecx
jmp 0x100881aa
fstp st(0)
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.1010190d
add esp, 0x260
ret