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

Disassembly:
push 0xffffffffffffffff
push 0x10192e56
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e5aec]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [esp + 0x26c]
mov edi, dword [esp + 0x268]
mov ebp, dword [esp + 0x284]
mov esi, dword [esp + 0x280]
lea ecx, [esp + 0x77]
push ecx
push 0x10198bf0
lea ecx, [esp + 0xb4]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x88], eax
mov dword [esp + 0xac], ebp
mov dword [esp + 0x54], 0
call fcn.10004620
mov ebx, 1
mov dword [esp + 0x260], ebx
mov cl, cl
fld qword [0x10198a40]
fld qword [esp + 0x288]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x1009d0c8
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x1009d0ca
cmp dword [esp + 0x290], 3
ja 0x1009d0b7
push 0x14
call fcn.1011cdc0
add esp, 4
mov dword [esp + 0xa0], eax
mov byte [esp + 0x260], 2
test eax, eax
je 0x1009c4e0
mov ecx, eax
call fcn.1011f5ff
mov ebx, eax
mov dword [esp + 0x84], eax
jmp 0x1009c4e9
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x260], 1
cmp dword [0x101d08cc], 0x4dfc
test ebx, ebx
jne 0x1009c51b
lea edx, [esp + 0xac]
push edx
mov ecx, edi
call fcn.100046a0
mov dword [esp + 0x4c], 1
jmp 0x1009d0dd
push 0
push ebx
push 0x10198a34
push esi
call fcn.10067a70
add esp, 0x10
mov dword [esp + 0x88], eax
mov eax, eax
test eax, eax
jne 0x1009c56a
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 1
mov ecx, ebx
call edx
cmp dword [0x101d08c4], 0xfffff546
lea eax, [esp + 0xac]
push eax
mov ecx, edi
call fcn.100046a0
mov dword [esp + 0x4c], 1
jmp 0x1009d0dd
cmp dword [0x101d08d4], 0xfffffede
mov dh, dh
mov dword [esp + 0x14], 0
cmp dword [0x101d08b4], 0xffffabbe
cmp dword [0x101d08d0], 0xffffb36b
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x288]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x288]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x288]
push eax
mov eax, dword [esp + 0x288]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
push eax
push ecx
call fcn.1005fe00
add esp, 0x28
test eax, eax
jne 0x1009c608
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 1
mov ecx, ebx
call eax
mov ah, ah
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
call fcn.100046a0
mov dword [esp + 0x4c], 1
jmp 0x1009d0dd
xor ebx, ebx
mov dword [esp + 0x94], ebx
cmp dword [0x101d08bc], 0xffff896c
cmp dword [0x101d08b4], 0xffffabbe
mov eax, ebp
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1009c630
sub eax, edx
cmp eax, 2
jne 0x1009c709
mov ebx, 1
mov dword [esp + 0x94], ebx
push ecx
pop ecx
lea edx, [esp + 0x234]
mov eax, ebp
sub edx, ebp
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x1009c660
cmp dword [0x101d08b4], 0xffffabbe
mov eax, ebp
mov edx, ebp
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1009c680
lea edi, [esp + 0x234]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x1009c695
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 edi, edi
mov eax, ebp
mov ecx, ebp
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1009c6b4
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
jmp 0x1009c6d0
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x1009c6d0
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]
cmp dword [0x101d08c0], 0xffffa7c6
lea ebp, [esp + 0x234]
mov dword [esp + 0xa4], ebp
cmp dword [0x101d08c0], 0xffffa7c6
push ecx
pop ecx
test ebx, ebx
mov edi, dword [esp + 0x2c]
jne 0x1009c760
xor edx, edx
test edi, edi
jle 0x1009c7f5
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
jle 0x1009c754
jmp 0x1009c730
mov ecx, edx
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
push ecx
pop ecx
mov byte [ecx + 3], 0
nop
mov ecx, dword [esp + 0x28]
add eax, 1
cmp eax, ecx
jl 0x1009c730
mov edi, dword [esp + 0x2c]
add edx, 1
cmp edx, edi
jl 0x1009c721
jmp 0x1009c7f5
xor ebx, ebx
test edi, edi
jle 0x1009c7f5
mov eax, dword [esp + 0x28]
mov edi, edi
xor esi, esi
test eax, eax
jle 0x1009c7ea
jmp 0x1009c780
mov edx, ebx
imul edx, dword [esp + 0x18]
add edx, dword [esp + 0x14]
lea ecx, [edx + esi*4]
mov ebx, ebx
movzx eax, byte [ecx + 2]
push ebx
pop ebx
movzx edx, byte [ecx + 1]
mov bl, bl
movzx edi, byte [ecx]
cmp dword [0x101d08d4], 0xfffffede
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
cmp dword [0x101d08c0], 0xffffa7c6
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
cmp dword [0x101d08bc], 0x7693
mov eax, dword [esp + 0x28]
add esi, 1
cmp esi, eax
jl 0x1009c780
mov edi, dword [esp + 0x2c]
add ebx, 1
cmp ebx, edi
jl 0x1009c770
imul edi, dword [esp + 0x18]
push edi
call fcn.1012de1c
mov ebx, eax
add esp, 4
mov dword [esp + 0x9c], ebx
cmp dword [0x101d08bc], 0x7693
test ebx, ebx
jne 0x1009c887
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
cmp dword [0x101d08c8], 0x764f
mov eax, dword [esp + 0x14]
push eax
call fcn.1012dedf
add esp, 4
mov dword [esp + 0x14], ebx
cmp dword [0x101d08b0], 0xffffd0e7
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.100046a0
mov dword [esp + 0x4c], 1
mov byte [esp + 0x260], bl
lea ecx, [esp + 0xac]
call fcn.10002070
mov eax, esi
jmp 0x1009d0f3
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
push ebx
call fcn.1012fbf0
add esp, 0xc
nop
push ecx
pop ecx
mov bl, bl
cmp dword [0x101d08b0], 0xffffd0e7
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
cmp esi, dword [eax + 0x326c]
jl 0x1009ceab
cmp dword [eax + 0x3268], 0
je 0x1009ceab
mov eax, eax
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [0x101d08b0], 0x2f18
push ecx
pop ecx
cmp dword [0x101d08d4], 0xfffffede
mov edi, dword [esp + 0x64]
cmp esi, edi
jae 0x1009c912
mov edi, esi
mov dword [esp + 0x78], esi
cmp dword [0x101d08d4], 0x121
jmp 0x1009c918
mov dword [esp + 0x78], edi
mov ch, ch
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x3270]
test eax, eax
jle 0x1009c93d
cmp edi, eax
jle 0x1009c93d
mov edi, eax
mov dword [esp + 0x78], edi
cmp dword [0x101d08b4], 0xffffabbe
cmp edi, 0x40
jl 0x1009c955
mov edi, 0x40
mov dword [esp + 0x78], edi
cmp dword [0x101d08c0], 0x5839
nop
lea ebx, [edi*4]
push ebx
call fcn.1012de1c
mov ebp, eax
add esp, 4
mov dword [esp + 0x8c], ebp
cmp dword [0x101d08cc], 0x4dfc
test ebp, ebp
je 0x1009ce32
mov esi, edi
imul esi, esi, 0x170
push esi
call fcn.1012de1c
add esp, 4
mov dword [esp + 0x7c], eax
cmp dword [0x101d08d0], 0xffffb36b
test eax, eax
je 0x1009cdd7
push ebx
xor ebx, ebx
push ebx
push ebp
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d08cc], 0xffffb203
mov eax, dword [esp + 0x7c]
push esi
push ebx
push eax
call fcn.1012ea60
add esp, 0xc
mov ebp, ebp
xor ecx, ecx
cmp dword [0x101d08c8], 0x764f
mov eax, dword [esp + 0x88]
cdq
idiv edi
mov dword [esp + 0xa0], eax
cmp dword [0x101d08c0], 0x5839
cmp dword [0x101d08d0], 0x4c94
mov edx, dword [esp + 0x80]
mov dword [edx + 0x3264], ebx
cmp dword [0x101d08b4], 0x5441
test edi, edi
jle 0x1009cca6
cmp dword [0x101d08b4], 0xffffabbe
mov eax, dword [esp + 0xa0]
lea edx, [eax + ecx - 1]
mov dword [esp + 0x90], edx
cmp dword [0x101d08cc], 0x4dfc
mov eax, dword [esp + 0x78]
add eax, 0xffffffff
cmp ebx, eax
jne 0x1009ca64
mov eax, dword [esp + 0x88]
add eax, 0xffffffff
mov dword [esp + 0x90], eax
push ebx
pop ebx
mov dl, dl
mov eax, dword [esp + 0x7c]
mov edx, ebx
imul edx, edx, 0x170
lea ebp, [edx + eax]
mov edx, dword [esp + 0x80]
mov dword [ebp], edx
cmp dword [0x101d08bc], 0xffff896c
mov eax, dword [esp + 0x84]
mov dword [ebp + 4], eax
cmp dword [0x101d08bc], 0xffff896c
mov dword [ebp + 8], ecx
cmp dword [0x101d08b0], 0x2f18
mov ecx, dword [esp + 0x90]
mov dword [ebp + 0xc], ecx
nop
mov dword [ebp + 0x14], 1
cmp dword [0x101d08d0], 0x4c94
mov dword [ebp + 0x16c], 0
cmp dword [0x101d08c0], 0xffffa7c6
mov edx, dword [esp + 0x294]
mov dword [ebp + 0x10], edx
push edx
pop edx
mov eax, dword [esp + 0x94]
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 eax, eax
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x44], ecx
mov al, al
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x48], edx
cmp dword [0x101d08b8], 0xffffd2f4
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x4c], eax
push ebx
pop ebx
mov ecx, dword [esp + 0x2c]
imul ecx, dword [esp + 0x18]
push ecx
call fcn.1012de1c
add esp, 4
mov dword [ebp + 0x50], eax
cmp dword [0x101d08b0], 0xffffd0e7
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x1009cc9b
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
call fcn.1012fbf0
add esp, 0xc
cmp dword [0x101d08b0], 0x2f18
mov edx, dword [esp + 0x9c]
mov dword [ebp + 0x54], edx
nop
mov eax, dword [esp + 0x290]
mov dword [ebp + 0x58], eax
mov bl, bl
mov eax, dword [esp + 0xa4]
mov ecx, ebp
sub ecx, eax
lea edx, [ecx + 0x5c]
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x1009cb96
cmp dword [0x101d08bc], 0x7693
fld qword [esp + 0x288]
fstp qword [ebp + 0x160]
mov ecx, ecx
push 0x18
call fcn.1011cdc0
add esp, 4
mov dword [esp + 0xa8], eax
mov byte [esp + 0x260], 4
test eax, eax
je 0x1009cbeb
or dword [esp + 0x4c], 4
lea edx, [esp + 0x77]
push edx
mov ecx, eax
call fcn.10004820
jmp 0x1009cbed
xor eax, eax
mov byte [esp + 0x260], 1
test byte [esp + 0x4c], 4
mov dword [ebp + 0x168], eax
je 0x1009cc07
and dword [esp + 0x4c], 0xfffffffb
mov bh, bh
cmp dword [ebp + 0x168], 0
je 0x1009cc97
call fcn.10044820
mov esi, eax
cmp dword [0x101d08cc], 0xffffb203
mov ch, ch
push 0
push 0
push ebp
push 0x1009a8a0
push 0
push 0
call fcn.101301c7
add esp, 0x18
mov bh, bh
mov edi, dword [esp + 0x8c]
mov dword [edi + ebx*4], eax
cmp dword [0x101d08d4], 0xfffffede
push esi
call fcn.10044920
add esp, 4
push ebx
pop ebx
cmp dword [edi + ebx*4], 0
jne 0x1009cc74
mov ch, ch
xor ebx, ebx
cmp dword [0x101d08bc], 0xffff896c
mov ecx, dword [esp + 0x90]
add ecx, 1
cmp dword [0x101d08b4], 0xffffabbe
add ebx, 1
cmp ebx, dword [esp + 0x78]
jl 0x1009ca20
jmp 0x1009cc9b
xor ebx, ebx
mov bl, bl
mov ebp, dword [esp + 0x8c]
mov edi, dword [esp + 0x78]
cmp ebx, edi
jne 0x1009cd40
push 0xffffffffffffffff
push 1
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [0x101d08c8], 0xffff89b0
cmp eax, 0xffffffff
je 0x1009cd40
test edi, edi
jle 0x1009cd40
mov esi, dword [esp + 0x7c]
add esi, 0x168
mov ebx, edi
lea esp, [esp]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x1009cd35
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0xc0]
je 0x1009cd15
push 0x10198a34
lea ecx, [esp + 0xb0]
call fcn.10004880
cmp dword [0x101d08b4], 0xffffabbe
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
lea ecx, [esp + 0xb4]
call fcn.10004710
cmp dword [0x101d08bc], 0xffff896c
add esi, 0x170
sub ebx, 1
jne 0x1009cce0
xor eax, eax
test edi, edi
jle 0x1009cd74
mov ecx, dword [esp + 0x7c]
add ecx, 0x16c
cmp dword [ebp + eax*4], 0
je 0x1009cd67
mov dword [ecx], 1
cmp dword [0x101d08c4], 0xfffff546
add eax, 1
add ecx, 0x170
cmp eax, edi
jl 0x1009cd50
xor esi, esi
test edi, edi
jle 0x1009cdd7
mov ebx, dword [esp + 0x7c]
add ebx, 0x50
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x1009cdca
push eax
call fcn.1006f2f0
add esp, 4
push ebx
pop ebx
mov ecx, dword [ebp + esi*4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, ebx
mov dword [ebp + esi*4], 0
mov ah, ah
mov eax, dword [ebx]
test eax, eax
je 0x1009cdca
push eax
call fcn.1012dedf
add esp, 4
mov dword [ebx], 0
cmp dword [0x101d08c0], 0xffffa7c6
add esi, 1
add ebx, 0x170
cmp esi, edi
jl 0x1009cd81
push ebp
call fcn.1012dedf
add esp, 4
mov bh, bh
mov ebp, dword [esp + 0x7c]
test ebp, ebp
je 0x1009ce32
test edi, edi
jle 0x1009ce1f
lea esi, [ebp + 0x168]
mov ebx, dword [esi]
test ebx, ebx
je 0x1009ce14
mov ecx, ebx
call fcn.10002070
push ebx
call fcn.1011cdeb
add esp, 4
cmp dword [0x101d08c8], 0x764f
add esi, 0x170
sub edi, 1
jne 0x1009cdf4
push ebp
call fcn.1012dedf
add esp, 4
cmp dword [0x101d08bc], 0x7693
mov edx, dword [esp + 0x9c]
push edx
call fcn.1012dedf
add esp, 4
mov ah, ah
mov eax, dword [esp + 0x14]
push eax
call fcn.1012dedf
add esp, 4
mov dword [esp + 0x14], 0
push ebx
pop ebx
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
cmp dword [0x101d08c8], 0xffff89b0
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.100046a0
or dword [esp + 0x4c], 1
mov byte [esp + 0x260], 0
lea ecx, [esp + 0xac]
call fcn.10002070
mov eax, esi
jmp 0x1009d0f3
push edx
pop edx
push 0x170
xor esi, esi
lea edx, [esp + 0xc8]
push esi
push edx
call fcn.1012ea60
add esp, 0xc
push edx
pop edx
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc4], eax
cmp dword [0x101d08bc], 0x7693
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc8], ecx
cmp dword [0x101d08d4], 0x121
mov dword [esp + 0xcc], esi
cmp dword [0x101d08bc], 0xffff896c
mov edx, dword [esp + 0x88]
add edx, 0xffffffff
mov dword [esp + 0xd0], edx
cmp dword [0x101d08c4], 0xfffff546
mov dword [esp + 0xd8], 1
mov dh, dh
mov dword [esp + 0x230], esi
mov esi, esi
mov eax, dword [esp + 0x294]
mov dword [esp + 0xd4], eax
cmp dword [0x101d08d0], 0x4c94
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xdc], ecx
mov dh, dh
mov ecx, 0xa
lea esi, [esp + 0x24]
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
mov ah, ah
mov edx, dword [esp + 0x18]
mov dword [esp + 0x108], edx
cmp dword [0x101d08b0], 0xffffd0e7
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10c], eax
mov cl, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x110], ecx
cmp dword [0x101d08d0], 0xffffb36b
mov edx, dword [esp + 0x14]
mov dword [esp + 0x114], edx
mov eax, eax
mov dword [esp + 0x118], ebx
cmp dword [0x101d08c8], 0x764f
mov eax, dword [esp + 0x290]
mov dword [esp + 0x11c], eax
mov eax, eax
lea ecx, [esp + 0x120]
mov eax, ebp
sub ecx, ebp
mov dl, byte [eax]
mov byte [ecx + eax], dl
add eax, 1
test dl, dl
jne 0x1009cfe5
nop
fld qword [esp + 0x288]
fstp qword [esp + 0x224]
cmp dword [0x101d08b0], 0xffffd0e7
push 0x18
call fcn.1011cdc0
add esp, 4
mov dword [esp + 0xa8], eax
mov byte [esp + 0x260], 3
test eax, eax
je 0x1009d042
mov edx, 2
lea ecx, [esp + 0x77]
push ecx
mov dword [esp + 0x50], edx
mov ecx, eax
mov dword [esp + 0x50], edx
call fcn.10004820
jmp 0x1009d044
xor eax, eax
mov byte [esp + 0x260], 1
test byte [esp + 0x4c], 2
mov dword [esp + 0x22c], eax
je 0x1009d05f
and dword [esp + 0x4c], 0xfffffffd
mov edx, edx
lea ecx, [esp + 0xc4]
call fcn.10096690
mov ebp, ebp
mov ecx, dword [esp + 0x22c]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x1009d09c
push ecx
lea ecx, [esp + 0xb0]
call fcn.10021d70
cmp dword [0x101d08b4], 0x5441
mov ecx, dword [esp + 0x22c]
test ecx, ecx
mov esi, ecx
je 0x1009d0b0
call fcn.10002070
push esi
call fcn.1011cdeb
add esp, 4
push edx
pop edx
jmp 0x1009ce32
lea edx, [esp + 0xac]
push edx
mov ecx, edi
call fcn.100046a0
jmp 0x1009d0d9
fstp st(0)
lea eax, [esp + 0xac]
push eax
mov ecx, edi
call fcn.100046a0
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x260], 0
lea ecx, [esp + 0xac]
call fcn.10002070
mov eax, edi
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.1012e3ba
add esp, 0x250
ret