Function at 0x411980
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550d45
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x5a8f00]
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
push 0x103
lea eax, [ebp - 0x113]
mov dword [ebp - 4], 2
push ebx
push eax
mov dword [ebp - 0x1f8], ebx
mov byte [ebp - 0x114], bl
call fcn.005282b0
add esp, 0xc
push ebx
push 0x17
lea ecx, [ebp - 0x114]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4123d6
lea eax, [ebp - 0x114]
mov dword [ebp - 0x154], 0xf
mov dword [ebp - 0x158], ebx
mov byte [ebp - 0x168], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x411a10
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x168]
call fcn.00404410
push 0xb
mov eax, 0x5813a8
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 3
call fcn.004042f0
mov eax, dword [ebp - 0x168]
mov edi, 0x10
cmp dword [ebp - 0x154], edi
jae 0x411a5b
lea eax, [ebp - 0x168]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
push eax
call esi
push edi
mov eax, 0x5813b4
lea ecx, [ebp - 0x168]
call fcn.004042f0
mov eax, dword [ebp - 0x168]
cmp dword [ebp - 0x154], edi
jae 0x411a8a
lea eax, [ebp - 0x168]
push ebx
push eax
call esi
push 0x5813c8
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x184]
push ecx
call fcn.00409720
push 0x5813e4
lea edx, [ebp - 0x168]
push edx
lea eax, [ebp - 0x1f4]
push eax
mov byte [ebp - 4], 4
call fcn.00409720
mov ecx, eax
lea eax, [ebp + 0x40]
lea ebx, [ebp - 0x1d8]
mov byte [ebp - 4], 5
call fcn.00409440
push eax
mov eax, 0x5813d8
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 6
call fcn.004093f0
add esp, 0x1c
mov edi, 0x10
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c4], edi
jb 0x411b0b
mov ecx, dword [ebp - 0x1d8]
push ecx
call fcn.0042465c
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov dword [ebp - 0x1c4], esi
mov dword [ebp - 0x1c8], ebx
mov byte [ebp - 0x1d8], bl
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1e0], edi
jb 0x411b3f
mov edx, dword [ebp - 0x1f4]
push edx
call fcn.0042465c
add esp, 4
push 5
push 0x5813e4
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x1e0], esi
mov dword [ebp - 0x1e4], ebx
mov byte [ebp - 0x1f4], bl
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
call fcn.00404410
lea eax, [ebp + 0x40]
lea ecx, [ebp - 0x130]
lea ebx, [ebp - 0x14c]
mov byte [ebp - 4], 0xa
call fcn.00409440
sub esp, 0x1c
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x1f8], esp
push eax
mov eax, 0x5813ec
call fcn.004093f0
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x204], esp
xor esi, esi
push esi
mov ebx, 0xf
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], esi
push 0x580469
mov byte [ecx], 0
call fcn.00404410
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x200], esp
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x184]
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], esi
push eax
mov byte [ecx], 0
call fcn.00403c30
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x1fc], esp
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x184]
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], esi
push edx
mov byte [ecx], 0
call fcn.00403c30
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], bl
mov dword [ebp - 0x208], esp
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1bc]
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], esi
push eax
mov byte [ecx], 0
call fcn.00403c30
mov byte [ebp - 4], 0xb
call fcn.00410fa0
mov edi, 0x10
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x138], edi
jb 0x411c6e
mov ecx, dword [ebp - 0x14c]
push ecx
call fcn.0042465c
add esp, 4
mov dword [ebp - 0x138], ebx
mov bl, 9
mov byte [ebp - 4], bl
mov dword [ebp - 0x13c], esi
mov byte [ebp - 0x14c], 0
cmp dword [ebp - 0x11c], edi
jb 0x411c9d
mov edx, dword [ebp - 0x130]
push edx
call fcn.0042465c
add esp, 4
push 0x5813c8
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14c]
push ecx
call fcn.00409720
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x184]
mov byte [ebp - 4], 0x10
call fcn.00403af0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x138], 0x10
jb 0x411ce1
mov edx, dword [ebp - 0x14c]
push edx
call fcn.0042465c
add esp, 4
push 0x5813e4
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.00409720
mov ecx, eax
lea eax, [ebp + 0x40]
lea ebx, [ebp - 0x130]
mov byte [ebp - 4], 0x11
call fcn.00409440
push eax
mov bl, 0x12
mov eax, 0x5813f4
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], bl
call fcn.004093f0
add esp, 0x10
mov edi, eax
lea esi, [ebp - 0x1bc]
mov byte [ebp - 4], 0x13
call fcn.00403af0
mov edi, 0x10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x138], edi
jb 0x411d56
mov edx, dword [ebp - 0x14c]
push edx
call fcn.0042465c
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
cmp dword [ebp - 0x11c], edi
jb 0x411d8a
mov eax, dword [ebp - 0x130]
push eax
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], 9
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
cmp dword [ebp - 0x18c], edi
jb 0x411db7
mov ecx, dword [ebp - 0x1a0]
push ecx
call fcn.0042465c
add esp, 4
push 5
push 0x5813e4
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
call fcn.00404410
lea eax, [ebp + 0x40]
lea ecx, [ebp - 0x130]
lea ebx, [ebp - 0x14c]
mov byte [ebp - 4], 0x14
call fcn.00409440
sub esp, 0x1c
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x208], esp
push eax
mov eax, 0x581400
call fcn.004093f0
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov ecx, esp
xor ebx, ebx
mov dword [ebp - 0x1fc], esp
push ebx
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x580469
mov byte [ecx], bl
call fcn.00404410
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x200], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x184]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00403c30
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x204], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x24]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00403c30
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x1f8], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x1bc]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00403c30
mov byte [ebp - 4], 0x15
call fcn.00410fa0
mov edi, 0x10
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x138], edi
jb 0x411ece
mov eax, dword [ebp - 0x14c]
push eax
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], 9
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
cmp dword [ebp - 0x11c], edi
jb 0x411efb
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.0042465c
add esp, 4
push 0x5813c8
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x1a0]
push eax
call fcn.00409720
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x184]
mov byte [ebp - 4], 0x1a
call fcn.00403af0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18c], 0x10
jb 0x411f40
mov ecx, dword [ebp - 0x1a0]
push ecx
call fcn.0042465c
add esp, 4
push str.uninstall.lnk
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x1a0]
push eax
call fcn.00409720
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x1bc]
mov byte [ebp - 4], 0x1b
call fcn.00403af0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18c], 0x10
jb 0x411f85
mov ecx, dword [ebp - 0x1a0]
push ecx
call fcn.0042465c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x208], esp
push 0x12
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x581418
mov byte [ecx], bl
call fcn.00404410
sub esp, 0x1c
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x1fc], esp
push 9
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.uninstall
mov byte [ecx], bl
call fcn.00404410
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x200], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x184]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00403c30
mov byte [ebp - 4], 0x1e
push 1
push str.____1
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
call fcn.00404410
lea eax, [ebp - 0x184]
lea ecx, [ebp - 0x130]
lea ebx, [ebp - 0x14c]
mov byte [ebp - 4], 0x1f
call fcn.00409440
sub esp, 0x1c
mov byte [ebp - 4], 0x20
mov ecx, esp
mov dword [ebp - 0x204], esp
push eax
mov eax, str.____1
call fcn.004093f0
sub esp, 0x18
mov ecx, esp
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x1f8], esp
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x1bc]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00403c30
mov byte [ebp - 4], 0x23
call fcn.00410fa0
mov edi, 0x10
mov byte [ebp - 4], 0x22
cmp dword [ebp - 0x138], edi
jb 0x4120a0
mov ecx, dword [ebp - 0x14c]
push ecx
call fcn.0042465c
add esp, 4
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
mov bl, 9
mov byte [ebp - 4], bl
mov dword [ebp - 0x138], esi
cmp dword [ebp - 0x11c], edi
jb 0x4120ce
mov edx, dword [ebp - 0x130]
push edx
call fcn.0042465c
add esp, 4
push str.uninstall.lnk
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.00409720
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x184]
mov byte [ebp - 4], 0x24
call fcn.00403af0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18c], 0x10
jb 0x412112
mov edx, dword [ebp - 0x1a0]
push edx
call fcn.0042465c
add esp, 4
push 0x581440
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.00409720
mov ecx, eax
lea eax, [ebp + 0x40]
lea ebx, [ebp - 0x130]
mov byte [ebp - 4], 0x25
call fcn.00409440
push eax
mov bl, 0x26
mov eax, str._.lnk
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], bl
call fcn.004093f0
add esp, 0x10
mov edi, eax
lea esi, [ebp - 0x1bc]
mov byte [ebp - 4], 0x27
call fcn.00403af0
mov edi, 0x10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x138], edi
jb 0x412187
mov edx, dword [ebp - 0x14c]
push edx
call fcn.0042465c
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
cmp dword [ebp - 0x11c], edi
jb 0x4121bb
mov eax, dword [ebp - 0x130]
push eax
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], 9
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
cmp dword [ebp - 0x18c], edi
jb 0x4121e8
mov ecx, dword [ebp - 0x1a0]
push ecx
call fcn.0042465c
add esp, 4
push 5
push 0x581440
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
call fcn.00404410
lea eax, [ebp + 0x40]
lea ecx, [ebp - 0x130]
lea ebx, [ebp - 0x14c]
mov byte [ebp - 4], 0x28
call fcn.00409440
sub esp, 0x1c
mov byte [ebp - 4], 0x29
mov ecx, esp
mov dword [ebp - 0x208], esp
push eax
mov eax, 0x581448
call fcn.004093f0
sub esp, 0x18
mov byte [ebp - 4], 0x2a
mov ecx, esp
xor ebx, ebx
mov dword [ebp - 0x1fc], esp
push ebx
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x580469
mov byte [ecx], bl
call fcn.00404410
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0x200], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x184]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00403c30
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0x2c
mov dword [ebp - 0x204], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x184]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00403c30
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0x2d
mov dword [ebp - 0x1f8], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x1bc]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00403c30
mov byte [ebp - 4], 0x29
call fcn.00410fa0
mov edi, 0x10
mov byte [ebp - 4], 0x28
cmp dword [ebp - 0x138], edi
jb 0x412302
mov eax, dword [ebp - 0x14c]
push eax
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], 9
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
cmp dword [ebp - 0x11c], edi
jb 0x41232f
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
mov dword [ebp - 0x1f8], 1
cmp dword [ebp - 0x1a8], edi
jb 0x412366
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], 3
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x1ac], ebx
mov byte [ebp - 0x1bc], bl
cmp dword [ebp - 0x170], edi
jb 0x412393
mov eax, dword [ebp - 0x184]
push eax
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], 2
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x174], ebx
mov byte [ebp - 0x184], bl
cmp dword [ebp - 0x154], edi
jb 0x4123c0
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.0042465c
add esp, 4
mov dword [ebp - 0x158], ebx
mov byte [ebp - 0x168], bl
mov dword [ebp - 0x154], esi
xor ebx, ebx
jmp 0x4123e0
mov esi, 0xf
mov edi, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp + 0x1c], edi
jb 0x4123f5
mov edx, dword [ebp + 8]
push edx
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], edi
jb 0x412412
mov eax, dword [ebp + 0x24]
push eax
call fcn.0042465c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x34], ebx
mov byte [ebp + 0x24], bl
cmp dword [ebp + 0x54], edi
jb 0x412433
mov ecx, dword [ebp + 0x40]
push ecx
call fcn.0042465c
add esp, 4
mov eax, dword [ebp - 0x1f8]
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.00523079
mov esp, ebp
pop ebp
ret 0x54