Function at 0x405062
Capabilities:
Create thread

Disassembly:
push 0x1ec
mov eax, 0x43f358
call fcn.004207e7
mov ebx, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x405086
xor eax, eax
jmp 0x405a21
lea ecx, [ebp - 0x180]
call fcn.0041c0c8
and dword [ebp - 4], 0
and dword [ebp - 0x128], 0
cmp byte [ebx + 1], 0
jne 0x405326
lea ecx, [ebp - 0x1f8]
call fcn.0040979d
push ecx
mov edx, str.QlNTfEdMTkJKTQ
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.0041b774
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x114]
mov eax, dword [eax]
push 3
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x118]
push eax
call fcn.00406720
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b8]
push dword [ebx + 0xc]
push dword [ebp - 0x118]
call fcn.004068e6
mov ecx, eax
call fcn.00402ac8
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x118], eax
je 0x405120
push dword [ebp - 0x118]
call fcn.0042520a
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x120]
add ecx, 0xfffffff0
call fcn.00401745
push ecx
mov edx, str.QlNTfE1CTkY
lea ecx, [ebp - 0x120]
call fcn.0041b774
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x114]
mov eax, dword [eax]
push 3
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x118]
push eax
call fcn.00406720
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1b8]
push dword [ebx + 8]
push dword [ebp - 0x118]
call fcn.004068e6
mov ecx, eax
call fcn.00402ac8
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x118], eax
je 0x40519d
push dword [ebp - 0x118]
call fcn.0042520a
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x120]
add ecx, 0xfffffff0
call fcn.00401745
push ecx
mov edx, str.QlNTfEdGUEA
lea ecx, [ebp - 0x120]
call fcn.0041b774
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x114]
mov eax, dword [eax]
push 3
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x118]
push eax
call fcn.00406720
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b8]
push dword [ebx + 0x10]
push dword [ebp - 0x118]
call fcn.004068e6
mov ecx, eax
call fcn.00402ac8
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x118], eax
je 0x40521a
push dword [ebp - 0x118]
call fcn.0042520a
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x120]
add ecx, 0xfffffff0
call fcn.00401745
push ecx
lea ecx, [ebp - 0x1f8]
call fcn.00419435
cmp byte [ebp - 0x188], 0
jne 0x405317
mov ecx, dword [ebx + 0x2c]
sub ecx, 0x10
call fcn.00406893
add eax, 0x10
mov dword [ebp - 0x124], eax
xor ebx, ebx
mov byte [ebp - 4], 8
push ebx
mov edx, 0x44de64
lea ecx, [ebp - 0x128]
call fcn.0041b686
pop ecx
mov esi, eax
push ebx
mov edx, 0x44de88
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x120]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x124]
push dword [esi]
push dword [eax]
call fcn.004062c9
mov ecx, dword [ebp - 0x120]
lea ecx, [ecx - 0x10]
call fcn.00401745
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x128]
lea ecx, [ecx - 0x10]
call fcn.00401745
push ebx
mov edx, str.SkZQ
lea ecx, [ebp - 0x120]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x124]
mov ecx, esi
mov edx, dword [eax]
call fcn.0041de75
mov ecx, dword [ebp - 0x120]
lea ecx, [ecx - 0x10]
call fcn.00401745
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esi - 0x10]
call fcn.00401745
lea ecx, [ebp - 0x1f8]
call fcn.00409879
mov dword [ebp - 0x128], 0x20
jmp 0x405a10
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 0
call fcn.00409879
mov eax, dword [ebx + 0x14]
cmp dword [eax - 0xc], 0
je 0x40545e
mov eax, dword [ebx + 0x18]
cmp dword [eax - 0xc], 0
je 0x40545e
lea ecx, [ebp - 0x180]
call fcn.0041c3ba
test al, al
je 0x405454
lea ecx, [ebp - 0x170]
call fcn.00410ded
xor esi, esi
cmp dword [ebx + 0x34], esi
jbe 0x405380
push esi
lea ecx, [ebx + 0x30]
call fcn.00410e13
push eax
lea ecx, [ebp - 0x170]
call fcn.0040698f
inc esi
cmp esi, dword [ebx + 0x34]
jb 0x405365
push 0
mov edx, str.EhINEw0aFRMTDRIbExIW
lea ecx, [ebp - 0x124]
call fcn.0041b686
pop ecx
mov esi, eax
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x180]
call fcn.0041c81f
push dword [esi]
push dword [eax]
call fcn.00410820
mov ecx, dword [ebp - 0x120]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00401745
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x124]
add ecx, 0xfffffff0
call fcn.00401745
test esi, esi
jg 0x4053ec
xor eax, eax
push eax
push eax
push ebx
push 0x4060e7
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebx + 0x28]
movzx eax, byte [ebx]
lea ecx, [ebp - 0x180]
push dword [ebx + 0x20]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push eax
call fcn.0041cd16
mov edi, eax
test edi, edi
jne 0x405443
mov ecx, dword [ebp - 0x174]
add ecx, 0xfffffff0
call fcn.00406893
lea esi, [eax + 0x10]
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebx + 0x1c]
call fcn.0040645f
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401745
cmp edi, 4
jne 0x40545e
mov dword [ebp - 0x128], 8
jmp 0x40545e
mov dword [ebp - 0x128], 2
mov eax, dword [ebx + 0x24]
cmp dword [eax - 0xc], 0
je 0x4054d9
lea ecx, [ebp - 0x180]
call fcn.0041d1f0
test al, al
je 0x4054ce
lea ecx, [ebp - 0x160]
call fcn.00410ded
xor esi, esi
cmp dword [ebx + 0x44], esi
jbe 0x4054a3
push esi
lea ecx, [ebx + 0x40]
call fcn.00410e13
push eax
lea ecx, [ebp - 0x160]
call fcn.0040698f
inc esi
cmp esi, dword [ebx + 0x44]
jb 0x405488
push dword [ebx + 0x50]
movzx eax, byte [ebx]
lea ecx, [ebp - 0x180]
push dword [ebx + 0x24]
push eax
call fcn.0041d3c9
cmp eax, 4
mov eax, dword [ebp - 0x128]
jne 0x4054df
or eax, 0x10
mov dword [ebp - 0x128], eax
jmp 0x4054df
mov eax, dword [ebp - 0x128]
or eax, 4
jmp 0x4054c6
mov eax, dword [ebp - 0x128]
mov edi, eax
and edi, 0x10
mov dword [ebp - 0x120], edi
je 0x4055a7
mov ecx, dword [ebx + 0x2c]
sub ecx, 0x10
call fcn.00406893
add eax, 0x10
mov dword [ebp - 0x124], eax
push 0
mov edx, str.Rlt8Qk9RRkJHWnxKTVBXQk9PRkc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x11c]
call fcn.0041b686
pop ecx
mov esi, eax
push 0
mov edx, 0x44de88
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x130]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x124]
push dword [esi]
push dword [eax]
call fcn.004062c9
mov ecx, dword [ebp - 0x130]
lea ecx, [ecx - 0x10]
call fcn.00401745
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x11c]
lea ecx, [ecx - 0x10]
call fcn.00401745
push 0
mov edx, str.SkZQ
lea ecx, [ebp - 0x11c]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x124]
mov ecx, esi
mov edx, dword [eax]
call fcn.0041de75
mov ecx, dword [ebp - 0x11c]
lea ecx, [ecx - 0x10]
call fcn.00401745
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401745
mov ecx, ebx
call fcn.00405a27
push 0
mov edx, str.EhINEw0aFRMTDRIbExIW
mov byte [ebp - 0x129], 0
lea ecx, [ebp - 0x130]
call fcn.0041b686
pop ecx
mov esi, eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x180]
call fcn.0041c81f
push dword [esi]
push dword [eax]
call fcn.00410820
mov ecx, dword [ebp - 0x11c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00401745
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x130]
add ecx, 0xfffffff0
call fcn.00401745
test esi, esi
jg 0x40561c
push dword [ebx + 0x24]
call fcn.0040613e
jmp 0x4056eb
call fcn.0040133b
push eax
lea ecx, [ebp - 0x124]
call fcn.00402b5c
mov byte [ebp - 4], 0x13
mov esi, 0x44ca18
cmp byte [ebx + 2], 0
jne 0x40563f
mov esi, dword [ebx + 0x24]
push 0
mov edx, str.Dk1MRVFCTkZORlFESk1E
lea ecx, [ebp - 0x11c]
call fcn.0041b686
pop ecx
push esi
mov byte [ebp - 4], 0x14
push dword [eax]
lea eax, [ebp - 0x124]
push str._s__s
push eax
call fcn.00402eae
mov byte [ebp - 4], 0x13
add esp, 0x10
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.00401745
mov esi, dword [ebp - 0x124]
push esi
call fcn.0040613e
cmp eax, 0xffffffff
je 0x4056d2
cmp byte [ebx + 2], 0
je 0x4056d2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push ecx
push dword [ebx + 0xc]
push dword [ebx + 0xc]
push dword [ebx + 8]
push ecx
mov ecx, eax
call fcn.004018c1
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4056cc
mov ecx, edi
call fcn.00401e93
mov ecx, edi
mov byte [ebp - 0x129], al
call fcn.00401830
mov edi, dword [ebp - 0x120]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401745
cmp byte [ebp - 0x129], 0
je 0x405958
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
test byte [ebp - 0x128], 8
jne 0x4057d8
lea ecx, [ebp - 0x180]
call fcn.0041c3ba
lea ecx, [ebp - 0x180]
call fcn.0041c783
test al, al
je 0x4057d8
mov ecx, dword [ebx + 0x2c]
sub ecx, 0x10
call fcn.00406893
add eax, 0x10
mov dword [ebp - 0x120], eax
push 0
mov edx, str.Rlt8UEZXfEdQ
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x130]
call fcn.0041b686
pop ecx
mov esi, eax
push 0
mov edx, 0x44de88
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x11c]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x120]
push dword [esi]
push dword [eax]
call fcn.004062c9
mov ecx, dword [ebp - 0x11c]
lea ecx, [ecx - 0x10]
call fcn.00401745
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x130]
lea ecx, [ecx - 0x10]
call fcn.00401745
push 0
mov edx, str.SkZQ
lea ecx, [ebp - 0x11c]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0x120]
mov ecx, esi
mov edx, dword [eax]
call fcn.0041de75
mov ecx, dword [ebp - 0x11c]
lea ecx, [ecx - 0x10]
call fcn.00401745
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401745
test edi, edi
jne 0x405958
lea ecx, [ebp - 0x180]
call fcn.0041d1f0
lea ecx, [ebp - 0x180]
call fcn.0041d2f6
test al, al
je 0x405958
lea edi, [ebx + 0x2c]
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.00406893
add eax, 0x10
mov dword [ebp - 0x124], eax
push 0
mov edx, str.Rlt8UEZXfEtT
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x130]
call fcn.0041b686
pop ecx
mov esi, eax
push 0
mov edx, 0x44de88
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x11c]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x124]
push dword [esi]
push dword [eax]
call fcn.004062c9
mov ecx, dword [ebp - 0x11c]
lea ecx, [ecx - 0x10]
call fcn.00401745
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x130]
lea ecx, [ecx - 0x10]
call fcn.00401745
push 0
mov edx, str.SkZQ
lea ecx, [ebp - 0x11c]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 0x1c
mov edx, dword [eax]
mov ecx, dword [ebp - 0x124]
call fcn.0041de75
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x11c]
lea ecx, [ecx - 0x10]
call fcn.00401745
push edi
lea ecx, [ebp - 0x124]
call fcn.0040645f
push 0
mov edx, str.Rlt8Sk1QV0JPT0ZH
lea ecx, [ebp - 0x130]
call fcn.0041b686
pop ecx
mov esi, eax
push 0
mov edx, 0x44de88
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x11c]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x124]
push dword [esi]
push dword [eax]
call fcn.004062c9
mov ecx, dword [ebp - 0x11c]
lea ecx, [ecx - 0x10]
call fcn.00401745
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x130]
lea ecx, [ecx - 0x10]
call fcn.00401745
push 0
mov edx, str.SkZQ
lea ecx, [ebp - 0x11c]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 0x1f
mov esi, dword [ebp - 0x124]
mov ecx, esi
mov edx, dword [eax]
call fcn.0041de75
mov ecx, dword [ebp - 0x11c]
lea ecx, [ecx - 0x10]
call fcn.00401745
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401745
mov ecx, dword [ebx + 0x2c]
sub ecx, 0x10
call fcn.00406893
add eax, 0x10
mov dword [ebp - 0x120], eax
xor ebx, ebx
mov byte [ebp - 4], 0x20
push ebx
mov edx, str.Rlt8RltGQFZXRkc
lea ecx, [ebp - 0x130]
call fcn.0041b686
pop ecx
mov esi, eax
push ebx
mov edx, 0x44de88
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x11c]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x120]
push dword [esi]
push dword [eax]
call fcn.004062c9
mov ecx, dword [ebp - 0x11c]
lea ecx, [ecx - 0x10]
call fcn.00401745
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x130]
lea ecx, [ecx - 0x10]
call fcn.00401745
push ebx
mov edx, str.SkZQ
lea ecx, [ebp - 0x11c]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 0x23
mov esi, dword [ebp - 0x120]
mov ecx, esi
mov edx, dword [eax]
call fcn.0041de75
mov ecx, dword [ebp - 0x11c]
lea ecx, [ecx - 0x10]
call fcn.00401745
lea ecx, [esi - 0x10]
call fcn.00401745
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x180]
call fcn.0041c137
mov eax, dword [ebp - 0x128]
call fcn.00420791
ret