Function at 0x42e390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3028
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4e500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + 0x21]
test ecx, ecx
je 0x42e3cd
xor eax, eax
jmp 0x42e616
mov edx, dword [ebp - 0x34]
movzx eax, byte [edx + 0x20]
test eax, eax
je 0x42e3e2
mov eax, 1
jmp 0x42e616
push str.Parent_Thread_Initializing...
push 0x4e7f50
call fcn.00427440
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.0042d1b0
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00429180
test eax, eax
jne 0x42e423
push str.Failed_to_DeleteDownloadTempFile.
push 0x4e7f50
call fcn.00427440
add esp, 8
mov ecx, dword [ebp - 0x34]
add ecx, 0xb8
call fcn.00426210
test eax, eax
je 0x42e447
mov ecx, dword [ebp - 0x34]
add ecx, 0x90
call fcn.00426210
test eax, eax
jne 0x42e477
push str.Failed_to_initialize_critical_section.
push 0x4e7f50
call fcn.00427440
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406200
mov eax, dword [ebp - 0x38]
jmp 0x42e616
mov ecx, dword [ebp - 0x34]
add ecx, 0x90
call fcn.00426230
mov ecx, dword [ebp - 0x34]
add ecx, 0x7c
call fcn.0042e950
movzx ecx, al
test ecx, ecx
jne 0x42e4a4
mov ecx, dword [ebp - 0x34]
add ecx, 0x7c
call fcn.0042e8f0
jmp 0x42e485
mov ecx, dword [ebp - 0x34]
add ecx, 0x90
call fcn.00426250
mov ecx, dword [ebp - 0x34]
add ecx, 0xb8
call fcn.00426230
mov ecx, dword [ebp - 0x34]
add ecx, 0xb0
call fcn.0042e800
movzx edx, al
test edx, edx
jne 0x42e4e3
mov ecx, dword [ebp - 0x34]
add ecx, 0xb0
call fcn.0042e770
mov ecx, dword [ebp - 0x34]
add ecx, 0xb8
call fcn.00426250
mov ecx, dword [ebp - 0x34]
add ecx, 0x24
call fcn.0042cd80
test eax, eax
jne 0x42e530
push 0x4dc970
push 0x4e7f50
call fcn.00427440
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406200
mov eax, dword [ebp - 0x3c]
jmp 0x42e616
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x18], edx
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x24
call fcn.0042cfc0
test eax, eax
jne 0x42e595
push 0x4dc8ec
push 0x4e7f50
call fcn.00427440
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406200
mov eax, dword [ebp - 0x40]
jmp 0x42e616
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x74], 0
jne 0x42e5f6
mov edx, dword [ebp - 0x34]
add edx, 0x78
push edx
push 0
push 0
push 0x42d940
push 0
push 0
call fcn.00499f3c
add esp, 0x18
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x74], 0
jne 0x42e5f6
push 0x4dc998
push 0x4e7f50
call fcn.00427440
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406200
mov eax, dword [ebp - 0x44]
jmp 0x42e616
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x20], 1
mov dword [ebp - 0x48], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406200
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a792
mov esp, ebp
pop ebp
ret