Function at 0x411440
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446bac
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x45c4d0]
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 esi, ecx
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov eax, dword [0x45f864]
test al, 1
jne 0x41149a
or eax, 1
mov dword [0x45f864], eax
cmp dword [0x45f868], 2
je 0x4114a8
call fcn.00422640
mov eax, dword [0x45f86c]
lea ecx, [ebp - 0x40]
add eax, 0x19
cmp ecx, eax
je 0x4114c1
push 0xffffffffffffffff
push 0
push eax
call fcn.00404204
mov ecx, dword [0x45f2e8]
mov eax, ecx
mov edx, dword [0x45f2ec]
or eax, edx
jne 0x4114f8
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edx, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xf4]
mov dword [0x45f2e8], ecx
mov dword [0x45f2ec], edx
lea eax, [ebp - 0x40]
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], edx
cmp esi, eax
je 0x411511
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00404204
lea ecx, [ebp - 0xa0]
call fcn.00410980
mov ebx, eax
lea edi, [esi + 0x18]
cmp edi, ebx
je 0x411586
cmp dword [edi + 0x14], 0x10
jb 0x411535
push dword [edi]
call fcn.0042c242
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebx + 0x14], 0x10
jae 0x41155f
mov eax, dword [ebx + 0x10]
inc eax
je 0x411569
push eax
push ebx
push edi
call fcn.0042b850
add esp, 0xc
jmp 0x411569
mov eax, dword [ebx]
mov dword [edi], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [ebp - 0x8c], 0x10
jb 0x41159d
push dword [ebp - 0xa0]
call fcn.0042c242
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00421c00
lea ecx, [esi + 0x98]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x4115d2
push 0xffffffffffffffff
push 0
push eax
call fcn.00404204
lea edi, [esi + 0xb0]
lea eax, [ebp - 0x40]
cmp edi, eax
je 0x4115eb
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00404204
call fcn.00410b50
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
call fcn.00410e30
lea ecx, [ebp - 0xb8]
mov dword [esi + 0x50], eax
call fcn.00410f30
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0041df40
mov ecx, eax
lea ebx, [esi + 0x80]
mov dword [ebp - 0xf0], ecx
cmp ebx, ecx
je 0x411696
cmp dword [ebx + 0x14], 0x10
jb 0x41163f
push dword [ebx]
call fcn.0042c242
mov ecx, dword [ebp - 0xf0]
add esp, 4
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [ecx + 0x14], 0x10
jae 0x41166f
mov eax, dword [ecx + 0x10]
inc eax
je 0x411679
push eax
push ecx
push ebx
call fcn.0042b850
mov ecx, dword [ebp - 0xf0]
add esp, 0xc
jmp 0x411679
mov eax, dword [ecx]
mov dword [ebx], eax
mov dword [ecx], 0
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x14], eax
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
cmp dword [ebp - 0x5c], 0x10
jb 0x4116a7
push dword [ebp - 0x70]
call fcn.0042c242
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0xa4], 8
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
jb 0x4116d4
push dword [ebp - 0xb8]
call fcn.0042c242
add esp, 4
call fcn.00425380
mov eax, dword [eax + 0x1c]
cmp eax, 1
je 0x4116eb
cmp eax, 2
mov eax, 0x20
jne 0x4116f0
mov eax, 0x40
mov word [esi + 0x7c], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
lea ecx, [ebp - 0xe8]
mov dword [esi + 0x78], eax
call fcn.00411020
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.0041df40
mov ecx, eax
lea ebx, [esi + 0x60]
mov dword [ebp - 0xf0], ecx
cmp ebx, ecx
je 0x411798
cmp dword [ebx + 0x14], 0x10
jb 0x411741
push dword [ebx]
call fcn.0042c242
mov ecx, dword [ebp - 0xf0]
add esp, 4
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [ecx + 0x14], 0x10
jae 0x411771
mov eax, dword [ecx + 0x10]
inc eax
je 0x41177b
push eax
push ecx
push ebx
call fcn.0042b850
mov ecx, dword [ebp - 0xf0]
add esp, 0xc
jmp 0x41177b
mov eax, dword [ecx]
mov dword [ebx], eax
mov dword [ecx], 0
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x14], eax
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
cmp dword [ebp - 0x74], 0x10
jb 0x4117ac
push dword [ebp - 0x88]
call fcn.0042c242
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0xd4], 8
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
jb 0x4117dc
push dword [ebp - 0xe8]
call fcn.0042c242
add esp, 4
lea ecx, [ebp - 0x58]
call fcn.004112d0
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd0]
call fcn.0041df40
mov ebx, eax
cmp edi, ebx
je 0x41185d
cmp dword [edi + 0x14], 0x10
jb 0x41180c
push dword [edi]
call fcn.0042c242
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebx + 0x14], 0x10
jae 0x411836
mov eax, dword [ebx + 0x10]
inc eax
je 0x411840
push eax
push ebx
push edi
call fcn.0042b850
add esp, 0xc
jmp 0x411840
mov eax, dword [ebx]
mov dword [edi], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [ebp - 0xbc], 0x10
jb 0x411874
push dword [ebp - 0xd0]
call fcn.0042c242
add esp, 4
push 0xdc
call fcn.0042df7b
add esp, 4
test eax, eax
jne 0x41189c
mov byte [ebp - 0xe9], al
lea eax, [ebp - 0xe9]
push 0x45a74c
push eax
call fcn.0042ef4b
mov dword [ebp - 0xf0], eax
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004085c0
push 0
push 0
push 1
push 0
mov dword [esi + 0xd4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp dword [esi + 0xd4], 0
mov dword [esi + 0xc8], eax
je 0x4118ec
push 0
push 0
push esi
push 0x410950
push 0
push 0
call fcn.0042d948
add esp, 0x18
mov dword [esi + 0xcc], eax
cmp dword [ebp - 0x44], 8
mov byte [esi + 0xd0], 1
jb 0x411904
push dword [ebp - 0x58]
call fcn.0042c242
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x411929
push dword [ebp - 0x28]
call fcn.0042c242
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x41194c
push dword [ebp - 0x40]
call fcn.0042c242
add esp, 4
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.0042b782
mov esp, ebp
pop ebp
ret