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

Disassembly:
push 0xffffffffffffffff
push 0x1015b196
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov eax, dword [esp + 0x264]
mov ebx, dword [esp + 0x260]
mov ebp, dword [esp + 0x27c]
mov esi, dword [esp + 0x278]
lea ecx, [esp + 0x1b]
push ecx
push 0x10160a44
lea ecx, [esp + 0xb4]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x1c], 0
call fcn.10009b00
mov edi, 1
mov dword [esp + 0x258], edi
cmp dword [esp + 0x280], 0x64
ja 0x10075085
push 0x14
call fcn.100e4ac0
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0x258], 2
test eax, eax
je 0x10074804
mov ecx, eax
call fcn.100e7e56
mov edi, eax
mov dword [esp + 0x30], eax
jmp 0x1007480a
xor edi, edi
mov dword [esp + 0x30], edi
mov byte [esp + 0x258], 1
test edi, edi
jne 0x10074832
lea edx, [esp + 0xac]
push edx
mov ecx, ebx
call fcn.10009b80
mov dword [esp + 0x14], 1
jmp 0x10075098
push 0
push edi
push 0x101615a8
push esi
call fcn.10048510
add esp, 0x10
test eax, eax
mov dword [esp + 0x38], eax
jne 0x10074872
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
lea eax, [esp + 0xac]
push eax
mov ecx, ebx
call fcn.10009b80
mov dword [esp + 0x14], 1
jmp 0x10075098
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x280]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x280]
lea edx, [esp + 0x70]
push edx
mov edx, dword [esp + 0x280]
push eax
mov eax, dword [esp + 0x280]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
xor esi, esi
push ecx
mov dword [esp + 0x44], esi
call fcn.10041d70
add esp, 0x28
test eax, eax
jne 0x100748e9
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, ebx
call fcn.10009b80
mov dword [esp + 0x14], 1
jmp 0x10075098
mov eax, ebp
mov dword [esp + 0x3c], esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100748f2
sub eax, edx
cmp eax, 2
jne 0x10074a7e
lea edx, [esp + 0x22c]
mov dword [esp + 0x3c], 1
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 0x10074920
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074930
lea edi, [esp + 0x22c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074945
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10074963
lea edi, [esp + 0x22c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10074980
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 edi, dword [esp + 0x68]
lea ebp, [esp + 0x22c]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x58], ebp
jle 0x10074a0f
mov eax, dword [esp + 0x64]
xor esi, esi
test eax, eax
jle 0x10074a08
jmp 0x100749c0
mov edx, ebx
imul edx, dword [esp + 0x20]
add edx, dword [esp + 0x1c]
movzx edi, byte [edx + esi*4]
movzx eax, byte [edx + esi*4 + 2]
lea ecx, [edx + esi*4]
movzx edx, byte [ecx + 1]
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
mov eax, dword [esp + 0x64]
add esi, 1
cmp esi, eax
jl 0x100749c0
mov edi, dword [esp + 0x68]
add ebx, 1
cmp ebx, edi
jl 0x100749b1
imul edi, dword [esp + 0x20]
push edi
call fcn.100f5b7c
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x48], ebx
jne 0x10074ace
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov eax, dword [esp + 0x1c]
push eax
call fcn.100f5c3f
mov esi, dword [esp + 0x54]
add esp, 4
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
mov dword [esp + 0x20], ebx
call fcn.10009b80
mov dword [esp + 0x14], 1
mov byte [esp + 0x258], bl
lea ecx, [esp + 0xac]
call fcn.10006310
mov eax, esi
jmp 0x100750ae
mov edi, dword [esp + 0x68]
xor edx, edx
cmp edi, esi
jle 0x10074a0f
mov ecx, dword [esp + 0x64]
lea esp, [esp]
xor eax, eax
test ecx, ecx
jle 0x10074ac2
jmp 0x10074aa0
mov ecx, edx
imul ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x1c]
mov byte [ecx + eax*4 + 3], 0
lea ecx, [ecx + eax*4]
mov ecx, dword [esp + 0x64]
add eax, 1
cmp eax, ecx
jl 0x10074aa0
mov edi, dword [esp + 0x68]
add edx, 1
cmp edx, edi
jl 0x10074a90
jmp 0x10074a0f
mov edx, dword [esp + 0x68]
imul edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
push ebx
call fcn.100f7fd0
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp esi, dword [eax + 0x326c]
jl 0x10074f01
cmp dword [eax + 0x3268], 0
je 0x10074f01
lea ecx, [esp + 0x88]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov edi, dword [esp + 0x9c]
cmp esi, edi
jae 0x10074b28
mov edi, esi
mov dword [esp + 0x24], esi
jmp 0x10074b2c
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x3270]
test eax, eax
jle 0x10074b44
cmp edi, eax
jle 0x10074b44
mov edi, eax
mov dword [esp + 0x24], edi
cmp edi, 0x40
jl 0x10074b52
mov edi, 0x40
mov dword [esp + 0x24], edi
lea ebx, [edi*4]
push ebx
call fcn.100f5b7c
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x34], ebp
je 0x10074ea2
mov esi, edi
imul esi, esi, 0x168
push esi
call fcn.100f5b7c
add esp, 4
test eax, eax
mov dword [esp + 0x28], eax
je 0x10074e5d
push ebx
xor ebx, ebx
push ebx
push ebp
call fcn.100f6b80
mov eax, dword [esp + 0x34]
push esi
push ebx
push eax
call fcn.100f6b80
mov eax, dword [esp + 0x50]
cdq
idiv edi
mov edx, dword [esp + 0x44]
add esp, 0x18
xor ecx, ecx
cmp ebx, edi
mov dword [edx + 0x3264], ebx
mov dword [esp + 0x44], eax
jge 0x10074d69
jmp 0x10074bd0
mov eax, dword [esp + 0x44]
lea edx, [eax + ecx - 1]
mov eax, dword [esp + 0x24]
add eax, 0xffffffff
cmp ebx, eax
mov dword [esp + 0x40], edx
jne 0x10074bf2
mov eax, dword [esp + 0x38]
add eax, 0xffffffff
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
mov edx, ebx
imul edx, edx, 0x168
lea ebp, [edx + eax]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [ebp], edx
mov edx, dword [esp + 0x288]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], 1
mov dword [ebp + 0x164], 0
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x18], eax
lea edi, [ebp + 0x1c]
mov ecx, 0xa
lea esi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x44], ecx
mov edx, dword [esp + 0x4c]
mov dword [ebp + 0x48], edx
mov eax, dword [esp + 0x54]
mov dword [ebp + 0x4c], eax
mov ecx, dword [esp + 0x68]
imul ecx, dword [esp + 0x20]
push ecx
call fcn.100f5b7c
add esp, 4
test eax, eax
mov dword [ebp + 0x50], eax
je 0x10074d5f
mov edx, dword [esp + 0x68]
imul edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push eax
call fcn.100f7fd0
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x64]
mov ecx, ebp
add esp, 0xc
sub ecx, eax
mov dword [ebp + 0x54], edx
lea edx, [ecx + 0x5c]
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x10074ca5
mov edx, dword [esp + 0x280]
mov eax, dword [esp + 0x284]
push 0x18
mov dword [ebp + 0x15c], edx
mov dword [ebp + 0x58], eax
call fcn.100e4ac0
add esp, 4
mov dword [esp + 0x5c], eax
mov byte [esp + 0x258], 4
test eax, eax
je 0x10074cf5
or dword [esp + 0x14], 4
lea ecx, [esp + 0x1b]
push ecx
mov ecx, eax
call fcn.10009d00
jmp 0x10074cf7
xor eax, eax
mov byte [esp + 0x258], 1
test byte [esp + 0x14], 4
mov dword [ebp + 0x160], eax
je 0x10074d11
and dword [esp + 0x14], 0xfffffffb
test eax, eax
je 0x10074d5d
call fcn.1002c030
push 0
push 0
push ebp
push 0x100729f0
push 0
push 0
mov esi, eax
call fcn.100f85a7
mov edi, dword [esp + 0x4c]
push esi
mov dword [edi + ebx*4], eax
call fcn.1002c0d0
add esp, 0x1c
cmp dword [edi + ebx*4], 0
jne 0x10074d47
xor ebx, ebx
mov ecx, dword [esp + 0x40]
add ebx, 1
add ecx, 1
cmp ebx, dword [esp + 0x24]
jl 0x10074bd0
jmp 0x10074d5f
xor ebx, ebx
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
cmp ebx, edi
jne 0x10074ddc
push 0xffffffffffffffff
push 1
push ebp
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x10074ddc
test edi, edi
jle 0x10074ddc
mov esi, dword [esp + 0x28]
add esi, 0x160
mov ebx, edi
lea esp, [esp]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x10074dd1
mov edx, dword [esp + 0xbc]
sub edx, dword [esp + 0xc0]
je 0x10074dbb
push 0x101615a8
lea ecx, [esp + 0xb0]
call fcn.10009d60
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
lea ecx, [esp + 0xb4]
call fcn.10009bf0
add esi, 0x168
sub ebx, 1
jne 0x10074d90
xor eax, eax
test edi, edi
jle 0x10074e0a
mov ecx, dword [esp + 0x28]
add ecx, 0x164
lea esp, [esp]
cmp dword [ebp + eax*4], 0
je 0x10074dfd
mov dword [ecx], 1
add eax, 1
add ecx, 0x168
cmp eax, edi
jl 0x10074df0
xor esi, esi
test edi, edi
jle 0x10074e5d
mov ebx, dword [esp + 0x28]
add ebx, 0x50
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x10074e50
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [ebp + esi*4]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp + esi*4], 0
mov eax, dword [ebx]
test eax, eax
je 0x10074e50
push eax
call fcn.100f5c3f
add esp, 4
mov dword [ebx], 0
add esi, 1
add ebx, 0x168
cmp esi, edi
jl 0x10074e17
push ebp
call fcn.100f5c3f
mov ebp, dword [esp + 0x2c]
add esp, 4
test ebp, ebp
je 0x10074ea2
test edi, edi
jle 0x10074e99
lea esi, [ebp + 0x160]
mov ebx, dword [esi]
test ebx, ebx
je 0x10074e8e
mov ecx, ebx
call fcn.10006310
push ebx
call fcn.100e4aeb
add esp, 4
add esi, 0x168
sub edi, 1
jne 0x10074e78
push ebp
call fcn.100f5c3f
add esp, 4
mov edx, dword [esp + 0x48]
push edx
call fcn.100f5c3f
mov eax, dword [esp + 0x20]
push eax
call fcn.100f5c3f
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], 0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esp, 8
push 1
call eax
mov esi, dword [esp + 0x50]
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.10009b80
or dword [esp + 0x14], 1
mov byte [esp + 0x258], 0
lea ecx, [esp + 0xac]
call fcn.10006310
mov eax, esi
jmp 0x100750ae
push 0x168
xor esi, esi
lea ecx, [esp + 0xc8]
push esi
push ecx
call fcn.100f6b80
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0x294]
add ecx, 0xffffffff
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xd8], esi
mov dword [esp + 0x234], esi
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x60]
mov ecx, 0xa
lea esi, [esp + 0x6c]
lea edi, [esp + 0xec]
mov dword [esp + 0xe4], 1
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x118], edx
mov edx, dword [esp + 0x290]
mov dword [esp + 0x128], edx
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x12c]
add esp, 0xc
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], ebx
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 0x10074fd0
mov eax, dword [esp + 0x280]
push 0x18
mov dword [esp + 0x224], eax
call fcn.100e4ac0
add esp, 4
mov dword [esp + 0x5c], eax
mov byte [esp + 0x258], 3
test eax, eax
je 0x1007501f
mov ecx, 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x1b]
push ecx
mov ecx, eax
call fcn.10009d00
jmp 0x10075021
xor eax, eax
mov byte [esp + 0x258], 1
test byte [esp + 0x14], 2
mov dword [esp + 0x224], eax
je 0x1007503c
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0xc4]
call fcn.10071ad0
mov ecx, dword [esp + 0x224]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x1007506b
push ecx
lea ecx, [esp + 0xb0]
call fcn.1001d090
mov ecx, dword [esp + 0x224]
test ecx, ecx
mov esi, ecx
je 0x10074ea2
call fcn.10006310
push esi
call fcn.100e4aeb
jmp 0x10074e9f
lea edx, [esp + 0xac]
push edx
mov ecx, ebx
call fcn.10009b80
mov dword [esp + 0x14], edi
mov byte [esp + 0x258], 0
lea ecx, [esp + 0xac]
call fcn.10006310
mov eax, ebx
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.100f611a
add esp, 0x248
ret