Function at 0x4462c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465794
mov eax, dword fs:[0]
push eax
sub esp, 0x89c
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 0x34], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x898], ecx
call fcn.00447070
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x446306
jmp 0x446aae
cmp dword [ebp + 0xc], 0
je 0x446312
cmp dword [ebp + 0x10], 0
jge 0x446317
jmp 0x446aae
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x898]
call fcn.00442ea0
test eax, eax
jne 0x44637c
jmp 0x446aae
cmp dword [ebp - 0x10], 0xaa
jne 0x446391
cmp dword [ebp - 0x20], 1
je 0x446396
cmp dword [ebp - 0x20], 2
je 0x446396
jmp 0x446aae
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x89c], edx
cmp dword [ebp - 0x89c], 0x100
je 0x4463c0
cmp dword [ebp - 0x89c], 0x200
je 0x446863
jmp 0x446aa6
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x8a0], eax
mov ecx, dword [ebp - 0x8a0]
sub ecx, 0x102
mov dword [ebp - 0x8a0], ecx
cmp dword [ebp - 0x8a0], 0x12
ja case.0x4463f5.1
mov edx, dword [ebp - 0x8a0]
movzx eax, byte [edx + 0x446ae0]
jmp dword [eax*4 + 0x446acc]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x898]
mov edx, dword [ecx + 0x19ac]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x18]
call fcn.00401ae0
test eax, eax
jne 0x44642f
mov ecx, dword [ebp - 0x18]
call fcn.00455550
test eax, eax
jne 0x44649d
mov dword [ebp - 0x60], 6
mov ecx, dword [ebp - 0x30]
add ecx, 4
mov edx, dword [ecx]
mov dword [ebp - 0x5c], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x58], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x54], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x50], eax
mov ecx, dword [0x46875c]
mov dword [ebp - 0x4c], ecx
mov edx, dword [0x468760]
mov dword [ebp - 0x48], edx
mov eax, dword [0x468764]
mov dword [ebp - 0x44], eax
mov ecx, dword [0x468768]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0
xor edx, edx
mov dword [ebp - 0x38], edx
push 0x2c
lea eax, [ebp - 0x60]
push eax
push 0x102
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x898]
call fcn.004433d0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x8a4], edx
cmp dword [ebp - 0x8a4], 0x40
ja 0x4464e3
cmp dword [ebp - 0x8a4], 0x40
je 0x446635
cmp dword [ebp - 0x8a4], 0
je 0x446510
cmp dword [ebp - 0x8a4], 2
je 0x446635
cmp dword [ebp - 0x8a4], 0x20
je 0x446510
jmp 0x446676
cmp dword [ebp - 0x8a4], 0x200
je 0x446510
cmp dword [ebp - 0x8a4], 0x8000
je 0x446510
cmp dword [ebp - 0x8a4], 0x10000
je 0x446635
jmp 0x446676
mov ecx, dword [ebp - 0x898]
call fcn.00443d60
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xb8], eax
mov word [ebp - 0xb4], 0
push 0x4c
push 0
lea ecx, [ebp - 0xb2]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0xb8]
movzx eax, byte [edx + 0x13]
push eax
mov ecx, dword [ebp - 0xb8]
movzx edx, byte [ecx + 0x12]
push edx
mov eax, dword [ebp - 0xb8]
movzx ecx, byte [eax + 0x11]
push ecx
mov edx, dword [ebp - 0xb8]
movzx eax, byte [edx + 0x10]
push eax
mov ecx, dword [ebp - 0xb8]
movzx edx, byte [ecx + 0xf]
push edx
mov eax, dword [ebp - 0xb8]
movzx ecx, byte [eax + 0xe]
push ecx
mov edx, dword [ebp - 0xb8]
movzx eax, byte [edx + 0xd]
push eax
mov ecx, dword [ebp - 0xb8]
movzx edx, byte [ecx + 0xc]
push edx
mov eax, dword [ebp - 0xb8]
movzx ecx, word [eax + 0xa]
push ecx
mov edx, dword [ebp - 0xb8]
movzx eax, word [edx + 8]
push eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 4]
push edx
push 0x470260
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x34
push 0x4702c4
lea ecx, [ebp - 0xb4]
push ecx
call dword [sym.imp.MSVCR80.dll_wcscmp]
add esp, 8
test eax, eax
je 0x446633
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0xb8]
add eax, 4
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00461050
jmp 0x446676
mov ecx, dword [ebp - 0x898]
call fcn.00443d60
mov dword [ebp - 0xbc], 0x1c
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x18]
push edx
push 4
mov eax, dword [ebp - 0x30]
add eax, 4
push eax
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0xbc]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00461280
mov eax, dword [ebp - 0x898]
mov ecx, dword [eax + 0x19ac]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp case.0x4463f5.1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xd4], edx
cmp dword [ebp - 0xd4], 0
je 0x4466b3
mov eax, dword [ebp - 0xd4]
push eax
call sub.NTHelp.dll_int___cdecl_Help32::IsEmpty_wchar_t__
add esp, 4
test eax, eax
je 0x4466b8
jmp case.0x4463f5.1
lea ecx, [ebp - 0xe8]
push ecx
mov edx, dword [ebp - 0xd4]
push edx
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0x898]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0x898]
mov byte [edx + 0x19c8], 1
push 0
push 0
lea eax, [ebp - 0xd0]
push eax
push 0x444970
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0xffffffff
jne 0x44675c
push 0x40c
push str.startup_cancel_task_work_thread_failed._line:_d
mov ecx, dword [ebp - 0x898]
push ecx
call fcn.004434e0
add esp, 0xc
jmp 0x446769
mov edx, dword [ebp - 0xd8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4463f5.1
push 1
mov eax, dword [ebp - 0x898]
add eax, 4
push eax
lea ecx, [ebp - 0xf0]
call fcn.00455080
mov esi, dword [ebp - 0x2c]
mov ecx, 0x18c
lea edi, [ebp - 0x724]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x898]
mov dword [ecx + 0x20], 0x630
mov edx, dword [ebp - 0x898]
cmp dword [edx + 0x20], 0x800
ja 0x4467d4
mov eax, dword [ebp - 0x898]
mov ecx, dword [eax + 0x20]
push ecx
lea edx, [ebp - 0x724]
push edx
mov eax, dword [ebp - 0x898]
add eax, 0x24
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x898]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp - 0xf0]
call fcn.00455060
jmp case.0x4463f5.1
push 1
mov eax, dword [ebp - 0x898]
add eax, 4
push eax
lea ecx, [ebp - 0x72c]
call fcn.00455080
mov ecx, dword [ebp - 0x898]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 0x898]
cmp dword [eax + 0x20], 0x800
ja 0x446843
mov ecx, dword [ebp - 0x898]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x898]
add ecx, 0x24
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x898]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp - 0x72c]
call fcn.00455060
jmp 0x446aa6
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x8a8], ecx
cmp dword [ebp - 0x8a8], 0x20b
je 0x44688d
cmp dword [ebp - 0x8a8], 0x212
je 0x446a5b
jmp 0x446aa6
mov dword [ebp - 0x890], 0
xor edx, edx
mov dword [ebp - 0x88c], edx
mov dword [ebp - 0x888], edx
mov dword [ebp - 0x884], edx
mov dword [ebp - 0x880], edx
mov dword [ebp - 0x87c], edx
mov dword [ebp - 0x878], edx
mov dword [ebp - 0x874], edx
mov dword [ebp - 0x870], edx
mov dword [ebp - 0x86c], edx
mov dword [ebp - 0x868], edx
lea eax, [ebp - 0x854]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00455860
mov ecx, dword [ebp - 0x748]
mov dword [ebp - 0x88c], ecx
mov edx, dword [ebp - 0x744]
mov dword [ebp - 0x888], edx
mov eax, dword [ebp - 0x740]
mov dword [ebp - 0x884], eax
mov ecx, dword [ebp - 0x73c]
mov dword [ebp - 0x880], ecx
mov dword [ebp - 0x890], 7
push 0x2c
lea edx, [ebp - 0x890]
push edx
push 0x10a
push pe_nt_image_headers32
mov eax, dword [ebp - 0x898]
mov ecx, dword [eax + 0x1998]
push ecx
mov ecx, dword [ebp - 0x898]
call fcn.00443300
lea ecx, [ebp - 0x864]
call fcn.0040c7b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x864]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.004576c0
mov dword [ebp - 0x894], 0
jmp 0x446985
mov eax, dword [ebp - 0x894]
add eax, 1
mov dword [ebp - 0x894], eax
lea ecx, [ebp - 0x864]
call fcn.00404c50
cmp dword [ebp - 0x894], eax
jae 0x446a23
push 0x2c
push 0
lea ecx, [ebp - 0x890]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x894]
push edx
lea ecx, [ebp - 0x864]
call fcn.0040c800
add eax, 0x10c
mov ecx, dword [eax]
mov dword [ebp - 0x88c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x888], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x884], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x880], edx
mov dword [ebp - 0x890], 6
push 0x2c
lea eax, [ebp - 0x890]
push eax
push 0x10a
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x898]
mov edx, dword [ecx + 0x1998]
push edx
mov ecx, dword [ebp - 0x898]
call fcn.00443300
jmp 0x446976
push 3
push 0x20c
push 0x200
mov eax, dword [ebp - 0x898]
mov ecx, dword [eax + 0x1998]
push ecx
mov ecx, dword [ebp - 0x898]
call fcn.00443cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x864]
call fcn.0040c7e0
jmp 0x446aa6
mov edx, dword [ebp - 0x898]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x898]
cmp dword [ecx + 0x20], 0x800
ja 0x446a96
mov edx, dword [ebp - 0x898]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x898]
add edx, 0x24
push edx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x898]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor edx, edx
jne 0x4462f3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret 0xc