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

Disassembly:
push 0xffffffffffffffff
push 0x1017c666
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cf40c]
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 0x101839c8
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.1000a190
mov ebx, 1
mov dword [esp + 0x260], ebx
mov eax, eax
fld qword [0x10183580]
fld qword [esp + 0x288]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x1008df54
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x1008df56
cmp dword [esp + 0x290], 3
ja 0x1008df43
push 0x14
call fcn.10106360
add esp, 4
mov dword [esp + 0xa0], eax
mov byte [esp + 0x260], 2
test eax, eax
je 0x1008d580
mov ecx, eax
call fcn.101096f4
mov ebx, eax
mov dword [esp + 0x84], eax
jmp 0x1008d589
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x260], 1
mov ch, ch
test ebx, ebx
jne 0x1008d5b3
lea edx, [esp + 0xac]
push edx
mov ecx, edi
call fcn.1000a210
mov dword [esp + 0x4c], 1
jmp 0x1008df69
push 0
push ebx
push 0x10183570
push esi
call fcn.1005dbd0
add esp, 0x10
mov dword [esp + 0x88], eax
mov al, al
test eax, eax
jne 0x1008d5fa
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 1
mov ecx, ebx
call edx
mov bh, bh
lea eax, [esp + 0xac]
push eax
mov ecx, edi
call fcn.1000a210
mov dword [esp + 0x4c], 1
jmp 0x1008df69
mov al, al
mov edi, edi
mov dword [esp + 0x14], 0
mov bh, bh
mov ebx, ebx
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.10056ca0
add esp, 0x28
test eax, eax
jne 0x1008d680
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 1
mov ecx, ebx
call eax
mov edx, edx
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
call fcn.1000a210
mov dword [esp + 0x4c], 1
jmp 0x1008df69
xor ebx, ebx
mov dword [esp + 0x94], ebx
mov edx, edx
mov eax, eax
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008d692
sub eax, edx
cmp eax, 2
jne 0x1008d749
mov ebx, 1
mov dword [esp + 0x94], ebx
push eax
pop eax
lea edx, [esp + 0x234]
mov eax, ebp
sub edx, ebp
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x1008d6c0
mov bh, bh
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008d6d2
lea edi, [esp + 0x234]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, ebx
test cl, cl
jne 0x1008d6e7
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 edx
pop edx
mov eax, ebp
mov ecx, ebp
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1008d706
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 0x1008d720
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 bh, bh
lea ebp, [esp + 0x234]
mov dword [esp + 0xa4], ebp
mov bl, bl
mov al, al
test ebx, ebx
mov edi, dword [esp + 0x2c]
jne 0x1008d79e
xor edx, edx
test edi, edi
jle 0x1008d809
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
jle 0x1008d795
jmp 0x1008d770
mov ecx, edx
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
mov esi, esi
mov byte [ecx + 3], 0
mov esi, esi
mov ecx, dword [esp + 0x28]
add eax, 1
cmp eax, ecx
jl 0x1008d770
mov edi, dword [esp + 0x2c]
add edx, 1
cmp edx, edi
jl 0x1008d761
jmp 0x1008d809
xor ebx, ebx
test edi, edi
jle 0x1008d809
mov eax, dword [esp + 0x28]
xor esi, esi
test eax, eax
jle 0x1008d802
mov edi, edi
mov edx, ebx
imul edx, dword [esp + 0x18]
add edx, dword [esp + 0x14]
lea ecx, [edx + esi*4]
xchg ebx, eax
xchg ebx, eax
movzx eax, byte [ecx + 2]
mov edi, edi
movzx edx, byte [ecx + 1]
mov bl, bl
movzx edi, byte [ecx]
mov bl, bl
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
push ebx
pop ebx
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
mov bh, bh
mov eax, dword [esp + 0x28]
add esi, 1
cmp esi, eax
jl 0x1008d7b0
mov edi, dword [esp + 0x2c]
add ebx, 1
cmp ebx, edi
jl 0x1008d7a8
imul edi, dword [esp + 0x18]
push edi
call fcn.1011741c
mov ebx, eax
add esp, 4
mov dword [esp + 0x9c], ebx
mov ebx, ebx
test ebx, ebx
jne 0x1008d883
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov al, al
mov eax, dword [esp + 0x14]
push eax
call fcn.101174df
add esp, 4
mov dword [esp + 0x14], ebx
xchg ebx, eax
xchg ebx, eax
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.1000a210
mov dword [esp + 0x4c], 1
mov byte [esp + 0x260], bl
lea ecx, [esp + 0xac]
call fcn.10006800
mov eax, esi
jmp 0x1008df7f
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
push ebx
call fcn.10119900
add esp, 0xc
push eax
pop eax
mov eax, eax
mov esi, esi
mov bh, bh
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
cmp esi, dword [eax + 0x326c]
jl 0x1008dd85
cmp dword [eax + 0x3268], 0
je 0x1008dd85
push eax
pop eax
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, ecx
mov ebp, ebp
nop
mov edi, dword [esp + 0x64]
cmp esi, edi
jae 0x1008d8ee
mov edi, esi
mov dword [esp + 0x78], esi
mov al, al
jmp 0x1008d8f4
mov dword [esp + 0x78], edi
push ebx
pop ebx
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x3270]
test eax, eax
jle 0x1008d911
cmp edi, eax
jle 0x1008d911
mov edi, eax
mov dword [esp + 0x78], edi
push ecx
pop ecx
cmp edi, 0x40
jl 0x1008d921
mov edi, 0x40
mov dword [esp + 0x78], edi
mov dh, dh
mov bh, bh
lea ebx, [edi*4]
push ebx
call fcn.1011741c
mov ebp, eax
add esp, 4
mov dword [esp + 0x8c], ebp
push eax
pop eax
test ebp, ebp
je 0x1008dd14
mov esi, edi
imul esi, esi, 0x170
push esi
call fcn.1011741c
add esp, 4
mov dword [esp + 0x7c], eax
push eax
pop eax
test eax, eax
je 0x1008dcc9
push ebx
xor ebx, ebx
push ebx
push ebp
call fcn.101184b0
add esp, 0xc
mov cl, cl
mov eax, dword [esp + 0x7c]
push esi
push ebx
push eax
call fcn.101184b0
add esp, 0xc
push ebx
pop ebx
xor ecx, ecx
mov dl, dl
mov eax, dword [esp + 0x88]
cdq
idiv edi
mov dword [esp + 0xa0], eax
mov bh, bh
mov ch, ch
mov edx, dword [esp + 0x80]
mov dword [edx + 0x3264], ebx
nop
cmp ebx, edi
jge 0x1008dbc5
mov bl, bl
mov eax, dword [esp + 0xa0]
lea edx, [eax + ecx - 1]
mov dword [esp + 0x90], edx
mov dh, dh
mov eax, dword [esp + 0x78]
add eax, 0xffffffff
cmp ebx, eax
jne 0x1008d9e8
mov eax, dword [esp + 0x88]
add eax, 0xffffffff
mov dword [esp + 0x90], eax
mov cl, cl
push ecx
pop ecx
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
mov ch, ch
mov eax, dword [esp + 0x84]
mov dword [ebp + 4], eax
mov eax, eax
mov dword [ebp + 8], ecx
push eax
pop eax
mov ecx, dword [esp + 0x90]
mov dword [ebp + 0xc], ecx
mov edx, edx
mov dword [ebp + 0x14], 1
mov bh, bh
mov dword [ebp + 0x16c], 0
mov ch, ch
mov edx, dword [esp + 0x294]
mov dword [ebp + 0x10], edx
mov ch, ch
mov eax, dword [esp + 0x94]
mov dword [ebp + 0x18], eax
mov al, al
lea edi, [ebp + 0x1c]
mov ecx, 0xa
lea esi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov edi, edi
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x44], ecx
mov edi, edi
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x48], edx
mov edx, edx
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x4c], eax
push edx
pop edx
mov ecx, dword [esp + 0x2c]
imul ecx, dword [esp + 0x18]
push ecx
call fcn.1011741c
add esp, 4
mov dword [ebp + 0x50], eax
nop
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x1008dbb8
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
call fcn.10119900
add esp, 0xc
mov dl, dl
mov edx, dword [esp + 0x9c]
mov dword [ebp + 0x54], edx
mov cl, cl
mov eax, dword [esp + 0x290]
mov dword [ebp + 0x58], eax
mov dl, dl
mov eax, dword [esp + 0xa4]
mov ecx, ebp
sub ecx, eax
lea edx, [ecx + 0x5c]
jmp 0x1008dae0
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x1008dae0
mov bh, bh
fld qword [esp + 0x288]
fstp qword [ebp + 0x160]
mov ecx, ecx
push 0x18
call fcn.10106360
add esp, 4
mov dword [esp + 0xa8], eax
mov byte [esp + 0x260], 4
test eax, eax
je 0x1008db2d
or dword [esp + 0x4c], 4
lea edx, [esp + 0x77]
push edx
mov ecx, eax
call fcn.1000a390
jmp 0x1008db2f
xor eax, eax
mov byte [esp + 0x260], 1
test byte [esp + 0x4c], 4
mov dword [ebp + 0x168], eax
je 0x1008db49
and dword [esp + 0x4c], 0xfffffffb
mov ah, ah
cmp dword [ebp + 0x168], 0
je 0x1008dbb4
call fcn.1003e860
mov esi, eax
mov bh, bh
push ecx
pop ecx
push 0
push 0
push ebp
push 0x1008bd70
push 0
push 0
call fcn.10119ed7
add esp, 0x18
push edx
pop edx
mov edi, dword [esp + 0x8c]
mov dword [edi + ebx*4], eax
mov ah, ah
push esi
call fcn.1003e920
add esp, 4
mov esi, esi
cmp dword [edi + ebx*4], 0
jne 0x1008db99
nop
xor ebx, ebx
push ecx
pop ecx
mov ecx, dword [esp + 0x90]
add ecx, 1
mov dh, dh
add ebx, 1
cmp ebx, dword [esp + 0x78]
jl 0x1008d9b4
jmp 0x1008dbb8
xor ebx, ebx
mov dh, dh
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x8c]
cmp ebx, edi
jne 0x1008dc40
push 0xffffffffffffffff
push 1
push ebp
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov al, al
cmp eax, 0xffffffff
je 0x1008dc40
test edi, edi
jle 0x1008dc40
mov esi, dword [esp + 0x7c]
add esi, 0x168
mov ebx, edi
mov edi, edi
mov ecx, dword [esi]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x1008dc35
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0xc0]
je 0x1008dc1d
push 0x10183570
lea ecx, [esp + 0xb0]
call fcn.1000a3f0
push eax
pop eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
lea ecx, [esp + 0xb4]
call fcn.1000a280
mov cl, cl
add esi, 0x170
sub ebx, 1
jne 0x1008dbf0
xor eax, eax
test edi, edi
jle 0x1008dc6c
mov ecx, dword [esp + 0x7c]
add ecx, 0x16c
cmp dword [ebp + eax*4], 0
je 0x1008dc5f
mov dword [ecx], 1
push edx
pop edx
add eax, 1
add ecx, 0x170
cmp eax, edi
jl 0x1008dc50
xor esi, esi
test edi, edi
jle 0x1008dcc9
mov ebx, dword [esp + 0x7c]
add ebx, 0x50
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x1008dcbc
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push ecx
pop ecx
mov cl, cl
mov ecx, dword [ebp + esi*4]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov cl, cl
mov dword [ebp + esi*4], 0
mov ebp, ebp
mov eax, dword [ebx]
test eax, eax
je 0x1008dcbc
push eax
call fcn.101174df
add esp, 4
mov dword [ebx], 0
xchg ebx, eax
xchg ebx, eax
add esi, 1
add ebx, 0x170
cmp esi, edi
jl 0x1008dc79
push ebp
call fcn.101174df
add esp, 4
mov al, al
mov ebp, dword [esp + 0x7c]
test ebp, ebp
je 0x1008dd14
test edi, edi
jle 0x1008dd09
lea esi, [ebp + 0x168]
mov ebx, dword [esi]
test ebx, ebx
je 0x1008dcfe
mov ecx, ebx
call fcn.10006800
push ebx
call fcn.1010638b
add esp, 4
push ecx
pop ecx
add esi, 0x170
sub edi, 1
jne 0x1008dce6
push ebp
call fcn.101174df
add esp, 4
mov edx, edx
mov edx, dword [esp + 0x9c]
push edx
call fcn.101174df
add esp, 4
mov dl, dl
mov eax, dword [esp + 0x14]
push eax
call fcn.101174df
add esp, 4
mov dword [esp + 0x14], 0
mov ebp, ebp
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov cl, cl
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.1000a210
or dword [esp + 0x4c], 1
mov byte [esp + 0x260], 0
lea ecx, [esp + 0xac]
call fcn.10006800
mov eax, esi
jmp 0x1008df7f
mov edx, edx
push 0x170
xor esi, esi
lea edx, [esp + 0xc8]
push esi
push edx
call fcn.101184b0
add esp, 0xc
mov esi, esi
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc4], eax
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc8], ecx
mov edi, edi
mov dword [esp + 0xcc], esi
mov cl, cl
mov edx, dword [esp + 0x88]
add edx, 0xffffffff
mov dword [esp + 0xd0], edx
mov cl, cl
mov dword [esp + 0xd8], 1
mov esi, esi
mov dword [esp + 0x230], esi
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x294]
mov dword [esp + 0xd4], eax
push eax
pop eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xdc], ecx
mov ecx, ecx
mov ecx, 0xa
lea esi, [esp + 0x24]
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
push eax
pop eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0x108], edx
mov eax, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10c], eax
mov bh, bh
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x110], ecx
mov eax, eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x114], edx
mov ebx, ebx
mov dword [esp + 0x118], ebx
mov edx, edx
mov eax, dword [esp + 0x290]
mov dword [esp + 0x11c], eax
mov edi, edi
lea ecx, [esp + 0x120]
mov eax, ebp
sub ecx, ebp
nop
mov dl, byte [eax]
mov byte [ecx + eax], dl
add eax, 1
test dl, dl
jne 0x1008de80
mov dl, dl
fld qword [esp + 0x288]
fstp qword [esp + 0x224]
mov ebp, ebp
push 0x18
call fcn.10106360
add esp, 4
mov dword [esp + 0xa8], eax
mov byte [esp + 0x260], 3
test eax, eax
je 0x1008ded6
mov edx, 2
lea ecx, [esp + 0x77]
push ecx
mov dword [esp + 0x50], edx
mov ecx, eax
mov dword [esp + 0x50], edx
call fcn.1000a390
jmp 0x1008ded8
xor eax, eax
mov byte [esp + 0x260], 1
test byte [esp + 0x4c], 2
mov dword [esp + 0x22c], eax
je 0x1008def3
and dword [esp + 0x4c], 0xfffffffd
mov ebp, ebp
lea ecx, [esp + 0xc4]
call fcn.100884e0
mov ecx, ecx
mov ecx, dword [esp + 0x22c]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x1008df28
push ecx
lea ecx, [esp + 0xb0]
call fcn.1001ef00
mov ah, ah
mov ecx, dword [esp + 0x22c]
test ecx, ecx
mov esi, ecx
je 0x1008df3c
call fcn.10006800
push esi
call fcn.1010638b
add esp, 4
push ecx
pop ecx
jmp 0x1008dd14
lea edx, [esp + 0xac]
push edx
mov ecx, edi
call fcn.1000a210
jmp 0x1008df65
fstp st(0)
lea eax, [esp + 0xac]
push eax
mov ecx, edi
call fcn.1000a210
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x260], 0
lea ecx, [esp + 0xac]
call fcn.10006800
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.101179ba
add esp, 0x250
ret