Function at 0x10002210
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069945
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x100a7018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100a8c0a], 0
je 0x100022f3
mov edx, 0x100a9768
call fcn.10004cb0
cmp dword [0x100a78c0], 0x61
movzx ecx, byte [0x100a78e8]
movzx eax, byte [0x100a78e4]
cmove ecx, eax
mov byte [0x100a7a5c], 1
cmp byte [0x100a7a78], 0
mov byte [0x100a96b0], cl
je 0x10002291
xorps xmm0, xmm0
mov dword [0x100a7a6c], 0
movlpd qword [0x100a7a70], xmm0
cmp byte [0x100a8c03], 0
mov edx, dword [0x100a9038]
je 0x100022bf
test edx, edx
je 0x100022bf
mov eax, dword [edx]
test eax, eax
je 0x100022bf
mov eax, dword [eax + 0x68]
test eax, eax
je 0x100022bf
mov eax, dword [eax + 0x54]
test eax, eax
je 0x100022bf
mov dword [eax + 0x28], 0
cmp byte [0x100a8c06], 0
je 0x100022ea
test edx, edx
je 0x100022ea
mov eax, dword [edx]
test eax, eax
je 0x100022ea
mov eax, dword [eax + 0x48]
mov ecx, dword [eax + 0x34]
mov eax, dword [0x100a936c]
mov dword [ecx + 0xc], eax
mov dword [0x100a936c], 0
mov byte [0x100a8c0a], 0
jmp 0x100022f9
mov edx, dword [0x100a9038]
cmp byte [0x100a8c09], 0
je 0x1000237c
push 0xc
call fcn.1004b56b
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [eax], 0x100a7a60
mov ecx, dword [0x100a9384]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x10004f00
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10002650
push 0
push 0
call fcn.10053c1d
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10002565
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.100021d0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
jne 0x10002560
mov edx, dword [0x100a9038]
mov byte [0x100a8c09], 0
mov esi, dword [0x100a9030]
test esi, esi
je 0x10002428
cmp byte [0x100a8c04], 0
je 0x10002431
cmp byte [0x100a78c9], 0
je 0x10002428
push 8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
push dword [0x100a9130]
call dword [sym.imp.KERNEL32.dll_K32QueryWorkingSetEx]
test eax, eax
je 0x10002422
test byte [ebp - 0x1c], 1
je 0x10002422
mov ecx, dword [esi]
lea esi, [ecx + 0x80]
cmp esi, dword [0x100a97c8]
je 0x1000241c
mov edx, dword [0x100a7a38]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0
lea edx, [edx + ecx]
call fcn.100025e0
add esp, 4
test eax, eax
je 0x1000241c
movss xmm0, dword [ebp - 0x10]
mulss xmm0, dword [0x1009d75c]
movss xmm1, dword [0x1009d788]
subss xmm1, xmm0
subss xmm1, dword [0x1009d69c]
movss dword [0x100a7a50], xmm1
mov dword [0x100a97c8], esi
mov edx, dword [0x100a9038]
cmp byte [0x100a8c04], 0
jne 0x10002447
cmp byte [0x100a8c00], 0
jne 0x10002447
cmp byte [0x100a8c07], 0
je 0x1000254f
mov eax, dword [0x100a9034]
test eax, eax
je 0x1000254f
cmp dword [eax], 2
jne 0x1000254f
mov esi, dword [0x100a903c]
test esi, esi
je 0x1000254f
cmp byte [esi + 0x30], 0
je 0x1000254f
test edx, edx
je 0x1000248d
mov eax, dword [edx]
test eax, eax
je 0x1000248d
mov al, byte [eax + 0x17b]
test al, al
jne 0x1000254f
cmp byte [0x100a8c07], 0
je 0x100024aa
cmp byte [0x100a7a78], 0
je 0x100024aa
call fcn.1000e770
mov esi, dword [0x100a903c]
cmp byte [0x100a8c04], 0
jne 0x100024c0
cmp byte [0x100a8c00], 0
je 0x1000254f
cmp byte [0x100a9778], 0
je 0x1000254f
mov eax, dword [0x100a9774]
mov esi, dword [esi]
mov edx, esi
lea ecx, [eax + eax*2]
mov eax, dword [0x100a9768]
lea edi, [eax + ecx*8]
mov ecx, edi
call fcn.1000d390
mov edx, esi
mov ecx, edi
call fcn.1000e2c0
movd xmm0, dword [edi + 4]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
addss xmm1, dword [0x100a9374]
comiss xmm1, xmm0
jb 0x1000254f
mov eax, dword [0x100a976c]
sub eax, dword [0x100a9768]
mov ecx, dword [0x100a9774]
sar eax, 3
inc ecx
imul eax, eax, 0xaaaaaaab
mov dword [0x100a9774], ecx
cmp ecx, eax
jb 0x1000254a
mov byte [0x100a9778], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1000d690
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10053cae
push 6
mov dword [ebp - 0x14], 0
call fcn.1004b00a
int3