Function at 0x442840
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb0b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4e9688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.00432fb0
lea ecx, [ebp - 0x30]
xor edi, edi
push ecx
mov dword [ebp - 4], edi
call fcn.00442c80
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov edx, eax
sub edx, esi
sar edx, 2
mov dword [ebp + 8], edi
test edx, edx
jbe 0x44294e
lea ebx, [ebx]
push 0x2c
call fcn.0049130d
add esp, 4
cmp eax, edi
je 0x4428d3
mov dword [eax], vtable.CPluginModule.0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edi
mov esi, eax
jmp 0x4428d5
xor esi, esi
mov dword [ebp - 0x18], esi
cmp esi, edi
je 0x442932
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
sar eax, 2
cmp dword [ebp + 8], eax
jb 0x4428ef
call fcn.00492f40
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + edx*4]
call fcn.004438b0
test eax, eax
jl 0x442928
cmp dword [esi + 0x20], edi
je 0x442928
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x442928
lea ecx, [esi + 8]
push ecx
push edi
call eax
cmp eax, edi
jl 0x442928
lea edx, [ebp - 0x18]
push edx
lea edi, [ebx + 4]
call fcn.00437c00
xor edi, edi
jmp 0x442932
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov edx, eax
sub edx, esi
inc ecx
sar edx, 2
mov dword [ebp + 8], ecx
cmp ecx, edx
jb 0x4428a0
mov ecx, dword [ebx + 0x14]
sub ecx, dword [ebx + 0x10]
mov dword [ebp - 0x14], edi
sar ecx, 2
mov dword [ebp + 8], edi
test ecx, ecx
jbe 0x4429ed
jmp 0x44296a
mov edi, dword [ebp + 8]
mov edx, dword [ebx + 0x14]
sub edx, dword [ebx + 0x10]
mov dword [ebp - 0x18], 0
sar edx, 2
cmp edi, edx
jb 0x442983
call fcn.00492f40
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0x18]
push ecx
lea esi, [edi*4]
mov edx, dword [eax + esi]
push 0
add eax, esi
push edx
push 0x442a60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x4429d3
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0x10]
sar eax, 2
cmp dword [ebp + 8], eax
jb 0x4429c1
call fcn.00492f40
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x18]
mov esi, dword [esi + ecx]
inc dword [ebp - 0x14]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
mov edx, dword [ebx + 0x14]
sub edx, dword [ebx + 0x10]
mov eax, dword [ebp + 8]
inc eax
sar edx, 2
mov dword [ebp + 8], eax
cmp eax, edx
jb 0x442967
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
xor ecx, ecx
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
sete cl
mov dword [ebp + 8], ecx
cmp esi, ebx
je 0x442a2a
mov edi, eax
cmp esi, eax
je 0x442a21
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ebx, [ebx]
mov edx, dword [esi]
push edx
call ebx
add esi, 4
cmp esi, edi
jne 0x442a10
mov esi, dword [ebp - 0x24]
xor ebx, ebx
push esi
call fcn.00491276
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00491276
mov eax, dword [ebp + 8]
add esp, 4
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