Function at 0x4134c0
Capabilities:
Create thread
Get common file path
Get startup folder
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442a4b
mov eax, dword fs:[0]
push eax
mov eax, 0x15ac
call fcn.00429040
mov eax, dword [0x452598]
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
xor ebx, ebx
mov dword [ebp - 0x157c], ebx
mov eax, dword [0x453eb8]
push 0x453ebc
lea ecx, [ebp - 0x15a0]
mov dword [ebp - 0x15a4], eax
call fcn.0040f5e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
mov dword [ebp - 4], ebx
call fcn.004296c0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ebx
push 0x17
lea eax, [ebp - 0x830]
push eax
push ebx
call esi
push ebx
push 2
lea eax, [ebp - 0xa38]
push eax
push ebx
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004296c0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x12b4], 7
mov dword [ebp - 0x12b8], ebx
mov word [ebp - 0x12c8], ax
cmp word [ebp - 0x420], ax
jne 0x4135ac
xor ecx, ecx
jmp 0x4135c4
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4135b5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x12c8]
call fcn.00414d90
xor edi, edi
mov dword [ebp - 0x1590], edi
mov dword [ebp - 0x158c], edi
mov dword [ebp - 0x1588], edi
mov dword [ebp - 0x15b0], edi
mov dword [ebp - 0x15ac], edi
mov dword [ebp - 0x15a8], edi
mov ecx, dword [ebp - 0x159c]
mov esi, dword [ebp - 0x15a0]
mov byte [ebp - 4], 3
mov dword [ebp - 0x1580], 1
cmp esi, ecx
je 0x413da7
sub ecx, esi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1594], edi
mov dword [ebp - 0x15b8], eax
je 0x413d3a
add esi, 0x44
lea esp, [esp]
push 4
push 0
lea edi, [esi - 0x14]
push str..url
mov ecx, edi
call fcn.00414fb0
cmp eax, 0xffffffff
je 0x41370e
cmp dword [esi], 0x10
jb 0x413673
mov edi, dword [edi]
lea eax, [ebp - 0x12e0]
push edi
push eax
call fcn.0041f5e0
add esp, 8
cmp dword [esi - 0x18], 0x10
mov byte [ebp - 4], 4
jb 0x413692
mov eax, dword [esi - 0x2c]
jmp 0x413695
lea eax, [esi - 0x2c]
push eax
lea eax, [ebp - 0x1298]
push eax
call fcn.0041f5e0
mov edi, dword [ebp - 0x1580]
inc edi
add esp, 8
mov dword [ebp - 0x1580], edi
cmp edi, dword [ebp - 0x15a4]
jg 0x413bfc
cmp dword [ebp - 0x1284], 8
jb 0x4136d5
push dword [ebp - 0x1298]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x12cc], 8
mov dword [ebp - 0x1284], 7
mov dword [ebp - 0x1288], 0
mov word [ebp - 0x1298], ax
mov byte [ebp - 4], 3
jb 0x413bdb
push dword [ebp - 0x12e0]
jmp 0x413bd3
cmp dword [esi - 0x18], 0x10
jb 0x413719
mov eax, dword [esi - 0x2c]
jmp 0x41371c
lea eax, [esi - 0x2c]
push eax
lea eax, [ebp - 0x1298]
push eax
call fcn.0041f5e0
add esp, 8
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x1250], ax
lea eax, [ebp - 0x12c8]
push eax
lea ecx, [ebp - 0x1250]
mov byte [ebp - 4], 5
mov dword [ebp - 0x123c], 7
mov dword [ebp - 0x1240], 0
call fcn.00414c70
cmp dword [esi], 0x10
mov byte [ebp - 4], 6
jb 0x41376d
mov edi, dword [edi]
lea eax, [ebp - 0x1280]
push edi
push eax
call fcn.0041f5e0
add esp, 8
cmp dword [esi - 0x30], 0x10
mov byte [ebp - 4], 7
jb 0x41378c
mov eax, dword [esi - 0x44]
jmp 0x41378f
lea eax, [esi - 0x44]
push eax
lea eax, [ebp - 0x1268]
push eax
call fcn.0041f5e0
add esp, 8
cmp dword [esi + 0x30], 0x10
mov byte [ebp - 4], 8
jb 0x4137ae
mov eax, dword [esi + 0x1c]
jmp 0x4137b1
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x12b0]
push eax
call fcn.0041f5e0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
mov byte [ebp - 4], 9
call fcn.004296c0
cmp dword [ebp - 0x1254], 8
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x1268]
cmovae eax, dword [ebp - 0x1268]
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x218]
push 0x44545c
push eax
call edi
add esp, 0x24
lea eax, [ebp - 0x1578]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x413b00
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004296c0
cmp dword [ebp - 0x1254], 8
lea eax, [ebp - 0x1268]
cmovae eax, dword [ebp - 0x1268]
push eax
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x218]
push 0x44545c
push eax
call edi
add esp, 0x1c
lea eax, [ebp - 0x1578]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x413b00
cmp dword [ebp - 0x126c], 8
lea ecx, [ebp - 0x1280]
cmovae ecx, dword [ebp - 0x1280]
cmp dword [ebp - 0x12b4], 8
push ecx
lea eax, [ebp - 0x12c8]
cmovae eax, dword [ebp - 0x12c8]
push eax
lea eax, [ebp - 0x1238]
push str._s_s
push eax
call edi
add esp, 0x10
cmp word [ebp - 0x1238], 0
jne 0x4138cb
xor ecx, ecx
jmp 0x4138e3
lea ecx, [ebp - 0x1238]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4138d4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1238]
push eax
lea ecx, [ebp - 0x1250]
call fcn.00414d90
push 0x44
call fcn.00428209
mov edi, eax
add esp, 4
mov dword [ebp - 0x15b4], edi
mov byte [ebp - 4], 0xa
test edi, edi
je 0x413988
cmp dword [ebp - 0x1284], 8
lea ecx, [ebp - 0x1298]
cmovae ecx, dword [ebp - 0x1298]
push ecx
lea ecx, [ebp - 0x12e0]
call fcn.0040f580
or ebx, 1
cmp dword [ebp - 0x123c], 8
lea eax, [ebp - 0x1250]
cmovae eax, dword [ebp - 0x1250]
push eax
lea ecx, [ebp - 0x12f8]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x157c], ebx
call fcn.0040f580
push 0
lea eax, [ebp - 0x12e0]
push eax
lea eax, [ebp - 0x12f8]
or ebx, 2
push eax
mov ecx, edi
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x157c], ebx
call fcn.0041ba60
mov edi, eax
jmp 0x41398a
xor edi, edi
test bl, 2
je 0x4139c6
and ebx, 0xfffffffd
cmp dword [ebp - 0x12e4], 8
jb 0x4139a9
push dword [ebp - 0x12f8]
call fcn.004281da
add esp, 4
xor eax, eax
mov dword [ebp - 0x12e4], 7
mov dword [ebp - 0x12e8], 0
mov word [ebp - 0x12f8], ax
mov dword [ebp - 4], 9
test bl, 1
je 0x413a09
and ebx, 0xfffffffe
cmp dword [ebp - 0x12cc], 8
jb 0x4139ec
push dword [ebp - 0x12e0]
call fcn.004281da
add esp, 4
xor eax, eax
mov dword [ebp - 0x12cc], 7
mov dword [ebp - 0x12d0], 0
mov word [ebp - 0x12e0], ax
lea eax, [edi + 8]
push eax
push 4
push edi
push 0x413f60
push 0
push 0
mov byte [edi + 0xd], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
test eax, eax
je 0x413a31
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [edi + 4]
mov dword [ebp - 0x157c], eax
lea eax, [ebp - 0x157c]
push eax
lea ecx, [ebp - 0x1590]
call fcn.004151c0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.004296c0
add esp, 0xc
lea eax, [ebp - 0x628]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x1314], 7
mov dword [ebp - 0x1318], 0
mov word [ebp - 0x1328], ax
mov dword [ebp - 0x12fc], 7
mov dword [ebp - 0x1300], eax
mov word [ebp - 0x1310], ax
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x1250]
push eax
lea ecx, [ebp - 0x1328]
mov byte [ebp - 4], 0xf
call fcn.00414c70
lea eax, [ebp - 0x1328]
push eax
lea ecx, [ebp - 0x15b0]
call fcn.004152e0
mov eax, dword [ebp - 0x1580]
inc eax
mov dword [ebp - 0x1580], eax
lea ecx, [ebp - 0x1328]
cmp eax, dword [ebp - 0x15a4]
jg 0x413c48
call fcn.00410990
cmp dword [ebp - 0x129c], 8
jb 0x413b17
push dword [ebp - 0x12b0]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x1254], 8
mov dword [ebp - 0x129c], 7
mov dword [ebp - 0x12a0], eax
mov word [ebp - 0x12b0], ax
jb 0x413b47
push dword [ebp - 0x1268]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x126c], 8
mov dword [ebp - 0x1254], 7
mov dword [ebp - 0x1258], eax
mov word [ebp - 0x1268], ax
jb 0x413b77
push dword [ebp - 0x1280]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x123c], 8
mov dword [ebp - 0x126c], 7
mov dword [ebp - 0x1270], eax
mov word [ebp - 0x1280], ax
jb 0x413ba7
push dword [ebp - 0x1250]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x1284], 8
mov dword [ebp - 0x123c], 7
mov dword [ebp - 0x1240], eax
mov word [ebp - 0x1250], ax
mov byte [ebp - 4], 3
jb 0x413bdb
push dword [ebp - 0x1298]
call fcn.004281da
add esp, 4
mov eax, dword [ebp - 0x1594]
inc eax
add esi, 0x78
mov dword [ebp - 0x1594], eax
cmp eax, dword [ebp - 0x15b8]
jb 0x413650
jmp 0x413d34
cmp dword [ebp - 0x1284], 8
jb 0x413c13
push dword [ebp - 0x1298]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x12cc], 8
mov dword [ebp - 0x1284], 7
mov dword [ebp - 0x1288], 0
mov word [ebp - 0x1298], ax
jb 0x413d34
push dword [ebp - 0x12e0]
jmp 0x413d2c
call fcn.00410990
cmp dword [ebp - 0x129c], 8
jb 0x413c64
push dword [ebp - 0x12b0]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x1254], 8
mov dword [ebp - 0x129c], 7
mov dword [ebp - 0x12a0], 0
mov word [ebp - 0x12b0], ax
jb 0x413c98
push dword [ebp - 0x1268]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x126c], 8
mov dword [ebp - 0x1254], 7
mov dword [ebp - 0x1258], 0
mov word [ebp - 0x1268], ax
jb 0x413ccc
push dword [ebp - 0x1280]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x123c], 8
mov dword [ebp - 0x126c], 7
mov dword [ebp - 0x1270], 0
mov word [ebp - 0x1280], ax
jb 0x413d00
push dword [ebp - 0x1250]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x1284], 8
mov dword [ebp - 0x123c], 7
mov dword [ebp - 0x1240], 0
mov word [ebp - 0x1250], ax
jb 0x413d34
push dword [ebp - 0x1298]
call fcn.004281da
add esp, 4
mov edi, dword [ebp - 0x1590]
mov ebx, dword [ebp - 0x158c]
sub ebx, edi
sar ebx, 2
xor esi, esi
test ebx, ebx
je 0x413d60
jmp 0x413d50
push 0xffffffffffffffff
push dword [edi + esi*4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc esi
cmp esi, ebx
jb 0x413d50
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x15b0]
test esi, esi
je 0x413d94
push dword [ebp - 0x15b4]
lea eax, [ebp - 0x1581]
push eax
push dword [ebp - 0x15ac]
push esi
call fcn.0040f010
push esi
call fcn.004281da
add esp, 0x14
test edi, edi
je 0x413da1
push edi
call fcn.004281da
add esp, 4
mov esi, dword [ebp - 0x15a0]
cmp dword [ebp - 0x12b4], 8
jb 0x413dbe
push dword [ebp - 0x12c8]
call fcn.004281da
add esp, 4
xor eax, eax
mov dword [ebp - 0x12b4], 7
mov dword [ebp - 0x12b8], 0
mov word [ebp - 0x12c8], ax
test esi, esi
je 0x413e07
mov ebx, dword [ebp - 0x159c]
mov edi, dword [ebp - 0x15a0]
cmp edi, ebx
je 0x413dfe
nop
mov ecx, esi
call fcn.00410a60
add esi, 0x78
cmp esi, ebx
jne 0x413df0
push edi
call fcn.004281da
add esp, 4
xor eax, eax
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.00428be6
mov esp, ebp
pop ebp
ret 4