Function at 0x4382c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4862
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, 1
test eax, eax
je 0x438312
mov ecx, dword [ebp - 0x44]
call fcn.004380e0
movzx ecx, al
test ecx, ecx
je 0x438308
jmp 0x438312
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4382ec
mov dword [ebp - 0x48], 0
jmp 0x438324
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00436120
cmp dword [ebp - 0x48], eax
jae 0x43860c
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0043f900
mov ecx, dword [eax]
cmp dword [ecx + 0xf4], 0
jne 0x43845b
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0043f900
mov eax, dword [eax]
cmp dword [eax + 0x110], 0
jne 0x43845b
push 0x24
call fcn.00491b9d
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0
je 0x43839b
mov ecx, dword [ebp - 0x58]
call fcn.0043f380
mov dword [ebp - 0x5c], eax
jmp 0x4383a2
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0043f900
mov ecx, dword [eax]
add ecx, 0xc0
call fcn.004043e0
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00401f10
add esp, 8
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.004030e0
lea ecx, [ebp - 0x28]
call fcn.00404c00
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0043f900
mov edx, dword [eax]
push edx
call fcn.00439ce0
add esp, 4
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 0x1c], al
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x1d], 0
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x1e], 0
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x20], 0
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0043f900
mov ecx, dword [eax]
push ecx
call fcn.00439ce0
add esp, 4
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x21], al
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0043f900
mov ecx, dword [eax]
cmp dword [ecx + 0xf4], 0
je 0x43855f
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0043f900
mov eax, dword [eax]
cmp dword [eax + 0x110], 0
jne 0x43855f
push 0x24
call fcn.00491b9d
add esp, 4
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x60], 0
je 0x4384be
mov ecx, dword [ebp - 0x60]
call fcn.0043f380
mov dword [ebp - 0x64], eax
jmp 0x4384c5
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0043f900
mov ecx, dword [eax]
add ecx, 0xc0
call fcn.004043e0
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00401f10
add esp, 8
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x50]
call fcn.004030e0
lea ecx, [ebp - 0x40]
call fcn.00404c00
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0043f900
mov ecx, dword [eax]
mov edx, dword [ebp - 0x50]
mov eax, dword [ecx + 0xf4]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx + 0x1c], 0
mov edx, dword [ebp - 0x50]
mov byte [edx + 0x1d], 1
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x1e], 0
mov ecx, dword [ebp - 0x50]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp - 0x50]
mov byte [edx + 0x20], 0
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x21], 0
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0043f900
mov edx, dword [eax]
cmp dword [edx + 0xf4], 0
je 0x438607
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0043f900
mov ecx, dword [eax]
cmp dword [ecx + 0x110], 0
je 0x438607
push 8
call fcn.00491b9d
add esp, 4
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0043f900
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov dword [eax + 4], edx
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
push 0x43a760
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov ecx, dword [ebp - 0x44]
call fcn.0043b880
mov dword [eax], esi
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x12c]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + edx*4 + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x43831b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret