Function at 0x10022a40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100abab0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x100d6084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [0x100db3c0]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
lea eax, [edx + 2]
cmp eax, ecx
jbe 0x10022a85
xor ecx, ecx
jmp 0x10022a8c
mov eax, dword [edi + 0x10]
movzx ecx, word [edx + eax]
lea eax, [edx + 2]
mov dword [edi + 8], eax
lea eax, [esi + 4]
mov word [esi], cx
mov ecx, edi
push eax
call fcn.1000f8f0
lea eax, [esi + 0x1c]
mov byte [edi + 4], 0
push eax
mov ecx, edi
call fcn.1000f8f0
mov edx, eax
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10022ac5
xor cl, cl
jmp 0x10022acb
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x34], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10022ae8
xor cl, cl
jmp 0x10022aee
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x35], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 2]
cmp eax, ecx
jbe 0x10022b0b
xor ecx, ecx
jmp 0x10022b12
mov eax, dword [edx + 0x10]
movzx ecx, word [edi + eax]
lea eax, [edi + 2]
mov dword [edx + 8], eax
mov word [esi + 0x3c], cx
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10022b30
xor cl, cl
jmp 0x10022b36
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x36], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10022b53
xor cl, cl
jmp 0x10022b59
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x37], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10022b76
xor cl, cl
jmp 0x10022b7c
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x38], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10022b99
xor cl, cl
jmp 0x10022b9f
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x74], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10022bbc
xor cl, cl
jmp 0x10022bc2
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x75], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10022bdf
xor cl, cl
jmp 0x10022be5
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x76], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10022c02
xor cl, cl
jmp 0x10022c08
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x77], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 1]
cmp eax, ecx
jbe 0x10022c25
xor cl, cl
jmp 0x10022c2b
mov eax, dword [edx + 0x10]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [esi + 0x78], cl
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 4]
cmp eax, ecx
jbe 0x10022c48
xor ecx, ecx
jmp 0x10022c4e
mov eax, dword [edx + 0x10]
mov ecx, dword [edi + eax]
lea eax, [edi + 4]
mov dword [edx + 8], eax
mov dword [esi + 0x44], ecx
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 4]
cmp eax, ecx
jbe 0x10022c6b
xor ecx, ecx
jmp 0x10022c71
mov eax, dword [edx + 0x10]
mov ecx, dword [edi + eax]
lea eax, [edi + 4]
mov dword [edx + 8], eax
mov dword [esi + 0x48], ecx
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 8]
cmp eax, ecx
jbe 0x10022c9a
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
jmp 0x10022ca4
mov eax, dword [edx + 0x10]
mov ebx, dword [edi + eax]
mov ecx, dword [edi + eax + 4]
lea eax, [edi + 8]
mov dword [edx + 8], eax
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ecx
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [edi + 8]
cmp eax, ecx
jbe 0x10022cd0
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
jmp 0x10022cda
mov eax, dword [edx + 0x10]
mov ebx, dword [edi + eax]
mov ecx, dword [edi + eax + 4]
lea eax, [edi + 8]
mov dword [edx + 8], eax
mov eax, dword [0x100db3b8]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ecx
test eax, eax
je 0x10022d89
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x10022d3b
cmp dword [ecx], 0
je 0x10022d3b
mov edx, dword [esi + 0x44]
push ecx
lea ecx, [ebp - 0x34]
call fcn.100198c0
add esp, 4
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [0x100db3b8]
mov ecx, dword [ecx + 0x44]
mov ecx, dword [ecx]
call fcn.1001c270
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.100022f0
mov eax, dword [0x100db3b8]
test eax, eax
je 0x10022d89
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x10022d89
cmp dword [ecx + 4], 0
je 0x10022d89
mov edx, dword [esi + 0x48]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.100198c0
add esp, 4
mov dword [ebp - 4], 1
mov edx, eax
mov ecx, dword [0x100db3b8]
mov ecx, dword [ecx + 0x44]
mov ecx, dword [ecx + 4]
call fcn.1001c270
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.100022f0
mov eax, dword [0x100db3b8]
mov byte [0x100db453], 1
test eax, eax
je 0x10022e24
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x10022da9
call fcn.100374d0
mov eax, dword [0x100db3b8]
mov edi, dword [eax + 0x4c]
test edi, edi
je 0x10022e24
cmp dword [esi + 0x5c], 0
mov ebx, dword [esi + 0x58]
jl 0x10022e24
jg 0x10022dbf
test ebx, ebx
je 0x10022e24
mov edi, dword [edi + 0x40]
test edi, edi
je 0x10022e24
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
call fcn.100a94b0
mov edx, dword [esi + 0x5c]
mov ecx, ebx
movsd qword [ebp - 0x1c], xmm0
call fcn.100a94b0
movsd xmm1, qword [ebp - 0x1c]
divsd xmm1, xmm0
push 4
push edi
mulsd xmm1, qword [0x100c7e90]
cvtpd2ps xmm0, xmm1
movss dword [ebp + 8], xmm0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10022e24
movss xmm0, dword [ebp + 8]
sub esp, 0xc
mov ecx, edi
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x100c6558]
mov eax, dword [0x100dafb4]
test eax, eax
je 0x10022e54
cmp byte [eax], 0
jne 0x10022e54
push 0
push 0
push eax
push 0x1002c090
push 0
push 0
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10022e54
mov ecx, eax
call fcn.1002b480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4