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

Disassembly:
push 0xffffffffffffffff
push 0x10153409
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x101a42b4]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101a42b4]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x268]
mov ebp, dword [esp + 0x280]
mov eax, dword [esp + 0x28c]
mov ecx, dword [esp + 0x290]
mov esi, dword [esp + 0x27c]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xac], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x14], 0xffffffff
mov dh, dh
mov dword [ecx], 0xffffffff
mov dword [eax], 0xffffffff
mov cl, cl
cmp dword [esp + 0x284], 0x64
ja 0x100723a5
push 0x14
call fcn.100e2d7d
add esp, 4
mov dword [esp + 0xa4], eax
xor edi, edi
mov dword [esp + 0x260], edi
cmp eax, edi
je 0x10071b80
mov ecx, eax
call fcn.100e610c
mov edi, eax
mov dword [esp + 0x84], eax
jmp 0x10071b87
mov dword [esp + 0x84], edi
mov dword [esp + 0x260], 0xffffffff
mov bl, bl
test edi, edi
je 0x100723a5
push 0
push edi
push 0x101593b0
push esi
call fcn.100436a0
add esp, 0x10
mov dword [esp + 0x88], eax
mov bh, bh
test eax, eax
jne 0x10071bcc
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
test ah, ah
jmp 0x100723a5
mov eax, eax
test ah, ah
mov dword [esp + 0x18], 0
test eax, 0x55d6
push ebx
pop ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x284]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x284]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x284]
push edx
mov edx, dword [esp + 0x284]
push eax
push ecx
push edx
push ebx
call fcn.1003cc50
add esp, 0x28
test eax, eax
jne 0x10071c37
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov al, al
jmp 0x100723a5
xor ebx, ebx
mov dword [esp + 0x8c], ebx
test ebx, ebx
mov al, al
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10071c50
sub eax, edx
cmp eax, 2
jne 0x10071d09
mov ebx, 1
mov dword [esp + 0x8c], ebx
push ecx
pop ecx
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 0x10071c80
mov dh, dh
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10071c92
lea edi, [esp + 0x234]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x10071ca7
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 ch, ch
mov eax, ebp
mov ecx, ebp
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10071cc6
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 0x10071ce0
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 ah, ah
lea ebp, [esp + 0x234]
mov dword [esp + 0x9c], ebp
mov cl, cl
mov ebp, ebp
test ebx, ebx
jne 0x10071d5c
xor edx, edx
cmp dword [esp + 0x30], edx
jle 0x10071dd0
mov ecx, dword [esp + 0x2c]
nop
xor eax, eax
test ecx, ecx
jle 0x10071d51
jmp 0x10071d30
mov ecx, edx
imul ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
push edx
pop edx
mov byte [ecx + 3], 0
push ecx
pop ecx
mov ecx, dword [esp + 0x2c]
add eax, 1
cmp eax, ecx
jl 0x10071d30
add edx, 1
cmp edx, dword [esp + 0x30]
jl 0x10071d20
jmp 0x10071dd0
xor ebx, ebx
cmp dword [esp + 0x30], ebx
jle 0x10071dd0
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x10071dc7
mov edi, edi
mov edx, ebx
imul edx, dword [esp + 0x1c]
add edx, dword [esp + 0x18]
lea ecx, [edx + esi*4]
test dh, dh
movzx eax, byte [ecx + 2]
test eax, 0x670
movzx edx, byte [ecx + 1]
test cl, cl
movzx edi, byte [ecx]
test eax, 0xeef
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
push ecx
pop ecx
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
test eax, 0x603f
mov eax, dword [esp + 0x2c]
add esi, 1
cmp esi, eax
jl 0x10071d70
add ebx, 1
cmp ebx, dword [esp + 0x30]
jl 0x10071d68
mov eax, eax
mov bh, bh
mov dword [esp + 0x7c], 0
test eax, 0x3d41
mov eax, eax
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x80]
cmp edi, dword [ebx + 0x3264]
jl 0x100723d1
cmp dword [ebx + 0x3260], 0
je 0x100723d1
test ebx, ebx
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov dl, dl
test eax, 0x57bd
push edx
pop edx
mov esi, dword [esp + 0x64]
cmp edi, esi
jae 0x10071e31
mov esi, edi
mov dword [esp + 0x74], edi
nop
jmp 0x10071e37
mov dword [esp + 0x74], esi
push edx
pop edx
mov eax, dword [ebx + 0x3268]
test eax, eax
jle 0x10071e4d
cmp esi, eax
jle 0x10071e4d
mov esi, eax
mov dword [esp + 0x74], esi
test edi, edi
cmp esi, 0x40
jl 0x10071e5d
mov esi, 0x40
mov dword [esp + 0x74], esi
mov eax, eax
mov dword [esp + 0xa4], esi
mov ebp, ebp
lea ebp, [esi*4]
push ebp
call fcn.100f3e38
mov ebx, eax
add esp, 4
mov dword [esp + 0x94], ebx
test eax, 0x6c7f
test ebx, ebx
je 0x10072379
mov edi, esi
imul edi, edi, 0x168
push edi
call fcn.100f3e38
add esp, 4
mov dword [esp + 0x90], eax
mov ebp, ebp
test eax, eax
je 0x100722f1
push ebp
call fcn.100f3e38
add esp, 4
mov dword [esp + 0x7c], eax
test dl, dl
test eax, eax
je 0x100722f1
push ebp
push 0
push ebx
call fcn.100f4ed0
add esp, 0xc
push edx
pop edx
mov ecx, dword [esp + 0x90]
push edi
xor edi, edi
push edi
push ecx
call fcn.100f4ed0
add esp, 0xc
test ah, ah
mov edx, dword [esp + 0x7c]
push ebp
push edi
push edx
call fcn.100f4ed0
add esp, 0xc
mov ebx, ebx
xor ecx, ecx
test ch, ch
mov eax, dword [esp + 0x88]
cdq
idiv esi
mov dword [esp + 0xbc], eax
test eax, eax
push edx
pop edx
mov eax, dword [esp + 0x80]
mov dword [eax + 0x325c], edi
mov ah, ah
cmp esi, edi
mov dword [esp + 0x78], edi
jle 0x10072146
mov ebp, dword [esp + 0x90]
mov eax, 0x58
sub eax, dword [esp + 0x9c]
add ebp, 4
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x7c]
sub eax, ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb0], eax
nop
mov ah, ah
mov edx, dword [esp + 0xbc]
lea eax, [edx + ecx - 1]
mov dword [esp + 0x98], eax
test eax, eax
mov eax, dword [esp + 0x74]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jne 0x10071f96
mov edx, dword [esp + 0x88]
add edx, 0xffffffff
mov dword [esp + 0x98], edx
push ebx
pop ebx
mov esi, esi
mov eax, dword [esp + 0x80]
lea ebx, [ebp - 4]
mov dword [ebx], eax
mov edx, edx
mov edx, dword [esp + 0x84]
mov dword [ebp], edx
test eax, 0x65e0
mov dword [ebp + 4], ecx
mov ecx, ecx
mov eax, dword [esp + 0x98]
mov dword [ebp + 8], eax
mov edi, edi
xor eax, eax
mov dword [ebp + 0x10], eax
mov esi, esi
mov dword [ebp + 0x160], eax
test edi, edi
mov ecx, dword [esp + 0x294]
mov dword [ebp + 0xc], ecx
mov ecx, ecx
mov edx, dword [esp + 0x8c]
mov dword [ebp + 0x14], edx
mov edi, edi
lea edi, [ebp + 0x18]
mov ecx, 0xa
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
test edx, edx
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x40], eax
test bh, bh
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x44], ecx
test ebx, ebx
mov edx, dword [esp + 0x24]
mov dword [ebp + 0x48], edx
test edx, edx
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x4c], eax
test ah, ah
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x9c]
lea edx, [ecx + ebp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10072032
mov ecx, ecx
mov edx, dword [esp + 0x284]
mov dword [ebp + 0x158], edx
mov ah, ah
mov eax, dword [esp + 0x288]
mov dword [ebp + 0x54], eax
test edi, edi
push 0x1c
call fcn.100e2d7d
add esp, 4
mov dword [esp + 0xb4], eax
mov dword [esp + 0x260], 2
xor ecx, ecx
cmp eax, ecx
je 0x1007208c
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ecx
mov byte [eax + 4], cl
jmp 0x1007208e
xor eax, eax
mov dword [esp + 0x260], 0xffffffff
mov dword [ebp + 0x15c], eax
push edx
pop edx
cmp dword [ebp + 0x15c], ecx
je 0x10072129
mov ecx, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
mov dword [ecx + esi], ebx
test ah, ah
call fcn.1002d010
mov edi, eax
test ecx, ecx
mov ebx, ebx
push 0
push 0
push ebx
push 0x10070f40
push 0
push 0
call fcn.100f664f
add esp, 0x18
mov ecx, ecx
mov dword [esi], eax
xchg ebx, eax
xchg ebx, eax
push edi
call fcn.1002d0e0
add esp, 4
nop
cmp dword [esi], 0
je 0x10072131
mov ecx, dword [esp + 0x98]
add ecx, 1
push edx
pop edx
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 + 0xa8], esi
jl 0x10071f60
jmp 0x1007213b
mov dword [esp + 0x78], ecx
push ebx
pop ebx
jmp 0x1007213b
mov dword [esp + 0x78], 0
mov bh, bh
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x74]
cmp dword [esp + 0x78], esi
jne 0x10072284
mov edx, edx
add esi, 0xffffffff
mov dword [esp + 0x78], esi
lea esp, [esp]
mov edx, dword [esp + 0x74]
push 0xffffffffffffffff
push 0
push ebx
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov ebp, eax
test bl, bl
cmp ebp, 0xffffffff
je 0x10072284
mov al, al
test ebx, ebx
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + ebp*4]
mov ecx, dword [eax + 0x160]
cmp dword [ecx + 0x14], 0
lea edi, [edx + ebp*4]
ja 0x100721fa
mov edx, dword [ebx + ebp*4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test cl, cl
mov dword [ebx + ebp*4], 0
test eax, 0x60d1
mov edx, dword [esp + 0x78]
cmp ebp, edx
mov eax, ebp
jge 0x100721d4
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
mov al, al
mov ecx, ecx
add eax, 1
cmp eax, edx
jl 0x100721c2
mov eax, dword [esp + 0x74]
sub eax, 1
sub edx, 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov esi, esi
test eax, eax
jne 0x10072160
test eax, 0x118c
jmp 0x10072284
mov al, 0x25
mov cl, 0x7c
mov byte [esp + 0x228], al
mov byte [esp + 0x229], 0x64
mov byte [esp + 0x22a], cl
mov byte [esp + 0x22b], al
mov byte [esp + 0x22c], 0x64
mov byte [esp + 0x22d], cl
mov byte [esp + 0x22e], al
mov byte [esp + 0x22f], 0x64
mov byte [esp + 0x230], 0
mov al, al
mov edx, dword [edx + ebp*4]
mov eax, dword [edx + 0x160]
cmp dword [eax + 0x18], 0x10
jb 0x10072257
mov eax, dword [eax + 4]
jmp 0x1007225a
add eax, 4
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
push ecx
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x234]
push edx
push eax
call fcn.100f6765
add esp, 0x14
test ebx, ebx
mov cl, cl
mov edi, dword [esp + 0x74]
test edi, edi
jle 0x100722b2
mov eax, dword [esp + 0x7c]
mov ecx, ebx
sub ecx, eax
mov edx, edi
mov esi, 1
cmp dword [ecx + eax], 0
je 0x100722ab
mov ebp, dword [eax]
mov dword [ebp + 0x164], esi
test ebx, ebx
add eax, 4
sub edx, esi
jne 0x1007229b
xor esi, esi
test edi, edi
jle 0x100722f1
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ebp, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x100722e8
push 0xffffffffffffffff
push eax
call edi
push edx
pop edx
mov bh, bh
mov eax, dword [ebx + esi*4]
push eax
call ebp
test eax, 0x18b2
mov dword [ebx + esi*4], 0
test bl, bl
add esi, 1
cmp esi, dword [esp + 0x74]
jl 0x100722c4
push ebx
call fcn.100f3efb
add esp, 4
test ecx, ecx
mov ebp, dword [esp + 0x90]
test ebp, ebp
je 0x10072363
mov ebx, dword [esp + 0xa4]
test ebx, ebx
jle 0x10072358
lea edi, [ebp + 0x160]
mov esi, dword [edi]
test esi, esi
je 0x1007234d
cmp dword [esi + 0x18], 0x10
jb 0x10072330
mov ecx, dword [esi + 4]
push ecx
call fcn.100e2dad
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
push esi
mov byte [esi + 4], 0
call fcn.100e2dad
add esp, 4
test ch, ch
add edi, 0x168
sub ebx, 1
jne 0x10072318
push ebp
call fcn.100f3efb
add esp, 4
test bh, bh
cmp dword [esp + 0x7c], 0
je 0x10072379
mov edx, dword [esp + 0x7c]
push edx
call fcn.100f3efb
add esp, 4
push ecx
pop ecx
mov eax, dword [esp + 0x18]
push eax
call fcn.100f3efb
add esp, 4
mov dword [esp + 0x18], 0
test eax, 0x76df
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, ecx
mov eax, dword [esp + 0x14]
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.100f43d6
add esp, 0x250
ret
mov cl, cl
push 0x168
xor ebx, ebx
lea ecx, [esp + 0xc4]
push ebx
push ecx
call fcn.100f4ed0
add esp, 0xc
push ebx
pop ebx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc0], edx
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc4], eax
push edx
pop edx
mov dword [esp + 0xc8], ebx
test dh, dh
mov ecx, dword [esp + 0x88]
add ecx, 0xffffffff
mov dword [esp + 0xcc], ecx
nop
mov dword [esp + 0xd4], ebx
test eax, 0x5a83
mov edx, dword [esp + 0x294]
mov dword [esp + 0xd0], edx
mov esi, esi
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xd8], eax
nop
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0xdc]
rep movsd dword es:[edi], dword [esi]
push edx
pop edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x104], ecx
mov dh, dh
mov edx, dword [esp + 0x20]
mov dword [esp + 0x108], edx
mov ebx, ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10c], eax
test esi, esi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x110], ecx
mov edi, edi
mov dword [esp + 0x224], ebx
test cl, cl
lea edx, [esp + 0x11c]
mov eax, ebp
sub edx, ebp
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100724b0
test dh, dh
mov edx, dword [esp + 0x284]
mov dword [esp + 0x21c], edx
test eax, 0x6a53
mov eax, dword [esp + 0x288]
mov dword [esp + 0x118], eax
mov ebx, ebx
push 0x1c
call fcn.100e2d7d
add esp, 4
mov dword [esp + 0xb4], eax
mov dword [esp + 0x260], 1
cmp eax, ebx
je 0x10072511
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], 0
jmp 0x10072513
xor eax, eax
mov dword [esp + 0x260], 0xffffffff
mov dword [esp + 0x220], eax
test edx, edx
lea ecx, [esp + 0xc0]
call fcn.1006c8f0
test bh, bh
mov eax, dword [esp + 0x220]
cmp dword [eax + 0x14], ebx
jbe 0x100725d2
mov al, 0x25
mov cl, 0x7c
mov byte [esp + 0x228], al
mov byte [esp + 0x229], 0x64
mov byte [esp + 0x22a], cl
mov byte [esp + 0x22b], al
mov byte [esp + 0x22c], 0x64
mov byte [esp + 0x22d], cl
mov byte [esp + 0x22e], al
mov byte [esp + 0x22f], 0x64
mov byte [esp + 0x230], 0
test ebx, ebx
mov eax, dword [esp + 0x220]
cmp dword [eax + 0x18], 0x10
jb 0x100725a0
mov eax, dword [eax + 4]
jmp 0x100725a3
add eax, 4
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
push ecx
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x234]
push edx
push eax
call fcn.100f6765
add esp, 0x14
mov dh, dh
mov eax, dword [esp + 0x220]
cmp eax, ebx
mov esi, eax
je 0x10072603
cmp dword [eax + 0x18], 0x10
lea edi, [eax + 0x18]
jb 0x100725ed
mov eax, dword [eax + 4]
push eax
call fcn.100e2dad
add esp, 4
mov dword [edi], 0xf
mov dword [esi + 0x14], ebx
push esi
mov byte [esi + 4], 0
call fcn.100e2dad
add esp, 4
test esi, esi
jmp 0x10072379