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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e946
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x105
lea eax, [ebp - 0x118]
push eax
push 0
mov dword [ebp - 0x26c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x118]
push 0x5c
push eax
call dword [sym.imp.MSVCR110.dll_strrchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x424358
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x424358
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.00419b80
cmp byte [edi], 0
mov dword [ebp - 4], 0
jne 0x424229
xor ecx, ecx
jmp 0x424239
mov ecx, edi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424230
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x238]
call fcn.00423fd0
push 1
push 0xffffffffffffffff
push 0x58c81c
lea ecx, [ebp - 0x238]
call fcn.004245d0
push eax
push 0
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x238]
call fcn.00424660
mov edi, eax
lea eax, [ebp - 0x238]
cmp eax, edi
je 0x4242b9
cmp dword [ebp - 0x224], 0x10
jb 0x424292
push dword [ebp - 0x238]
call fcn.004257e0
add esp, 4
push edi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], 0
mov byte [ebp - 0x238], 0
call fcn.00423e80
cmp dword [ebp - 0x254], 0x10
jb 0x4242d0
push dword [ebp - 0x268]
call fcn.004257e0
add esp, 4
push 1
push 0x58c820
lea ecx, [ebp - 0x238]
call fcn.00423fd0
cmp dword [ebp - 0x224], 0x10
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
test eax, eax
js 0x42433a
lea eax, [ebp - 0x238]
push eax
mov ecx, esi
call fcn.004236a0
cmp dword [ebp - 0x224], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x424491
push dword [ebp - 0x238]
call fcn.004257e0
add esp, 4
jmp 0x424491
cmp dword [ebp - 0x224], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x424358
push dword [ebp - 0x238]
call fcn.004257e0
add esp, 4
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
jne 0x424380
xor ecx, ecx
jmp 0x424399
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424390
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x250]
call fcn.00419fc0
push 1
push 0xffffffffffffffff
push 0x58c820
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], 1
call fcn.004245d0
inc eax
push eax
push 0
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x250]
call fcn.00424660
mov edi, eax
lea eax, [ebp - 0x250]
cmp eax, edi
je 0x424427
cmp dword [ebp - 0x23c], 0x10
jb 0x424400
push dword [ebp - 0x250]
call fcn.004257e0
add esp, 4
push edi
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
call fcn.00423e80
cmp dword [ebp - 0x254], 0x10
jb 0x42443e
push dword [ebp - 0x268]
call fcn.004257e0
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, dword [ebp - 0x23c]
cmp ecx, 0x10
jae 0x42447d
mov eax, dword [ebp - 0x240]
inc eax
je 0x424485
push eax
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.MSVCR110.dll_memmove]
mov ecx, dword [ebp - 0x23c]
add esp, 0xc
jmp 0x424485
mov eax, dword [ebp - 0x250]
mov dword [esi], eax
mov eax, dword [ebp - 0x240]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret