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

Disassembly:
push 0xffffffffffffffff
push 0x1017b959
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2f4]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x270]
mov ebx, dword [esp + 0x288]
mov eax, dword [esp + 0x294]
mov ecx, dword [esp + 0x298]
mov esi, dword [esp + 0x284]
xor edi, edi
mov dword [esp + 0x90], ebp
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x18], 0xffffffff
mov ch, ch
mov dword [ecx], 0xffffffff
mov dword [eax], 0xffffffff
mov ch, ch
cmp dword [esp + 0x28c], 0x64
ja 0x1008f613
push 0x14
call fcn.10105b20
add esp, 4
mov dword [esp + 0xac], eax
mov dword [esp + 0x268], edi
cmp eax, edi
je 0x1008edd4
mov ecx, eax
call fcn.10108ebb
mov edi, eax
mov dword [esp + 0x88], eax
jmp 0x1008eddb
mov dword [esp + 0x88], edi
mov dword [esp + 0x268], 0xffffffff
mov al, al
test edi, edi
je 0x1008f613
push 0
push edi
push 0x10182548
push esi
call fcn.10060340
add esp, 0x10
mov dword [esp + 0x8c], eax
test ch, ch
test eax, eax
jne 0x1008ee20
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov dl, dl
jmp 0x1008f613
mov ah, ah
test edi, edi
mov dword [esp + 0x14], 0
nop
test dl, dl
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
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 ebp
call fcn.10059310
add esp, 0x28
test eax, eax
jne 0x1008ee87
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
test dl, dl
jmp 0x1008f613
xor ebp, ebp
mov dword [esp + 0x9c], ebp
test dl, dl
test dl, dl
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008eea0
sub eax, edx
cmp eax, 2
jne 0x1008ef59
mov ebp, 1
mov dword [esp + 0x9c], ebp
test al, al
lea edx, [esp + 0x23c]
mov eax, ebx
sub edx, ebx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1008eed0
push eax
pop eax
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008eee2
lea edi, [esp + 0x23c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebp
test cl, cl
jne 0x1008eef7
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]
push ecx
pop ecx
mov eax, ebx
mov ecx, ebx
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1008ef16
lea edi, [esp + 0x23c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ecx, [ecx]
mov cl, byte [edi + 1]
add edi, ebp
test cl, cl
jne 0x1008ef30
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 esi, esi
lea ebx, [esp + 0x23c]
mov dword [esp + 0xa4], ebx
mov ah, ah
mov al, al
test ebp, ebp
jne 0x1008efb2
xor edx, edx
cmp dword [esp + 0x30], edx
jle 0x1008f02a
mov ecx, dword [esp + 0x2c]
nop
xor eax, eax
test ecx, ecx
jle 0x1008efa4
jmp 0x1008ef80
mov ecx, edx
imul ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
mov ebp, ebp
mov byte [ecx + 3], 0
test eax, 0x2625
mov ecx, dword [esp + 0x2c]
add eax, 1
cmp eax, ecx
jl 0x1008ef80
add edx, 1
cmp edx, dword [esp + 0x30]
jl 0x1008ef70
jmp 0x1008f02a
xor ebp, ebp
cmp dword [esp + 0x30], ebp
jle 0x1008f02a
mov eax, dword [esp + 0x2c]
mov edi, edi
xor esi, esi
test eax, eax
jle 0x1008f021
jmp 0x1008efd0
mov edx, ebp
imul edx, dword [esp + 0x1c]
add edx, dword [esp + 0x14]
lea ecx, [edx + esi*4]
mov esi, esi
movzx eax, byte [ecx + 2]
mov al, al
movzx edx, byte [ecx + 1]
test al, al
movzx edi, byte [ecx]
test dl, dl
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
test eax, 0x51b
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
mov edi, edi
mov eax, dword [esp + 0x2c]
add esi, 1
cmp esi, eax
jl 0x1008efd0
add ebp, 1
cmp ebp, dword [esp + 0x30]
jl 0x1008efc0
push ecx
pop ecx
test bl, bl
mov dword [esp + 0x80], 0
test eax, 0x6d90
test esi, esi
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
cmp esi, dword [edi + 0x3264]
jl 0x1008f63f
cmp dword [edi + 0x3260], 0
je 0x1008f63f
push edx
pop edx
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ah, ah
mov ebx, ebx
mov ch, ch
mov ecx, dword [esp + 0x64]
cmp esi, ecx
jae 0x1008f08c
mov ecx, esi
mov dword [esp + 0x74], esi
test ebx, ebx
jmp 0x1008f092
mov dword [esp + 0x74], ecx
mov esi, esi
mov eax, dword [edi + 0x3268]
test eax, eax
jle 0x1008f0a8
cmp ecx, eax
jle 0x1008f0a8
mov ecx, eax
mov dword [esp + 0x74], ecx
mov ch, ch
cmp ecx, 0x40
jl 0x1008f0b7
mov dword [esp + 0x74], 0x40
push edx
pop edx
mov edi, dword [esp + 0x74]
mov dword [esp + 0xac], edi
push ecx
pop ecx
lea esi, [edi*4]
push esi
call fcn.10116bdc
mov ebx, eax
add esp, 4
mov dword [esp + 0x94], ebx
push edx
pop edx
test ebx, ebx
je 0x1008f5ea
mov ebp, edi
imul ebp, ebp, 0x168
push ebp
call fcn.10116bdc
add esp, 4
mov dword [esp + 0xa0], eax
test eax, 0x333e
test eax, eax
je 0x1008f574
push esi
call fcn.10116bdc
add esp, 4
mov dword [esp + 0x80], eax
test esi, esi
test eax, eax
je 0x1008f574
push esi
push 0
push ebx
call fcn.101182b0
add esp, 0xc
mov al, al
mov ecx, dword [esp + 0xa0]
push ebp
xor ebp, ebp
push ebp
push ecx
call fcn.101182b0
add esp, 0xc
test eax, 0x1cca
mov edx, dword [esp + 0x80]
push esi
push ebp
push edx
call fcn.101182b0
add esp, 0xc
push edx
pop edx
xor ecx, ecx
nop
mov eax, dword [esp + 0x8c]
cdq
idiv edi
mov dword [esp + 0xc0], eax
test eax, eax
test cl, cl
mov eax, dword [esp + 0x90]
mov dword [eax + 0x325c], ebp
mov edx, edx
cmp edi, ebp
mov dword [esp + 0x78], ebp
jle 0x1008f3d1
mov ebp, dword [esp + 0xa0]
mov eax, 0x58
sub eax, dword [esp + 0xa4]
add ebp, 4
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x80]
sub eax, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x98], eax
test eax, 0x325a
mov edx, dword [esp + 0xc0]
lea eax, [edx + ecx - 1]
mov dword [esp + 0xa8], eax
test cl, cl
mov eax, dword [esp + 0x74]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jne 0x1008f201
mov edx, dword [esp + 0x8c]
add edx, 0xffffffff
mov dword [esp + 0xa8], edx
test eax, eax
mov ebp, ebp
mov eax, dword [esp + 0x90]
lea ebx, [ebp - 4]
mov dword [ebx], eax
mov bl, bl
mov edx, dword [esp + 0x88]
mov dword [ebp], edx
test al, al
mov dword [ebp + 4], ecx
test bl, bl
mov eax, dword [esp + 0xa8]
mov dword [ebp + 8], eax
mov ecx, ecx
xor eax, eax
mov dword [ebp + 0x10], eax
test ebx, ebx
mov dword [ebp + 0x160], eax
test dh, dh
mov ecx, dword [esp + 0x29c]
mov dword [ebp + 0xc], ecx
mov ebp, ebp
mov edx, dword [esp + 0x9c]
mov dword [ebp + 0x14], edx
test bh, bh
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 cl, cl
mov ecx, dword [esp + 0x24]
mov dword [ebp + 0x44], ecx
test dl, dl
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x48], edx
test ebx, ebx
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x4c], eax
mov dl, dl
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xa4]
lea edx, [ecx + ebp]
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1008f2a0
push edx
pop edx
mov edx, dword [esp + 0x28c]
mov dword [ebp + 0x158], edx
test dl, dl
mov eax, dword [esp + 0x290]
mov dword [ebp + 0x54], eax
mov al, al
push 0x18
call fcn.10105b20
add esp, 4
mov dword [esp + 0xbc], eax
mov ecx, 2
mov dword [esp + 0x268], ecx
test eax, eax
je 0x1008f2ff
or dword [esp + 0x7c], ecx
lea ecx, [esp + 0x87]
push ecx
mov ecx, eax
call fcn.10011360
jmp 0x1008f301
xor eax, eax
mov dword [esp + 0x268], 0xffffffff
test byte [esp + 0x7c], 2
mov dword [ebp + 0x15c], eax
je 0x1008f31e
and dword [esp + 0x7c], 0xfffffffd
push edx
pop edx
cmp dword [ebp + 0x15c], 0
je 0x1008f3b0
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0xb8]
mov dword [edx + esi], ebx
push ecx
pop ecx
call fcn.10041000
mov edi, eax
mov esi, esi
mov esi, esi
push 0
push 0
push ebx
push 0x1008e140
push 0
push 0
call fcn.1011990f
add esp, 0x18
test eax, 0x3ab5
mov dword [esi], eax
test eax, eax
push edi
call fcn.100410c0
add esp, 4
test eax, 0x69c6
cmp dword [esi], 0
je 0x1008f3bc
mov ecx, dword [esp + 0xa8]
add ecx, 1
mov cl, cl
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 + 0xb8], esi
jl 0x1008f1c8
jmp 0x1008f3c6
mov dword [esp + 0x78], 0
test dh, dh
jmp 0x1008f3c6
mov dword [esp + 0x78], 0
mov ch, ch
mov ebx, dword [esp + 0x94]
mov edi, dword [esp + 0x74]
cmp dword [esp + 0x78], edi
jne 0x1008f50e
test esi, esi
add edi, 0xffffffff
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x74]
push 0xffffffffffffffff
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov ebp, eax
test esi, esi
cmp ebp, 0xffffffff
je 0x1008f50e
test bh, bh
test edx, edx
mov edx, dword [esp + 0x80]
lea eax, [edx + ebp*4]
mov dword [esp + 0x98], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x160]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0x14]
jne 0x1008f48c
mov edx, dword [ebx + ebp*4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test ch, ch
mov dword [ebx + ebp*4], 0
test cl, cl
mov edx, dword [esp + 0x78]
cmp ebp, edx
mov eax, ebp
jge 0x1008f467
mov edi, dword [esp + 0x98]
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
test ah, ah
test edi, edi
add eax, 1
cmp eax, edx
jl 0x1008f455
mov eax, dword [esp + 0x74]
sub eax, 1
sub edx, 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
test edx, edx
test eax, eax
jne 0x1008f3e4
test dl, dl
mov edi, eax
jmp 0x1008f50e
mov al, 0x25
mov cl, 0x7c
mov byte [esp + 0x230], al
mov byte [esp + 0x231], 0x64
mov byte [esp + 0x232], cl
mov byte [esp + 0x233], al
mov byte [esp + 0x234], 0x64
mov byte [esp + 0x235], cl
mov byte [esp + 0x236], al
mov byte [esp + 0x237], 0x64
mov byte [esp + 0x238], 0
test eax, 0x3f57
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [edx + ebp*4]
push eax
push ecx
lea eax, [esp + 0x20]
push eax
mov eax, dword [edx + 0x160]
lea ecx, [esp + 0x23c]
push ecx
mov ecx, dword [eax + 0x14]
push ecx
call fcn.10119a25
add esp, 0x14
test edi, edi
push ecx
pop ecx
test edi, edi
jle 0x1008f53c
mov eax, dword [esp + 0x80]
mov ecx, ebx
sub ecx, eax
mov edx, edi
nop
cmp dword [ecx + eax], 0
je 0x1008f534
mov esi, dword [eax]
mov dword [esi + 0x164], 1
mov ch, ch
add eax, 4
sub edx, 1
jne 0x1008f520
xor esi, esi
test edi, edi
jle 0x1008f574
mov ebp, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x1008f56d
push 0xffffffffffffffff
push eax
call ebp
test ah, ah
test dh, dh
mov edx, dword [ebx + esi*4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test edx, edx
mov dword [ebx + esi*4], 0
test ch, ch
add esi, 1
cmp esi, edi
jl 0x1008f548
push ebx
call fcn.10116c9f
add esp, 4
test eax, 0x14b2
mov ebp, dword [esp + 0xa0]
test ebp, ebp
je 0x1008f5ce
mov ebx, dword [esp + 0xac]
test ebx, ebx
jle 0x1008f5c3
lea esi, [ebp + 0x160]
mov edi, edi
mov edi, dword [esi]
test edi, edi
je 0x1008f5b8
mov ecx, edi
call fcn.10006e20
push edi
call fcn.10105b4b
add esp, 4
test edi, edi
add esi, 0x168
sub ebx, 1
jne 0x1008f5a0
push ebp
call fcn.10116c9f
add esp, 4
test edx, edx
cmp dword [esp + 0x80], 0
je 0x1008f5ea
mov eax, dword [esp + 0x80]
push eax
call fcn.10116c9f
add esp, 4
mov edx, edx
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10116c9f
add esp, 4
mov dword [esp + 0x14], 0
mov dl, dl
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov al, al
mov eax, dword [esp + 0x18]
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.1011717a
add esp, 0x258
ret
mov dh, dh
push 0x168
xor ebp, ebp
lea eax, [esp + 0xcc]
push ebp
push eax
call fcn.101182b0
add esp, 0xc
mov ebx, ebx
mov ecx, edi
mov dword [esp + 0xc8], ecx
push edx
pop edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0xcc], edx
test dl, dl
mov dword [esp + 0xd0], ebp
test eax, eax
mov eax, dword [esp + 0x8c]
add eax, 0xffffffff
mov dword [esp + 0xd4], eax
test bh, bh
mov dword [esp + 0xdc], ebp
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [esp + 0x29c]
mov dword [esp + 0xd8], ecx
mov eax, eax
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xe0], edx
test dh, dh
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
test edx, edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10c], eax
test edx, edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x110], ecx
mov esi, esi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x114], edx
mov ch, ch
mov eax, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov ecx, ecx
mov dword [esp + 0x22c], ebp
mov bl, bl
lea edx, [esp + 0x124]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1008f717
test ebx, ebx
mov ecx, dword [esp + 0x28c]
mov dword [esp + 0x224], ecx
mov bh, bh
mov edx, dword [esp + 0x290]
mov dword [esp + 0x120], edx
mov edx, edx
push 0x18
call fcn.10105b20
add esp, 4
mov dword [esp + 0xbc], eax
mov dword [esp + 0x268], 1
cmp eax, ebp
je 0x1008f785
mov ecx, 1
mov dword [esp + 0x7c], ecx
or ecx, ebp
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x87]
push ecx
mov ecx, eax
call fcn.10011360
jmp 0x1008f787
xor eax, eax
mov dword [esp + 0x268], 0xffffffff
test byte [esp + 0x7c], 1
mov dword [esp + 0x228], eax
je 0x1008f7a5
and dword [esp + 0x7c], 0xfffffffe
test ah, ah
lea ecx, [esp + 0xc8]
call fcn.1007d670
mov esi, esi
mov ecx, dword [esp + 0x228]
mov edx, dword [ecx + 0x10]
sub edx, dword [ecx + 0x14]
je 0x1008f84a
mov al, 0x25
mov cl, 0x7c
mov byte [esp + 0x230], al
mov byte [esp + 0x231], 0x64
mov byte [esp + 0x232], cl
mov byte [esp + 0x233], al
mov byte [esp + 0x234], 0x64
mov byte [esp + 0x235], cl
mov byte [esp + 0x236], al
mov byte [esp + 0x237], 0x64
mov byte [esp + 0x238], 0
mov dh, dh
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
push eax
push ecx
mov ecx, dword [esp + 0x230]
lea edx, [esp + 0x20]
push edx
mov edx, dword [ecx + 0x14]
lea eax, [esp + 0x23c]
push eax
push edx
call fcn.10119a25
add esp, 0x14
mov bh, bh
mov ecx, dword [esp + 0x228]
cmp ecx, ebp
mov esi, ecx
je 0x1008f85e
call fcn.10006e20
push esi
call fcn.10105b4b
add esp, 4
mov ebp, ebp
jmp 0x1008f5ea