Function at 0x445ee4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x445eec
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x446204
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x154], 0
jne 0x445f40
mov dl, 1
mov eax, dword [0x42c3dc]
call fcn.0043428c
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0x154
mov edx, ebx
test edx, edx
je 0x445f3b
sub edx, 0xffffffc0
call fcn.00404918
mov eax, esi
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x154]
call fcn.00404918
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x174], 0
je 0x4461cb
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x154]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x4461cb
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x154]
call fcn.00404918
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x154]
mov ecx, 0x446214
call fcn.00404934
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
mov dword [ebp - 8], eax
push ebp
call fcn.00445d28
pop ecx
lea ecx, [ebp - 0x14]
mov edx, 0x44622c
mov eax, dword [ebp - 0xc]
call fcn.00432bf8
mov dl, 0x7c
mov eax, dword [ebp - 0x14]
call fcn.004081f8
test eax, eax
jle 0x44606c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 1
xor eax, eax
push ebp
push 0x446056
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov cl, 0x7c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0040826c
mov eax, dword [0x451670]
call fcn.00404254
mov esi, eax
test esi, esi
jl 0x44604c
inc esi
xor ebx, ebx
lea edi, [ebx + ebx*4]
mov eax, dword [0x451670]
mov eax, dword [eax + edi*4]
mov edx, dword [ebp - 0x10]
call fcn.004073f4
test al, al
je 0x446048
mov eax, dword [0x451670]
cmp byte [eax + edi*4 + 0x10], 0
je 0x44604c
push ebp
mov eax, dword [0x451670]
mov eax, dword [eax + edi*4]
mov edx, 0x44623c
call fcn.00445594
pop ecx
jmp 0x44604c
inc ebx
dec esi
jne 0x44600f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x446060
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x445fdd
mov eax, dword [ebp - 0xc]
call fcn.0043008c
test al, al
je 0x446095
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x13c], 0
je 0x446095
push ebp
mov edx, 0x44623c
mov eax, 0x446260
call fcn.00445594
pop ecx
mov eax, dword [ebp - 0xc]
call fcn.004300a8
test al, al
je 0x4460be
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x13c], 0
je 0x4460be
push ebp
mov edx, 0x44623c
mov eax, 0x446278
call fcn.00445594
pop ecx
mov eax, dword [ebp - 0xc]
call fcn.004300c8
test al, al
je 0x4460e4
cmp dword [0x44ec80], 0
je 0x4460e4
push ebp
mov edx, 0x44623c
mov eax, 0x44628c
call fcn.00445594
pop ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
xor eax, eax
push ebp
push 0x44613a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x446130
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax + edx*8 + 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [eax + edx*8]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x28]
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x44610d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x446144
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x10]
call sub.kernel32.dll_GetCurrentThreadId_1
cmp eax, dword [0x44f4b4]
jne 0x44618d
mov eax, 0xfa
call fcn.00428e44
test al, al
jne 0x44618d
mov eax, dword [ebp - 0xc]
add eax, 0x1ac
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
push fcn.00444f20
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1a8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1a8]
test eax, eax
jne 0x4461c3
mov eax, dword [ebp - 0xc]
call fcn.0042f614
test al, al
je 0x4461b8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1b4]
mov cl, 1
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x34]
mov eax, dword [ebp - 0xc]
push eax
call fcn.00444f20
jmp 0x4461cb
push 1
push eax
call sub.kernel32.dll_SetThreadPriority
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44620b
lea eax, [ebp - 0x24]
call fcn.00404900
lea eax, [ebp - 0x1c]
call fcn.00404900
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403618
lea eax, [ebp - 4]
mov edx, dword [0x44557c]
call fcn.0040451c
ret