Function at 0x444a50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58cfc6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5f01b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [0x5f8660], eax
mov eax, dword [esi + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444a88
sub eax, edx
mov edx, eax
xor ebx, ebx
cmp edx, ebx
jge 0x444aa3
push 0x80070057
call fcn.004020e0
mov eax, dword [esi + 0x10]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x444ac0
push edx
lea ecx, [esi + 0x10]
call fcn.00401e80
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
push 0x445450
push ebx
push ebx
call fcn.00560432
add esp, 0x18
cmp eax, ebx
je 0x444ae3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x10]
sub eax, 0x10
push eax
mov dword [ebp - 0x30], vtable.CMessage.0
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], ecx
call fcn.00402000
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x14]
sub eax, 0x10
push eax
call fcn.00402000
mov edx, dword [esi + 0x18]
add eax, 0x10
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 1
mov eax, dword [0x5f2098]
xor esi, esi
cmp eax, ebx
jle 0x444b7f
mov edi, edi
test esi, esi
js 0x444c8f
cmp esi, eax
jge 0x444c8f
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x444bd4
mov eax, dword [0x5f2094]
mov eax, dword [ebx + eax + 0x10]
push edi
push eax
call fcn.0055de44
add esp, 8
test eax, eax
je 0x444bde
mov eax, dword [0x5f2098]
inc esi
add ebx, 0x1c
cmp esi, eax
jl 0x444b40
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
sub esp, 0x1c
mov ebx, esp
mov dword [ebx + 0xc], eax
mov dword [ebx], vtable.CMessage.0
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add edi, 0xfffffff0
mov dword [ebp + 8], esp
mov dword [ebp - 0x14], ebx
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x444c94
cmp eax, dword [edi]
jne 0x444c94
mov esi, edi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x444cc9
push 0x80004005
call fcn.004020e0
push 0x5f2090
mov ecx, esi
call fcn.00431420
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
sub esp, 0x1c
mov ebx, esp
mov dword [ebx + 0xc], eax
mov dword [ebx], vtable.CMessage.0
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add edi, 0xfffffff0
mov dword [ebp + 8], esp
mov dword [ebp - 0x14], ebx
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x444c34
cmp eax, dword [edi]
jne 0x444c34
mov esi, edi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x444c69
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x444c4d
call fcn.00401ff0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
inc eax
push eax
lea ecx, [edi + 0x10]
push ecx
push eax
lea edx, [esi + 0x10]
push edx
call fcn.0055dbf6
add esp, 0x10
add esi, 0x10
mov dword [ebx + 0x10], esi
mov byte [ebp - 4], 2
jmp 0x444cd3
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov dword [ebp + 8], eax
test eax, eax
jne 0x444cfd
call fcn.00401ff0
call fcn.0046c980
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x444cad
call fcn.00401ff0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
inc eax
push eax
lea ecx, [edi + 0x10]
push ecx
push eax
lea edx, [esi + 0x10]
push edx
call fcn.0055dbf6
add esp, 0x10
add esi, 0x10
mov dword [ebx + 0x10], esi
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x1c]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x444c75
cmp eax, dword [esi]
jne 0x444c75
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x444d1c
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 4]
inc ecx
push ecx
lea edx, [esi + 0x10]
push edx
push ecx
add eax, 0x10
push eax
call fcn.0055dbf6
mov eax, dword [ebp + 8]
add esp, 0x10
add eax, 0x10
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x18], eax
mov ebx, 0x5f2090
mov byte [ebp - 4], 1
call fcn.00431320
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444d56
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x444d6f
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret