Function at 0x10002870
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006bc85
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x100ab018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100acb96], 0
je 0x10002974
mov edx, 0x100ae510
call fcn.10005410
test al, al
je 0x10002974
cmp byte [0x100acf51], 0
je 0x100028e1
cmp dword [0x100ab974], 0x61
movzx ecx, byte [0x100ab8d8]
movzx eax, byte [0x100ab8d4]
cmove ecx, eax
mov byte [0x100ae458], cl
cmp byte [0x100acf50], 0
je 0x100028f4
mov dword [0x100acea4], 0
cmp byte [0x100abaa0], 0
je 0x10002912
xorps xmm0, xmm0
mov dword [0x100aba94], 0
movlpd qword [0x100aba98], xmm0
cmp byte [0x100acf54], 0
mov edx, dword [0x100acd98]
je 0x10002940
test edx, edx
je 0x10002940
mov eax, dword [edx]
test eax, eax
je 0x10002940
mov eax, dword [eax + 0x68]
test eax, eax
je 0x10002940
mov eax, dword [eax + 0x54]
test eax, eax
je 0x10002940
mov dword [eax + 0x28], 0
cmp byte [0x100acf55], 0
je 0x1000296b
test edx, edx
je 0x1000296b
mov eax, dword [edx]
test eax, eax
je 0x1000296b
mov eax, dword [eax + 0x48]
mov ecx, dword [eax + 0x34]
mov eax, dword [0x100acef0]
mov dword [ecx + 0xc], eax
mov dword [0x100acef0], 0
mov byte [0x100acb96], 0
jmp 0x1000297a
mov edx, dword [0x100acd98]
cmp byte [0x100acb94], 0
je 0x100029e0
push 0x38
lea eax, [ebp - 0x48]
mov dword [ebp - 0x50], 0x6e6b6e55
push 0
push eax
mov dword [ebp - 0x4c], 0x6e776f
call fcn.1004f650
mov ecx, dword [0x100acd90]
add esp, 0xc
test ecx, ecx
je 0x100029b5
lea edx, [ebp - 0x50]
call fcn.10005800
jmp 0x100029ba
mov eax, str.Unknown
push eax
push str.mods_updated:__s_n
push 0x100abc10
call fcn.1000ace0
add esp, 0xc
call dword [0x100ab900]
mov edx, dword [0x100acd98]
mov byte [0x100acb94], 0
cmp byte [0x100acb95], 0
je 0x10002a78
push 0xc
call fcn.1004d2ca
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [eax], 0x100aba88
mov ecx, dword [0x100acf08]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x10005920
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10002ee0
push 0
push 0
call fcn.10050d02
add esp, 0x18
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10002dfa
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x10002df3
push ecx
push eax
call fcn.1004d0b2
add esp, 8
test eax, eax
jne 0x10002df3
xorps xmm0, xmm0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x100acd98]
movlpd qword [ebp - 0x5c], xmm0
mov byte [0x100acb95], al
mov esi, dword [0x100acd8c]
test esi, esi
je 0x10002b24
cmp byte [0x100acf51], 0
je 0x10002b2d
cmp byte [0x100ab8db], 0
je 0x10002b24
push 8
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], esi
push eax
push dword [0x100acb90]
call dword [sym.imp.KERNEL32.dll_K32QueryWorkingSetEx]
test eax, eax
je 0x10002b1e
test byte [ebp - 0x60], 1
je 0x10002b1e
mov ecx, dword [esi]
lea esi, [ecx + 0x80]
cmp esi, dword [0x100ae554]
je 0x10002b18
mov edx, dword [0x100ab914]
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], 0
lea edx, [edx + ecx]
call fcn.10002e70
add esp, 4
test eax, eax
je 0x10002b18
movss xmm0, dword [ebp - 0x54]
mulss xmm0, dword [0x100a0f24]
movss xmm1, dword [0x100a0f68]
subss xmm1, xmm0
subss xmm1, dword [0x100a0e4c]
movss dword [0x100ab958], xmm1
mov dword [0x100ae554], esi
mov edx, dword [0x100acd98]
cmp byte [0x100acf51], 0
jne 0x10002b46
cmp byte [0x100acf50], 0
jne 0x10002b46
mov cl, byte [0x100acf52]
test cl, cl
je 0x10002dd7
jmp 0x10002b4c
mov cl, byte [0x100acf52]
mov eax, dword [0x100acd94]
test eax, eax
je 0x10002dd7
cmp dword [eax], 2
jne 0x10002dd7
mov eax, dword [0x100acd9c]
test eax, eax
je 0x10002dd7
mov al, byte [eax + 0x30]
test al, al
je 0x10002dd7
test edx, edx
je 0x10002b92
mov eax, dword [edx]
test eax, eax
je 0x10002b92
mov al, byte [eax + 0x17f]
test al, al
jne 0x10002dd7
test cl, cl
je 0x10002d3d
cmp byte [0x100abaa0], 0
je 0x10002d3d
mov bh, byte [0x100ab979]
mov bl, byte [0x100ab978]
test bh, bh
jne 0x10002bbf
test bl, bl
je 0x10002d3d
mov eax, dword [0x100aba94]
mov esi, dword [0x100aba88]
lea edi, [eax + eax*2]
mov eax, dword [esi + edi*8]
add eax, dword [0x100aba98]
mov ecx, dword [esi + edi*8 + 4]
adc ecx, dword [0x100aba9c]
mov dword [ebp - 0x54], eax
mov eax, dword [0x100acd9c]
mov eax, dword [eax]
cdq
cmp edx, ecx
jl 0x10002d3d
jg 0x10002bfe
cmp eax, dword [ebp - 0x54]
jb 0x10002d3d
mov eax, dword [0x100aba8c]
sub eax, esi
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp dword [0x100aba94], eax
jae 0x10002cf9
test bh, bh
je 0x10002c4a
movss xmm0, dword [esi + edi*8 + 8]
xorps xmm2, xmm2
comiss xmm0, xmm2
jb 0x10002c4a
movss xmm1, dword [esi + edi*8 + 0xc]
comiss xmm1, xmm2
jb 0x10002c4a
cvttss2si edx, xmm1
cvttss2si ecx, xmm0
call fcn.10003180
mov bl, byte [0x100ab978]
test bl, bl
je 0x10002cde
test byte [esi + edi*8 + 0x10], 5
jne 0x10002c7b
cmp byte [0x100ae590], 0
je 0x10002c98
mov cl, byte [0x100ab8d8]
mov edx, 2
call fcn.10003140
mov byte [0x100ae590], 0
jmp 0x10002c98
cmp byte [0x100ae590], 0
jne 0x10002c98
mov cl, byte [0x100ab8d8]
xor edx, edx
call fcn.10003140
mov byte [0x100ae590], 1
test byte [esi + edi*8 + 0x10], 0xa
jne 0x10002cc1
cmp byte [0x100ae591], 0
je 0x10002cde
mov cl, byte [0x100ab8d4]
mov edx, 2
call fcn.10003140
mov byte [0x100ae591], 0
jmp 0x10002cde
cmp byte [0x100ae591], 0
jne 0x10002cde
mov cl, byte [0x100ab8d4]
xor edx, edx
call fcn.10003140
mov byte [0x100ae591], 1
mov eax, dword [esi + edi*8]
add dword [0x100aba98], eax
mov eax, dword [esi + edi*8 + 4]
adc dword [0x100aba9c], eax
inc dword [0x100aba94]
jmp 0x10002d3d
test bl, bl
je 0x10002d3d
cmp byte [0x100ae590], 0
je 0x10002d1d
mov cl, byte [0x100ab8d8]
mov edx, 2
call fcn.10003140
mov byte [0x100ae590], 0
cmp byte [0x100ae591], 0
je 0x10002d3d
mov cl, byte [0x100ab8d4]
mov edx, 2
call fcn.10003140
mov byte [0x100ae591], 0
cmp byte [0x100acf51], 0
jne 0x10002d53
cmp byte [0x100acf50], 0
je 0x10002dd7
cmp byte [0x100ae520], 0
je 0x10002dd7
mov eax, dword [0x100ae51c]
lea ecx, [eax + eax*2]
mov eax, dword [0x100ae510]
lea edi, [eax + ecx*8]
mov eax, dword [0x100acd9c]
mov ecx, edi
mov esi, dword [eax]
mov edx, esi
call fcn.10008b40
mov edx, esi
mov ecx, edi
call fcn.10009c60
movd xmm0, dword [edi + 4]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
addss xmm1, dword [0x100acef8]
comiss xmm1, xmm0
jb 0x10002dd7
mov eax, dword [0x100ae514]
sub eax, dword [0x100ae510]
mov ecx, dword [0x100ae51c]
sar eax, 3
inc ecx
imul eax, eax, 0xaaaaaaab
mov dword [0x100ae51c], ecx
mov dword [0x100acea4], 0
cmp ecx, eax
jb 0x10002dd7
mov byte [0x100ae520], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d2bc
mov esp, ebp
pop ebp
ret
push 1
call fcn.1004ced9
push 6
mov dword [ebp - 0x58], 0
call fcn.1004ced9
int3