Function at 0x401420
Capabilities:
Create thread
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x43a662
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x448e28]
xor eax, esp
mov dword [esp + 0x47c], eax
push ebx
push ebp
push edi
mov eax, dword [0x448e28]
xor eax, esp
push eax
lea eax, [esp + 0x490]
mov dword fs:[0], eax
mov ecx, esi
mov dword [esp + 0x78], esi
call fcn.00415125
xor edi, edi
push edi
push edi
mov dword [esp + 0x4a0], edi
push 1
push edi
mov dword [esi + 0x54], vtable.base_thread.0
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x68], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edi
mov byte [esp + 0x498], 1
lea ebx, [esi + 0x6c]
push ebx
mov dword [esi], vtable.CDlgFloat.0
mov dword [esi + 0x54], vtable.CDlgFloat.1.0
call fcn.0040a9e0
lea eax, [esi + 0x84]
push eax
mov byte [esp + 0x49c], 2
call fcn.0040a9e0
mov byte [esp + 0x498], 3
call fcn.0041b120
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4014e3
push 0x80004005
call fcn.00408c10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa0], eax
mov byte [esp + 0x498], 4
call fcn.0041b120
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x401517
push 0x80004005
call fcn.00408c10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa4], eax
mov byte [esp + 0x498], 5
call fcn.0041b120
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40154b
push 0x80004005
call fcn.00408c10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa8], eax
mov byte [esp + 0x498], 6
call fcn.0041b120
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40157f
push 0x80004005
call fcn.00408c10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xac], eax
mov byte [esp + 0x498], 7
call fcn.0041b120
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4015b3
push 0x80004005
call fcn.00408c10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xb4], eax
mov byte [esp + 0x498], 8
call fcn.0041b120
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4015e7
push 0x80004005
call fcn.00408c10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xb8], eax
push 4
mov byte [esp + 0x49c], 9
lea ebp, [esi + 0xbc]
call fcn.00412ddc
add esp, 4
cmp eax, edi
je 0x401619
mov dword [eax], ebp
jmp 0x40161b
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
lea ecx, [esi + 0xdc]
push ecx
mov byte [esp + 0x49c], 0xa
call fcn.0040a9e0
mov byte [esp + 0x498], 0xb
mov byte [esi + 0xf4], 1
lea ebp, [esi + 0xf8]
call fcn.0041b120
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40166d
push 0x80004005
call fcn.00408c10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x498], 0xc
call fcn.0041b120
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40169e
push 0x80004005
call fcn.00408c10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xfc], eax
mov byte [esp + 0x498], 0xd
call fcn.0041b120
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4016d2
push 0x80004005
call fcn.00408c10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x100], eax
push 0x206
lea edx, [esp + 0x28a]
xor ecx, ecx
push edi
mov byte [esp + 0x4a0], 0xe
push edx
mov word [esp + 0x290], cx
call fcn.004221b0
add esp, 0xc
lea eax, [esp + 0x284]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x284]
push ecx
lea ecx, [esp + 0x18]
call fcn.00408640
push ecx
mov byte [esp + 0x49c], 0xf
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x43f9dc
call fcn.00408640
push 0x94
push ecx
mov edx, esp
mov byte [esp + 0x4a4], 0x10
mov dword [esp + 0x24], esp
push 0x43f9e4
lea eax, [esp + 0x24]
push eax
push edx
call fcn.00405a30
add esp, 0xc
mov byte [esp + 0x4a4], 0xf
call fcn.00404210
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x43f9dc
call fcn.00408640
push 0x93
push ecx
mov ecx, esp
mov byte [esp + 0x4a4], 0x11
mov dword [esp + 0x24], esp
push 0x43f9fc
lea edx, [esp + 0x24]
push edx
push ecx
call fcn.00405a30
add esp, 0xc
mov byte [esp + 0x4a4], 0xf
call fcn.00404210
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push 0xa
push 0x43f9fc
lea ecx, [esp + 0x1c]
call fcn.00406d90
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
je 0x40183e
push 0x43fa14
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x40183e
lea edx, [esp + 0x74]
push edx
call eax
add esp, 4
push eax
mov ecx, ebp
mov byte [esp + 0x49c], 0x12
call fcn.00408250
mov byte [esp + 0x498], 0xf
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40183e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp]
cmp dword [eax - 0xc], edi
jl 0x40190b
push 0x43fa24
push eax
call fcn.0041f78a
add esp, 8
cmp eax, edi
je 0x40190b
sub eax, dword [ebp]
sar eax, 1
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x40190b
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.004059b0
push eax
lea ecx, [esi + 0x100]
mov byte [esp + 0x49c], 0x13
call fcn.00408250
mov byte [esp + 0x498], 0xf
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4018bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
add ecx, 2
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call fcn.00405980
push eax
lea ecx, [esi + 0xfc]
mov byte [esp + 0x49c], 0x14
call fcn.00408250
mov byte [esp + 0x498], 0xf
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40190b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x44d374]
cmp ecx, edi
jne 0x401949
push 0x7c
call fcn.00412ddc
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x498], 0x15
cmp eax, edi
je 0x401937
push eax
call fcn.0040baa0
jmp 0x401939
xor eax, eax
mov ecx, eax
mov byte [esp + 0x498], 0xf
mov dword [0x44d374], ecx
call fcn.0040bca0
push 0x206
lea edx, [esp + 0x82]
xor ecx, ecx
push edi
push edx
mov dword [esi + 0xb0], edi
mov word [esp + 0x88], cx
call fcn.004221b0
add esp, 0xc
push edi
push 0x26
lea eax, [esp + 0x84]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x7c]
lea ecx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x401990
sub eax, ecx
sar eax, 1
push eax
lea ecx, [esp + 0x80]
push ecx
lea ebp, [esi + 0xac]
mov ecx, ebp
call fcn.00408530
push 0x26
push str.DTLSoftDriveTheLifeDriveTheLife.exe
mov ecx, ebp
call fcn.00406d90
mov ebp, dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x20]
push eax
mov dword [esi + 0x9c], 0xffffffff
mov dword [esp + 0x60], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x40], 0x1a
mov dword [esp + 0x3c], 0x1dc
mov dword [esp + 0x34], 0x1d1
mov dword [esp + 0x78], esi
call ebp
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x28]
push edx
lea eax, [esi + 0x84]
push eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x64], 0x82
mov dword [esp + 0x6c], 4
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], 0xfa2
call fcn.00405b40
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x38], 0x10e
mov dword [esp + 0x40], 0x128
mov dword [esp + 0x3c], 0x191
mov dword [esp + 0x34], 0x159
mov dword [esp + 0x78], esi
call ebp
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x84]
push eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], 0x83
mov dword [esp + 0x6c], 4
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], 0xfa3
call fcn.00405b40
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], 0x10e
mov dword [esp + 0x38], 0x128
mov dword [esp + 0x34], 0x1d3
mov dword [esp + 0x2c], 0x19b
mov dword [esp + 0x70], esi
push ecx
lea edx, [esp + 0x20]
push edx
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x48], eax
push ecx
lea eax, [esi + 0x84]
push eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x64], 0x85
mov dword [esp + 0x6c], 4
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], 0xfa4
call fcn.00405b40
fld1
sub esp, 8
mov eax, esp
mov dword [esp + 0x18], esp
push ecx
fstp dword [esp]
push 0x84
push ebx
mov dword [eax], 0xf
mov dword [eax + 4], 0xf
call fcn.00409f80
fld1
sub esp, 8
mov eax, esp
mov dword [esp + 0x18], esp
push ecx
fstp dword [esp]
push 0x86
push ebx
mov dword [eax], 0x156
mov dword [eax + 4], 0x96
call fcn.00409f80
fld1
sub esp, 8
mov eax, esp
mov dword [esp + 0x18], esp
push ecx
fstp dword [esp]
push 0x87
push ebx
mov dword [eax], 7
mov dword [eax + 4], 0x30
call fcn.00409f80
fld1
sub esp, 8
mov eax, esp
mov dword [esp + 0x18], esp
push ecx
fstp dword [esp]
push 0x88
mov ebp, 0x118
push ebx
mov dword [eax], 0x1a
mov dword [eax + 4], ebp
call fcn.00409f80
fldz
sub esp, 8
mov eax, esp
mov dword [esp + 0x18], esp
push ecx
fstp dword [esp]
push 0x89
push ebx
mov dword [eax], 0x1a
mov dword [eax + 4], ebp
call fcn.00409f80
mov edx, dword [esi + 0xf8]
cmp dword [edx - 0xc], edi
je 0x401c5f
fld1
sub esp, 8
mov eax, esp
mov dword [esp + 0x18], esp
push ecx
fstp dword [esp]
push 0x91
push ebx
mov dword [eax], 0x170
mov dword [eax + 4], 0xa3
call fcn.00409f80
mov eax, ebx
call fcn.0040a4a0
push edi
push edi
push esi
push 0x405830
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x498], 0xe
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401c9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x490]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.0041f350
add esp, 0x48c
ret