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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fd04
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x44f598]
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 edi, ecx
mov dword [ebp - 0x340], edi
xor ebx, ebx
mov dword [ebp - 0x33c], ebx
call fcn.00411240
push ebx
push 0x1a
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x330]
call fcn.004218b0
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], ebx
mov word [ebp - 0x290], ax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], eax
mov word [ebp - 0x248], ax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], eax
mov word [ebp - 0x260], ax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], eax
mov word [ebp - 0x278], ax
mov esi, dword [edi + 0x18c]
xor ecx, ecx
mov dword [ebp - 0x338], ecx
mov ecx, dword [edi + 0x190]
sub ecx, esi
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
mov byte [ebp - 4], 4
add eax, edx
je 0x411d32
xor eax, eax
mov dword [ebp - 0x344], 0x2f
mov dword [ebp - 0x334], eax
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x4116fd
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0041d030
mov esi, eax
lea eax, [ebp - 0x248]
add esp, 8
cmp eax, esi
je 0x4117a5
cmp dword [ebp - 0x234], 8
jb 0x411734
push dword [ebp - 0x248]
call fcn.00425b0a
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp dword [esi + 0x14], 8
jae 0x411772
mov eax, dword [esi + 0x10]
inc eax
je 0x411780
add eax, eax
push eax
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.00425cd0
add esp, 0xc
jmp 0x411780
mov eax, dword [esi]
mov dword [ebp - 0x248], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x238], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x21c], 8
jb 0x4117bc
push dword [ebp - 0x230]
call fcn.00425b0a
add esp, 4
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x344]
push eax
lea ecx, [ebp - 0x248]
call fcn.00413920
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
call fcn.00413a80
mov esi, eax
lea eax, [ebp - 0x278]
cmp eax, esi
je 0x411880
cmp dword [ebp - 0x264], 8
jb 0x41180f
push dword [ebp - 0x278]
call fcn.00425b0a
add esp, 4
xor eax, eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
cmp dword [esi + 0x14], 8
jae 0x41184d
mov eax, dword [esi + 0x10]
inc eax
je 0x41185b
add eax, eax
push eax
lea eax, [ebp - 0x278]
push esi
push eax
call fcn.00425cd0
add esp, 0xc
jmp 0x41185b
mov eax, dword [esi]
mov dword [ebp - 0x278], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x268], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x264], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x21c], 8
jb 0x411897
push dword [ebp - 0x230]
call fcn.00425b0a
add esp, 4
mov eax, dword [edi + 0x18c]
add eax, 0x30
add eax, dword [ebp - 0x334]
cmp dword [eax + 0x14], 0x10
jb 0x4118ae
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0041d030
mov esi, eax
lea eax, [ebp - 0x290]
add esp, 8
cmp eax, esi
je 0x411956
cmp dword [ebp - 0x27c], 8
jb 0x4118e5
push dword [ebp - 0x290]
call fcn.00425b0a
add esp, 4
xor eax, eax
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
cmp dword [esi + 0x14], 8
jae 0x411923
mov eax, dword [esi + 0x10]
inc eax
je 0x411931
add eax, eax
push eax
lea eax, [ebp - 0x290]
push esi
push eax
call fcn.00425cd0
add esp, 0xc
jmp 0x411931
mov eax, dword [esi]
mov dword [ebp - 0x290], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x280], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x27c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x21c], 8
jb 0x41196d
push dword [ebp - 0x230]
call fcn.00425b0a
add esp, 4
mov eax, dword [edi + 0x18c]
add eax, 0x18
add eax, dword [ebp - 0x334]
cmp dword [eax + 0x14], 0x10
jb 0x411984
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0041d030
mov esi, eax
lea eax, [ebp - 0x260]
add esp, 8
cmp eax, esi
je 0x411a2c
cmp dword [ebp - 0x24c], 8
jb 0x4119bb
push dword [ebp - 0x260]
call fcn.00425b0a
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
cmp dword [esi + 0x14], 8
jae 0x4119f9
mov eax, dword [esi + 0x10]
inc eax
je 0x411a07
add eax, eax
push eax
lea eax, [ebp - 0x260]
push esi
push eax
call fcn.00425cd0
add esp, 0xc
jmp 0x411a07
mov eax, dword [esi]
mov dword [ebp - 0x260], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x250], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x24c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x21c], 8
jb 0x411a43
push dword [ebp - 0x230]
call fcn.00425b0a
add esp, 4
push 8
xor eax, eax
push str._ccid_
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00412fe0
lea eax, [edi + 0x49c]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.004139e0
cmp dword [ebp - 0x21c], 8
mov byte [ebp - 4], 4
jb 0x411aad
push dword [ebp - 0x230]
call fcn.00425b0a
add esp, 4
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x330]
push str._s_s
push eax
call fcn.00421b60
push 0x44
call fcn.00425b39
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x348], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x411be1
cmp dword [ebp - 0x234], 8
lea edx, [ebp - 0x248]
cmovae edx, dword [ebp - 0x248]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [edx], ax
je 0x411b42
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411b33
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x230]
call fcn.00412fe0
or ebx, 1
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 7
mov dword [ebp - 0x33c], ebx
call fcn.00421930
mov edx, eax
xor eax, eax
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
cmp word [edx], ax
jne 0x411b8f
xor ecx, ecx
jmp 0x411ba3
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411b94
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.00412fe0
push 0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2a8]
or ebx, 2
push eax
mov ecx, esi
mov dword [ebp - 4], 8
mov dword [ebp - 0x33c], ebx
call fcn.00419a20
mov edi, dword [ebp - 0x340]
mov esi, eax
jmp 0x411be3
xor esi, esi
test bl, 2
je 0x411c1f
and ebx, 0xfffffffd
cmp dword [ebp - 0x294], 8
jb 0x411c02
push dword [ebp - 0x2a8]
call fcn.00425b0a
add esp, 4
xor eax, eax
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
mov dword [ebp - 4], 4
test bl, 1
je 0x411c62
and ebx, 0xfffffffe
cmp dword [ebp - 0x21c], 8
jb 0x411c45
push dword [ebp - 0x230]
call fcn.00425b0a
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x4126b0
push 0
push 0
mov byte [esi + 0xd], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x411c8a
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x334]
add ecx, dword [edi + 0x18c]
cmp dword [ebp - 0x27c], 8
lea edi, [ebp - 0x290]
movzx eax, byte [ecx + 0x4a]
cmovae edi, dword [ebp - 0x290]
cmp dword [ebp - 0x24c], 8
push eax
movzx eax, byte [ecx + 0x49]
push eax
movzx eax, byte [ecx + 0x48]
lea esi, [ebp - 0x260]
cmovae esi, dword [ebp - 0x260]
push eax
lea ecx, [ebp - 0x330]
call fcn.00421930
push eax
push edi
push esi
call fcn.0041d4a0
mov edi, dword [ebp - 0x340]
inc dword [ebp - 0x338]
mov esi, dword [edi + 0x18c]
mov ecx, dword [edi + 0x190]
add dword [ebp - 0x334], 0x4c
sub ecx, esi
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 0x18
cmp dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x334]
jb 0x4116f3
call fcn.0041d930
cmp dword [ebp - 0x264], 8
jb 0x411d4e
push dword [ebp - 0x278]
call fcn.00425b0a
add esp, 4
xor eax, eax
cmp dword [ebp - 0x24c], 8
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
jb 0x411d82
push dword [ebp - 0x260]
call fcn.00425b0a
add esp, 4
xor eax, eax
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
jb 0x411db6
push dword [ebp - 0x248]
call fcn.00425b0a
add esp, 4
xor eax, eax
cmp dword [ebp - 0x27c], 8
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x411dea
push dword [ebp - 0x290]
call fcn.00425b0a
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x330]
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
mov dword [ebp - 4], 0xffffffff
call fcn.004218d0
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.00426314
mov esp, ebp
pop ebp
ret