Function at 0x446270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54cd1a
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5d6024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00445fd0
push 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x70]
push str._uis_evt
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00407c60
mov dword [ebp - 4], 0
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x88]
call fcn.004e7560
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00407f30
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
cmp ebx, dword [edi + 8]
je 0x446328
mov edx, dword [edi + 4]
lea ecx, [edi + 4]
call dword [edx + 4]
mov dword [edi + 8], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00407f30
mov ecx, dword [edi + 0x14]
xor edx, edx
mov eax, dword [ecx]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x58], 0x13ba
mov eax, dword [eax + 8]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 3
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], dx
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 5
lea edx, [ebp - 0x58]
push edx
call eax
mov bl, al
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f30
test bl, bl
je 0x446452
mov ecx, dword [edi + 0x14]
xor edx, edx
mov eax, dword [ecx]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x58], 0x13b9
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 8
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], dx
mov byte [ebp - 4], 9
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xa
lea edx, [ebp - 0x58]
push edx
call dword [eax + 8]
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x3c]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407f30
jmp 0x4464b1
push 8
call fcn.0052227d
mov esi, eax
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 4], 0xd
mov dword [esi], 0x4465e0
mov dword [esi + 4], edi
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push esi
push 0x42ef90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x4464a0
push 8
push esi
call fcn.0052224c
add esp, 8
cmp ebx, dword [edi + 0x10]
je 0x4464b1
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0xc]
call dword [eax + 4]
mov dword [edi + 0x10], ebx
push 0xffffffffffffffff
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052223b
mov esp, ebp
pop ebp
ret