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

Disassembly:
push 0xffffffffffffffff
push 0x10173306
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x101c52b4]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c52b4]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov eax, dword [esp + 0x264]
mov edi, dword [esp + 0x260]
mov ebp, dword [esp + 0x27c]
mov esi, dword [esp + 0x278]
xor ebx, ebx
mov dword [esp + 0x7c], ebx
push ebx
push 0x10178a34
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.1000a180
mov dword [esp + 0x258], 1
xchg ebx, eax
xchg ebx, eax
cmp dword [esp + 0x280], 0x64
ja 0x10080f4c
push 0x14
call fcn.100fce7d
add esp, 4
mov dword [esp + 0x94], eax
mov byte [esp + 0x258], 2
cmp eax, ebx
je 0x10080527
mov ecx, eax
call fcn.10100215
mov ebx, eax
mov dword [esp + 0x80], eax
jmp 0x10080530
xor ebx, ebx
mov dword [esp + 0x80], ebx
mov byte [esp + 0x258], 1
mov ebp, ebp
test ebx, ebx
jne 0x10080588
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], bl
call fcn.10009f70
mov dword [esp + 0x7c], 1
mov byte [esp + 0x258], bl
cmp dword [esp + 0xc0], 0x10
jb 0x10080f97
mov edx, dword [esp + 0xac]
push edx
jmp 0x10080f8f
push 0
push ebx
push 0x10179578
push esi
call fcn.1004f530
add esp, 0x10
mov dword [esp + 0x84], eax
push edx
pop edx
test eax, eax
jne 0x100805e3
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 1
mov ecx, ebx
call edx
push ebx
pop ebx
lea eax, [esp + 0xa8]
push eax
mov ecx, edi
call fcn.1000a250
mov dword [esp + 0x7c], 1
mov byte [esp + 0x258], 0
lea ecx, [esp + 0xa8]
call fcn.100066f0
jmp 0x10080fad
nop
mov ebx, ebx
mov dword [esp + 0x14], 0
mov cl, cl
nop
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x280]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x280]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x280]
push eax
mov eax, dword [esp + 0x280]
push ecx
mov ecx, dword [esp + 0x94]
push edx
push eax
push ecx
call fcn.10048c70
add esp, 0x28
test eax, eax
jne 0x10080658
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 1
mov ecx, ebx
call eax
push edx
pop edx
lea ecx, [esp + 0xa8]
push ecx
jmp 0x100805bb
xor ebx, ebx
mov dword [esp + 0x90], ebx
mov ebx, ebx
push ebx
pop ebx
mov eax, ebp
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10080670
sub eax, edx
cmp eax, 2
jne 0x10080729
mov ebx, 1
mov dword [esp + 0x90], ebx
mov bl, bl
lea edx, [esp + 0x22c]
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 0x100806a0
push edx
pop edx
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100806b2
lea edi, [esp + 0x22c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x100806c7
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]
xchg ebx, eax
xchg ebx, eax
mov eax, ebp
mov ecx, ebp
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100806e6
lea edi, [esp + 0x22c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ecx, [ecx]
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x10080700
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 ch, ch
lea ebp, [esp + 0x22c]
mov dword [esp + 0x98], ebp
mov esi, esi
mov esi, esi
test ebx, ebx
mov edi, dword [esp + 0x2c]
jne 0x1008077e
xor edx, edx
test edi, edi
jle 0x100807e9
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
jle 0x10080775
jmp 0x10080750
mov ecx, edx
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
xchg ebx, eax
xchg ebx, eax
mov byte [ecx + 3], 0
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [esp + 0x28]
add eax, 1
cmp eax, ecx
jl 0x10080750
mov edi, dword [esp + 0x2c]
add edx, 1
cmp edx, edi
jl 0x10080741
jmp 0x100807e9
xor ebx, ebx
test edi, edi
jle 0x100807e9
mov eax, dword [esp + 0x28]
xor esi, esi
test eax, eax
jle 0x100807e2
mov edi, edi
mov edx, ebx
imul edx, dword [esp + 0x18]
add edx, dword [esp + 0x14]
lea ecx, [edx + esi*4]
mov eax, eax
movzx eax, byte [ecx + 2]
mov ecx, ecx
movzx edx, byte [ecx + 1]
mov dl, dl
movzx edi, byte [ecx]
mov bh, bh
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 edi, edi
mov eax, dword [esp + 0x28]
add esi, 1
cmp esi, eax
jl 0x10080790
mov edi, dword [esp + 0x2c]
add ebx, 1
cmp ebx, edi
jl 0x10080788
imul edi, dword [esp + 0x18]
push edi
call fcn.1010df39
mov ebx, eax
add esp, 4
mov dword [esp + 0xa0], ebx
nop
test ebx, ebx
jne 0x10080862
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov bh, bh
mov eax, dword [esp + 0x14]
push eax
call fcn.1010dffc
add esp, 4
mov dword [esp + 0x14], ebx
push ebx
pop ebx
mov esi, dword [esp + 0x9c]
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.1000a250
mov dword [esp + 0x7c], 1
mov byte [esp + 0x258], bl
lea ecx, [esp + 0xa8]
call fcn.100066f0
mov eax, esi
jmp 0x10080faf
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
push ebx
call fcn.101102f0
add esp, 0xc
push ebx
pop ebx
mov ecx, ecx
mov ch, ch
mov esi, esi
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x78]
cmp esi, dword [eax + 0x3264]
jl 0x10080da3
cmp dword [eax + 0x3260], 0
je 0x10080da3
mov ch, ch
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
push ecx
pop ecx
mov cl, cl
mov bh, bh
mov edi, dword [esp + 0x60]
cmp esi, edi
jae 0x100808cb
mov edi, esi
mov dword [esp + 0x70], esi
mov bl, bl
jmp 0x100808d1
mov dword [esp + 0x70], edi
push edx
pop edx
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x3268]
test eax, eax
jle 0x100808eb
cmp edi, eax
jle 0x100808eb
mov edi, eax
mov dword [esp + 0x70], edi
mov cl, cl
cmp edi, 0x40
jl 0x100808fb
mov edi, 0x40
mov dword [esp + 0x70], edi
mov ebx, ebx
mov ch, ch
lea ebx, [edi*4]
push ebx
call fcn.1010df39
mov ebp, eax
add esp, 4
mov dword [esp + 0x88], ebp
mov eax, eax
test ebp, ebp
je 0x10080cfb
mov esi, edi
imul esi, esi, 0x168
push esi
call fcn.1010df39
add esp, 4
mov dword [esp + 0x74], eax
push edx
pop edx
test eax, eax
je 0x10080c89
push ebx
xor ebx, ebx
push ebx
push ebp
call fcn.1010efd0
add esp, 0xc
mov al, al
mov eax, dword [esp + 0x74]
push esi
push ebx
push eax
call fcn.1010efd0
add esp, 0xc
mov al, al
xor ecx, ecx
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x84]
cdq
idiv edi
mov dword [esp + 0x94], eax
mov dh, dh
mov eax, eax
mov edx, dword [esp + 0x78]
mov dword [edx + 0x325c], ebx
push ebx
pop ebx
cmp ebx, edi
jge 0x10080b8f
lea esp, [esp]
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 0x100809c4
mov eax, dword [esp + 0x84]
add eax, 0xffffffff
mov dword [esp + 0x8c], eax
mov cl, cl
mov eax, eax
mov eax, dword [esp + 0x74]
mov edx, ebx
imul edx, edx, 0x168
lea ebp, [edx + eax]
mov edx, dword [esp + 0x78]
mov dword [ebp], edx
mov edi, edi
mov eax, dword [esp + 0x80]
mov dword [ebp + 4], eax
push ecx
pop ecx
mov dword [ebp + 8], ecx
mov esi, esi
mov ecx, dword [esp + 0x8c]
mov dword [ebp + 0xc], ecx
nop
mov dword [ebp + 0x14], 1
xchg ebx, eax
xchg ebx, eax
mov dword [ebp + 0x164], 0
mov edx, edx
mov edx, dword [esp + 0x288]
mov dword [ebp + 0x10], edx
push ecx
pop ecx
mov eax, dword [esp + 0x90]
mov dword [ebp + 0x18], eax
mov dl, dl
lea edi, [ebp + 0x1c]
mov ecx, 0xa
lea esi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ah, ah
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x44], ecx
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x48], edx
mov cl, cl
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x4c], eax
mov cl, cl
mov ecx, dword [esp + 0x2c]
imul ecx, dword [esp + 0x18]
push ecx
call fcn.1010df39
add esp, 4
mov dword [ebp + 0x50], eax
mov edx, edx
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x10080b82
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
call fcn.101102f0
add esp, 0xc
mov dl, dl
mov edx, dword [esp + 0xa0]
mov dword [ebp + 0x54], edx
mov ah, ah
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 0x10080aa8
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esp + 0x280]
mov dword [ebp + 0x15c], edx
mov edi, edi
mov eax, dword [esp + 0x284]
mov dword [ebp + 0x58], eax
mov dl, dl
push 0x1c
call fcn.100fce7d
add esp, 4
mov dword [esp + 0xa4], eax
mov byte [esp + 0x258], 4
test eax, eax
je 0x10080b02
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], 0
mov byte [eax + 4], 0
jmp 0x10080b04
xor eax, eax
mov byte [esp + 0x258], 1
mov dword [ebp + 0x160], eax
mov esi, esi
cmp dword [ebp + 0x160], 0
je 0x10080b7e
call fcn.1002fd50
mov esi, eax
mov eax, eax
mov ch, ch
push 0
push 0
push ebp
push 0x1007e2a0
push 0
push 0
call fcn.1011074f
add esp, 0x18
mov eax, eax
mov edi, dword [esp + 0x88]
mov dword [edi + ebx*4], eax
mov al, al
push esi
call fcn.1002fe10
add esp, 4
mov edi, edi
cmp dword [edi + ebx*4], 0
jne 0x10080b63
mov ch, ch
xor ebx, ebx
mov esi, esi
mov ecx, dword [esp + 0x8c]
add ecx, 1
mov edi, edi
add ebx, 1
cmp ebx, dword [esp + 0x70]
jl 0x10080990
jmp 0x10080b82
xor ebx, ebx
push eax
pop eax
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x88]
cmp ebx, edi
jne 0x10080bf9
push 0xffffffffffffffff
push 1
push ebp
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
push ebx
pop ebx
cmp eax, 0xffffffff
je 0x10080bf9
test edi, edi
jle 0x10080bf9
mov esi, dword [esp + 0x74]
add esi, 0x160
mov ebx, edi
mov ecx, dword [esi]
cmp dword [ecx + 0x14], 0
jbe 0x10080bee
cmp dword [esp + 0xbc], 0
jbe 0x10080bd9
push 0x10179578
lea ecx, [esp + 0xac]
call fcn.1000a480
push ebx
pop ebx
mov eax, dword [esi]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xb4]
call fcn.10009dc0
mov edx, edx
add esi, 0x168
sub ebx, 1
jne 0x10080bb4
xor eax, eax
test edi, edi
jle 0x10080c2c
mov ecx, dword [esp + 0x74]
add ecx, 0x164
lea esp, [esp]
cmp dword [ebp + eax*4], 0
je 0x10080c1f
mov dword [ecx], 1
mov cl, cl
add eax, 1
add ecx, 0x168
cmp eax, edi
jl 0x10080c10
xor esi, esi
test edi, edi
jle 0x10080c89
mov ebx, dword [esp + 0x74]
add ebx, 0x50
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x10080c7c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
xchg ebx, eax
xchg ebx, eax
mov edx, edx
mov edx, dword [ebp + esi*4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xchg ebx, eax
xchg ebx, eax
mov dword [ebp + esi*4], 0
mov ebp, ebp
mov eax, dword [ebx]
test eax, eax
je 0x10080c7c
push eax
call fcn.1010dffc
add esp, 4
mov dword [ebx], 0
mov dl, dl
add esi, 1
add ebx, 0x168
cmp esi, edi
jl 0x10080c39
push ebp
call fcn.1010dffc
add esp, 4
nop
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x10080cfb
test edi, edi
jle 0x10080cf0
add ebx, 0x160
mov ebp, 0xf
lea ebx, [ebx]
mov esi, dword [ebx]
test esi, esi
je 0x10080ce1
cmp dword [esi + 0x18], 0x10
jb 0x10080cc8
mov eax, dword [esi + 4]
push eax
call fcn.100fcea8
add esp, 4
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], 0
push esi
mov byte [esi + 4], 0
call fcn.100fcea8
add esp, 4
xchg ebx, eax
xchg ebx, eax
add ebx, 0x168
sub edi, 1
jne 0x10080cb0
mov ebx, dword [esp + 0x74]
push ebx
call fcn.1010dffc
add esp, 4
mov ah, ah
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1010dffc
add esp, 4
mov ch, ch
mov edx, dword [esp + 0x14]
push edx
call fcn.1010dffc
xor edi, edi
add esp, 4
mov dword [esp + 0x14], edi
mov ecx, ecx
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dh, dh
mov esi, dword [esp + 0x9c]
push 0xffffffffffffffff
push edi
lea eax, [esp + 0xb0]
mov ebx, 0xf
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov byte [esi + 4], 0
call fcn.10009f70
mov dword [esp + 0x7c], 1
mov byte [esp + 0x258], 0
cmp dword [esp + 0xc0], 0x10
jb 0x10080d86
mov ecx, dword [esp + 0xac]
push ecx
call fcn.100fcea8
add esp, 4
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], edi
mov byte [esp + 0xac], 0
mov eax, esi
jmp 0x10080faf
mov ecx, ecx
push 0x168
xor esi, esi
lea eax, [esp + 0xc8]
push esi
push eax
call fcn.1010efd0
add esp, 0xc
mov al, al
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc4], ecx
push ebx
pop ebx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc8], edx
mov ebp, ebp
mov dword [esp + 0xcc], esi
mov dl, dl
mov eax, dword [esp + 0x84]
add eax, 0xffffffff
mov dword [esp + 0xd0], eax
mov ebp, ebp
mov dword [esp + 0xd8], 1
push ebx
pop ebx
mov dword [esp + 0x228], esi
mov ebp, ebp
mov ecx, dword [esp + 0x288]
mov dword [esp + 0xd4], ecx
mov ebx, ebx
mov edx, dword [esp + 0x90]
mov dword [esp + 0xdc], edx
mov ah, ah
mov ecx, 0xa
lea esi, [esp + 0x24]
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
mov edi, edi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x108], eax
mov cl, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10c], ecx
push edx
pop edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x110], edx
mov ebp, ebp
mov eax, dword [esp + 0x14]
mov dword [esp + 0x114], eax
nop
mov dword [esp + 0x118], ebx
push edx
pop edx
mov ecx, dword [esp + 0x284]
mov dword [esp + 0x11c], ecx
mov esi, esi
lea edx, [esp + 0x120]
mov eax, ebp
sub edx, ebp
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10080ea0
push eax
pop eax
mov edx, dword [esp + 0x280]
mov dword [esp + 0x220], edx
mov bl, bl
push 0x1c
call fcn.100fce7d
add esp, 4
mov dword [esp + 0xa4], eax
mov byte [esp + 0x258], 3
test eax, eax
je 0x10080eef
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], 0
mov byte [eax + 4], 0
jmp 0x10080ef1
xor eax, eax
mov byte [esp + 0x258], 1
mov dword [esp + 0x224], eax
xchg ebx, eax
xchg ebx, eax
lea eax, [esp + 0xc4]
push eax
call fcn.1007d270
add esp, 4
mov ebp, ebp
mov ecx, dword [esp + 0x224]
cmp dword [ecx + 0x14], 0
jbe 0x10080f3a
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esp + 0xb4]
call fcn.10009f70
nop
mov ecx, dword [esp + 0x224]
test ecx, ecx
je 0x10080f45
push 1
call fcn.1003e5c0
push edx
pop edx
jmp 0x10080cfb
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.10009f70
mov dword [esp + 0x7c], 1
mov byte [esp + 0x258], 0
cmp dword [esp + 0xc0], 0x10
jb 0x10080f97
mov eax, dword [esp + 0xac]
push eax
call fcn.100fcea8
add esp, 4
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], 0
mov eax, edi
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.1010e4d7
add esp, 0x248
ret