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

Disassembly:
sub esp, 0xc2c
mov eax, dword [0x4c0390]
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.0044d530
mov ecx, dword [0x4b2dc8]
mov esi, dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov dword [eax], ecx
mov edx, dword [0x4b2dcc]
mov dword [eax + 4], edx
mov cx, word [0x4b2dd0]
mov word [eax + 8], cx
mov dl, byte [0x4b2dd2]
mov byte [eax + 0xa], dl
lea eax, [esp + 0x24]
push eax
call esi
call fcn.0043c9b0
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 0x43b75e
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.0044d9b0
lea eax, [esp + 0x38]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b6f0
mov ecx, dword [str.WinRAR.lnk]
mov edx, dword [0x4b31c0]
mov dword [eax], ecx
mov cx, word [0x4b31c4]
mov dword [eax + 4], edx
mov dl, byte [0x4b31c6]
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 0x43b797
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.0044d9b0
lea eax, [esp + 0x38]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b7a6
mov edx, dword [str.WinRAR.lnk]
mov ecx, dword [0x4b31c0]
mov esi, dword [esp + 0xc40]
cmp byte [esi + 0x14], 0
mov dword [eax], edx
mov dx, word [0x4b31c4]
mov dword [eax + 4], ecx
mov cl, byte [0x4b31c6]
mov word [eax + 8], dx
mov byte [eax + 0xa], cl
je 0x43b8cf
cmp byte [esp + 0xc4c], 0
je 0x43b806
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.0042f890
test al, al
jne 0x43b806
test bl, bl
je 0x43b8d6
mov ebx, dword [esp + 0x20]
push 0
push ebx
push 0x537
call fcn.0045b8f0
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x848]
push ecx
call fcn.0043ab10
test al, al
jne 0x43b8d6
cmp byte [esp + 0x13], al
je 0x43b8d6
cmp byte [esp + 0xc4c], al
je 0x43b8d6
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.0042f890
test al, al
je 0x43b864
lea eax, [esp + 0x38]
push eax
call edi
test eax, eax
je 0x43b8d6
lea ecx, [esp + 0x38]
push ecx
call fcn.0043ac40
lea edx, [esp + 0x38]
push edx
call fcn.0044d9b0
lea eax, [esp + 0x38]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b880
mov ecx, dword [str.WinRAR.lnk]
mov edx, dword [0x4b31c0]
mov dword [eax], ecx
mov cx, word [0x4b31c4]
push 0
mov dword [eax + 4], edx
mov dl, byte [0x4b31c6]
push ebx
mov word [eax + 8], cx
push 0x537
mov byte [eax + 0xa], dl
call fcn.0045b8f0
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x848]
push ecx
call fcn.0043ab10
jmp 0x43b8d6
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.0044d9b0
lea eax, [esp + 0x38]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b921
cmp byte [esi + 0x15], 0
mov edx, dword [str.WinRAR.lnk]
mov ecx, dword [0x4b31c0]
mov dword [eax], edx
mov dx, word [0x4b31c4]
mov dword [eax + 4], ecx
mov cl, byte [0x4b31c6]
mov word [eax + 8], dx
mov byte [eax + 0xa], cl
je 0x43b994
cmp byte [esp + 0xc4c], 0
je 0x43b96e
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.0042f890
test al, al
je 0x43b99b
mov eax, dword [esp + 0x20]
push 0
push eax
push 0x537
call fcn.0045b8f0
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x848]
push edx
call fcn.0043ab10
jmp 0x43b99b
lea eax, [esp + 0x38]
push eax
call edi
push 0x38e
mov dword [esp + 0x30], 0x4b2da4
call fcn.0045b8f0
push 0x38f
mov dword [esp + 0x34], eax
call fcn.0045b8f0
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.0044d9b0
lea eax, [esp + 0x38]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b9f6
cmp byte [esp + 0xc4c], 0
mov edx, dword [0x4b2da4]
mov cx, word [0x4b2da8]
mov dword [eax], edx
mov dl, byte [0x4b2daa]
mov word [eax + 4], cx
mov byte [eax + 6], dl
je 0x43ba38
push 0
lea eax, [esp + 0x3c]
push eax
call fcn.0042f890
test al, al
je 0x43bb6f
cmp byte [esi + 0x16], 0
je 0x43bb65
mov edx, dword [esp + 0x28]
test edx, edx
je 0x43ba5c
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 0x43ba52
lea edx, [esp + 0x38]
push edx
call fcn.0043ac90
push 0
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor ebx, ebx
jmp 0x43ba80
mov ecx, dword [ebx*4 + 0x4bef94]
cmp byte [ecx], 0
je 0x43bb53
xor eax, eax
mov cl, byte [esp + eax + 0x38]
mov byte [esp + eax + 0x438], cl
inc eax
test cl, cl
jne 0x43ba92
lea edx, [esp + 0x438]
push edx
call fcn.0044d9b0
mov eax, dword [esp + ebx*4 + 0x2c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bab5
lea edi, [esp + 0x438]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43bac6
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 0x43bae6
mov ecx, dword [str..lnk]
mov dl, byte [0x4b31b8]
mov esi, dword [ebx*4 + 0x4bef94]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x838]
push eax
call fcn.0044d530
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x43bb13
mov ecx, ebx
neg ecx
sbb ecx, ecx
not ecx
and ecx, dword [esp + 0x20]
push 0
push ecx
push 0x537
call fcn.0045b8f0
push eax
lea edx, [esp + 0x444]
push edx
lea eax, [esp + 0x848]
push eax
call fcn.0043ab10
mov esi, dword [esp + 0xc40]
inc ebx
cmp ebx, 3
jb 0x43ba80
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
jmp 0x43bb6f
lea ecx, [esp + 0x38]
push ecx
call fcn.0043ac90
call fcn.0043c9b0
test eax, eax
je 0x43bd42
lea edx, [esp + 0x14]
push edx
push 0x17
push 0
call ebx
test eax, eax
jne 0x43bd42
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.0044d9b0
lea eax, [esp + 0x38]
dec eax
jmp 0x43bbc0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43bbc0
cmp byte [esp + 0xc4c], 0
mov ecx, dword [0x4b2da4]
mov dx, word [0x4b2da8]
mov dword [eax], ecx
mov cl, byte [0x4b2daa]
mov word [eax + 4], dx
mov byte [eax + 6], cl
je 0x43bc02
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.0042f890
test al, al
je 0x43bd42
cmp byte [esi + 0x16], 0
je 0x43bd38
lea eax, [esp + 0x38]
push eax
call fcn.0043ac90
push 0
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x43bc4f
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.0042f890
test al, al
je 0x43bc4f
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 0x43bc45
xor ebx, ebx
jmp 0x43bc60
mov edx, dword [ebx*4 + 0x4bef94]
cmp byte [edx], 0
je 0x43bd2c
xor eax, eax
mov cl, byte [esp + eax + 0x38]
mov byte [esp + eax + 0x438], cl
inc eax
test cl, cl
jne 0x43bc72
lea eax, [esp + 0x438]
push eax
call fcn.0044d9b0
mov eax, dword [esp + ebx*4 + 0x2c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bc95
lea edi, [esp + 0x438]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43bca6
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 0x43bcc6
mov ecx, dword [str..lnk]
mov dl, byte [0x4b31b8]
mov esi, dword [ebx*4 + 0x4bef94]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x838]
push eax
call fcn.0044d530
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x43bcf3
mov ecx, ebx
neg ecx
sbb ecx, ecx
not ecx
and ecx, dword [esp + 0x20]
push 0
push ecx
push 0x537
call fcn.0045b8f0
push eax
lea edx, [esp + 0x444]
push edx
lea eax, [esp + 0x848]
push eax
call fcn.0043ab10
inc ebx
cmp ebx, 3
jb 0x43bc60
jmp 0x43bd42
lea ecx, [esp + 0x38]
push ecx
call fcn.0043ac90
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.0049e0c6
add esp, 0xc2c
ret 0x10