Function at 0x43ba10
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
sub esp, 0xc2c
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0xc28], eax
mov eax, dword [esp + 0xc34]
mov ecx, dword [esp + 0xc38]
push ebx
push ebp
push esi
push edi
push 0x400
lea edx, [esp + 0x83c]
push edx
push 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x838]
push eax
call fcn.0044daf0
mov ecx, dword [0x4b2e60]
mov esi, dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov dword [eax], ecx
mov edx, dword [0x4b2e64]
mov dword [eax + 4], edx
mov cx, word [0x4b2e68]
mov word [eax + 8], cx
mov dl, byte [0x4b2e6a]
mov byte [eax + 0xa], dl
lea eax, [esp + 0x24]
push eax
call esi
call fcn.0043cdb0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 6
setge al
xor bl, bl
mov byte [esp + 0x13], al
test al, al
je 0x43bb6e
lea ecx, [esp + 0x1c]
push ecx
call esi
lea edx, [esp + 0x18]
push edx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x18]
mov ebp, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [esp + 0x38]
push eax
push ecx
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
lea eax, [esp + 0x38]
push eax
call fcn.0044df70
lea eax, [esp + 0x38]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43bb00
mov ecx, dword [str.WinRAR.lnk]
mov edx, dword [0x4b3258]
mov dword [eax], ecx
mov cx, word [0x4b325c]
mov dword [eax + 4], edx
mov dl, byte [0x4b325e]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [esp + 0x38]
push eax
call edi
lea ecx, [esp + 0x1c]
test eax, eax
push ecx
setne bl
call esi
lea edx, [esp + 0x18]
push edx
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
push ecx
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
jmp 0x43bba7
lea eax, [esp + 0x1c]
push eax
call esi
lea ecx, [esp + 0x18]
push ecx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea edx, [esp + 0x38]
push edx
push eax
call ebp
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0044df70
lea eax, [esp + 0x38]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43bbb6
mov edx, dword [str.WinRAR.lnk]
mov ecx, dword [0x4b3258]
mov esi, dword [esp + 0xc40]
cmp byte [esi + 0x14], 0
mov dword [eax], edx
mov dx, word [0x4b325c]
mov dword [eax + 4], ecx
mov cl, byte [0x4b325e]
mov word [eax + 8], dx
mov byte [eax + 0xa], cl
je 0x43bcdf
cmp byte [esp + 0xc4c], 0
je 0x43bc16
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.0042fc80
test al, al
jne 0x43bc16
test bl, bl
je 0x43bce6
mov ebx, dword [esp + 0x20]
push 0
push ebx
push 0x537
call fcn.0045be10
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x848]
push ecx
call fcn.0043af20
test al, al
jne 0x43bce6
cmp byte [esp + 0x13], al
je 0x43bce6
cmp byte [esp + 0xc4c], al
je 0x43bce6
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.0042fc80
test al, al
je 0x43bc74
lea eax, [esp + 0x38]
push eax
call edi
test eax, eax
je 0x43bce6
lea ecx, [esp + 0x38]
push ecx
call fcn.0043b050
lea edx, [esp + 0x38]
push edx
call fcn.0044df70
lea eax, [esp + 0x38]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43bc90
mov ecx, dword [str.WinRAR.lnk]
mov edx, dword [0x4b3258]
mov dword [eax], ecx
mov cx, word [0x4b325c]
push 0
mov dword [eax + 4], edx
mov dl, byte [0x4b325e]
push ebx
mov word [eax + 8], cx
push 0x537
mov byte [eax + 0xa], dl
call fcn.0045be10
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x848]
push ecx
call fcn.0043af20
jmp 0x43bce6
lea edx, [esp + 0x38]
push edx
call edi
movzx ecx, byte [esp + 0x13]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x14]
and ecx, 0xb
push eax
add ecx, 0xb
push ecx
push 0
call ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
push edx
push eax
call ebp
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0044df70
lea eax, [esp + 0x38]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43bd31
cmp byte [esi + 0x15], 0
mov edx, dword [str.WinRAR.lnk]
mov ecx, dword [0x4b3258]
mov dword [eax], edx
mov dx, word [0x4b325c]
mov dword [eax + 4], ecx
mov cl, byte [0x4b325e]
mov word [eax + 8], dx
mov byte [eax + 0xa], cl
je 0x43bda4
cmp byte [esp + 0xc4c], 0
je 0x43bd7e
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.0042fc80
test al, al
je 0x43bdab
mov eax, dword [esp + 0x20]
push 0
push eax
push 0x537
call fcn.0045be10
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x848]
push edx
call fcn.0043af20
jmp 0x43bdab
lea eax, [esp + 0x38]
push eax
call edi
push 0x38e
mov dword [esp + 0x30], 0x4b2e3c
call fcn.0045be10
push 0x38f
mov dword [esp + 0x34], eax
call fcn.0045be10
lea ecx, [esp + 0x14]
push ecx
push 2
push 0
mov dword [esp + 0x40], eax
call ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
push edx
push eax
call ebp
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0044df70
lea eax, [esp + 0x38]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43be06
cmp byte [esp + 0xc4c], 0
mov edx, dword [0x4b2e3c]
mov cx, word [0x4b2e40]
mov dword [eax], edx
mov dl, byte [0x4b2e42]
mov word [eax + 4], cx
mov byte [eax + 6], dl
je 0x43be48
push 0
lea eax, [esp + 0x3c]
push eax
call fcn.0042fc80
test al, al
je 0x43bf7f
cmp byte [esi + 0x16], 0
je 0x43bf75
mov edx, dword [esp + 0x28]
test edx, edx
je 0x43be6c
lea eax, [esp + 0x38]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43be62
lea edx, [esp + 0x38]
push edx
call fcn.0043b0a0
push 0
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor ebx, ebx
jmp 0x43be90
mov ecx, dword [ebx*4 + 0x4befac]
cmp byte [ecx], 0
je 0x43bf63
xor eax, eax
mov cl, byte [esp + eax + 0x38]
mov byte [esp + eax + 0x438], cl
inc eax
test cl, cl
jne 0x43bea2
lea edx, [esp + 0x438]
push edx
call fcn.0044df70
mov eax, dword [esp + ebx*4 + 0x2c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bec5
lea edi, [esp + 0x438]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43bed6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x438]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43bef6
mov ecx, dword [str..lnk]
mov dl, byte [0x4b3250]
mov esi, dword [ebx*4 + 0x4befac]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x838]
push eax
call fcn.0044daf0
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x43bf23
mov ecx, ebx
neg ecx
sbb ecx, ecx
not ecx
and ecx, dword [esp + 0x20]
push 0
push ecx
push 0x537
call fcn.0045be10
push eax
lea edx, [esp + 0x444]
push edx
lea eax, [esp + 0x848]
push eax
call fcn.0043af20
mov esi, dword [esp + 0xc40]
inc ebx
cmp ebx, 3
jb 0x43be90
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
jmp 0x43bf7f
lea ecx, [esp + 0x38]
push ecx
call fcn.0043b0a0
call fcn.0043cdb0
test eax, eax
je 0x43c152
lea edx, [esp + 0x14]
push edx
push 0x17
push 0
call ebx
test eax, eax
jne 0x43c152
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
push ecx
call ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
lea eax, [esp + 0x38]
push eax
call fcn.0044df70
lea eax, [esp + 0x38]
dec eax
jmp 0x43bfd0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43bfd0
cmp byte [esp + 0xc4c], 0
mov ecx, dword [0x4b2e3c]
mov dx, word [0x4b2e40]
mov dword [eax], ecx
mov cl, byte [0x4b2e42]
mov word [eax + 4], dx
mov byte [eax + 6], cl
je 0x43c012
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.0042fc80
test al, al
je 0x43c152
cmp byte [esi + 0x16], 0
je 0x43c148
lea eax, [esp + 0x38]
push eax
call fcn.0043b0a0
push 0
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x43c05f
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.0042fc80
test al, al
je 0x43c05f
lea eax, [esp + 0x38]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43c055
xor ebx, ebx
jmp 0x43c070
mov edx, dword [ebx*4 + 0x4befac]
cmp byte [edx], 0
je 0x43c13c
xor eax, eax
mov cl, byte [esp + eax + 0x38]
mov byte [esp + eax + 0x438], cl
inc eax
test cl, cl
jne 0x43c082
lea eax, [esp + 0x438]
push eax
call fcn.0044df70
mov eax, dword [esp + ebx*4 + 0x2c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c0a5
lea edi, [esp + 0x438]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43c0b6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x438]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43c0d6
mov ecx, dword [str..lnk]
mov dl, byte [0x4b3250]
mov esi, dword [ebx*4 + 0x4befac]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x838]
push eax
call fcn.0044daf0
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x43c103
mov ecx, ebx
neg ecx
sbb ecx, ecx
not ecx
and ecx, dword [esp + 0x20]
push 0
push ecx
push 0x537
call fcn.0045be10
push eax
lea edx, [esp + 0x444]
push edx
lea eax, [esp + 0x848]
push eax
call fcn.0043af20
inc ebx
cmp ebx, 3
jb 0x43c070
jmp 0x43c152
lea ecx, [esp + 0x38]
push ecx
call fcn.0043b0a0
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0xc38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0xc2c
ret 0x10