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

Disassembly:
mov eax, 0x182c
call fcn.004a5100
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x1828], eax
mov eax, dword [esp + 0x1834]
mov ecx, dword [esp + 0x1838]
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_GetModuleFileNameW]
lea eax, [esp + 0x838]
push eax
mov esi, 0x4bc9d0
call fcn.00451c30
lea esp, [esp]
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x43d770
mov esi, dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp + 0x24]
push ecx
call esi
call fcn.0043ee30
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 0x600
setae al
xor bl, bl
mov byte [esp + 0x13], al
test al, al
je 0x43d884
lea edx, [esp + 0x1c]
push edx
call esi
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [esp + 0x18]
push eax
push 0x10
push 0
call ebp
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
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.004516d0
lea eax, [esp + 0x38]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43d800
mov edx, dword [str.WinRAR.lnk]
mov ecx, dword [0x4bcf14]
mov dword [eax], edx
mov edx, dword [0x4bcf18]
mov dword [eax + 4], ecx
mov ecx, dword [0x4bcf1c]
mov dword [eax + 8], edx
mov edx, dword [0x4bcf20]
mov dword [eax + 0xc], ecx
mov cx, word [0x4bcf24]
mov dword [eax + 0x10], edx
lea edx, [esp + 0x38]
push edx
mov word [eax + 0x14], cx
call edi
test eax, eax
lea eax, [esp + 0x1c]
push eax
setne bl
call esi
lea ecx, [esp + 0x18]
push ecx
push 0x19
push 0
call ebp
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
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
jmp 0x43d8bd
lea ecx, [esp + 0x1c]
push ecx
call esi
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea edx, [esp + 0x18]
push edx
push 0x10
push 0
call ebp
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
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.004516d0
lea eax, [esp + 0x38]
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43d8d0
mov ecx, dword [str.WinRAR.lnk]
mov edx, dword [0x4bcf14]
mov esi, dword [esp + 0x1840]
cmp byte [esi + 0x14], 0
mov dword [eax], ecx
mov ecx, dword [0x4bcf18]
mov dword [eax + 4], edx
mov edx, dword [0x4bcf1c]
mov dword [eax + 8], ecx
mov ecx, dword [0x4bcf20]
mov dword [eax + 0xc], edx
mov dx, word [0x4bcf24]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
je 0x43da26
cmp byte [esp + 0x184c], 0
je 0x43d946
lea eax, [esp + 0x38]
push eax
push 0
call fcn.00431770
test al, al
jne 0x43d946
test bl, bl
je 0x43da30
mov ebx, dword [esp + 0x20]
push 0
push ebx
push 0x537
call fcn.004611c0
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x848]
push edx
call fcn.00485a20
test al, al
jne 0x43da30
cmp byte [esp + 0x13], al
je 0x43da30
cmp byte [esp + 0x184c], al
je 0x43da30
lea eax, [esp + 0x38]
push eax
call fcn.004317c0
test al, al
je 0x43d9a6
lea ecx, [esp + 0x38]
push ecx
call edi
test eax, eax
je 0x43da30
lea edx, [esp + 0x38]
push edx
call fcn.0043cc80
lea eax, [esp + 0x38]
push eax
call fcn.004516d0
lea eax, [esp + 0x38]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43d9c1
mov ecx, dword [str.WinRAR.lnk]
mov edx, dword [0x4bcf14]
mov dword [eax], ecx
mov ecx, dword [0x4bcf18]
mov dword [eax + 4], edx
mov edx, dword [0x4bcf1c]
mov dword [eax + 8], ecx
mov ecx, dword [0x4bcf20]
push 0
mov dword [eax + 0xc], edx
mov dx, word [0x4bcf24]
push ebx
mov dword [eax + 0x10], ecx
push 0x537
mov word [eax + 0x14], dx
call fcn.004611c0
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x848]
push ecx
call fcn.00485a20
jmp 0x43da30
lea edx, [esp + 0x38]
push edx
call fcn.00431a40
movzx ecx, byte [esp + 0x13]
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x14]
and ecx, 0xb
push eax
add ecx, 0xb
push ecx
push 0
call ebp
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea edx, [esp + 0x38]
push edx
push eax
call edi
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.004516d0
lea eax, [esp + 0x38]
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43da80
cmp byte [esi + 0x15], 0
mov edx, dword [str.WinRAR.lnk]
mov ecx, dword [0x4bcf14]
mov dword [eax], edx
mov edx, dword [0x4bcf18]
mov dword [eax + 4], ecx
mov ecx, dword [0x4bcf1c]
mov dword [eax + 8], edx
mov edx, dword [0x4bcf20]
mov dword [eax + 0xc], ecx
mov cx, word [0x4bcf24]
mov dword [eax + 0x10], edx
mov word [eax + 0x14], cx
je 0x43db07
cmp byte [esp + 0x184c], 0
je 0x43dae1
lea edx, [esp + 0x38]
push edx
call fcn.004317c0
test al, al
je 0x43db11
mov eax, dword [esp + 0x20]
push 0
push eax
push 0x537
call fcn.004611c0
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x848]
push edx
call fcn.00485a20
jmp 0x43db11
lea eax, [esp + 0x38]
push eax
call fcn.00431a40
push 0x38e
mov dword [esp + 0x30], 0x4bc770
call fcn.004611c0
push 0x38f
mov dword [esp + 0x34], eax
call fcn.004611c0
lea ecx, [esp + 0x14]
push ecx
push 2
push 0
mov dword [esp + 0x40], eax
call ebp
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
push edx
push eax
call edi
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.004516d0
lea eax, [esp + 0x38]
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43db70
cmp byte [esp + 0x184c], 0
mov edx, dword [0x4bc770]
mov ecx, dword [0x4bc774]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [eax], edx
mov edx, dword [0x4bc778]
mov dword [eax + 4], ecx
mov cx, word [0x4bc77c]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
je 0x43dbc3
lea edx, [esp + 0x38]
push edx
call fcn.004317c0
test al, al
je 0x43dd3a
mov eax, esi
cmp byte [eax + 0x16], 0
je 0x43dd2e
mov edx, dword [esp + 0x28]
test edx, edx
je 0x43dbef
lea eax, [esp + 0x38]
mov ecx, eax
sub edx, ecx
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43dbe0
lea edx, [esp + 0x38]
push edx
push 0
call fcn.0043ccd0
push 0
lea eax, [esp + 0x3c]
push eax
call ebp
xor ebx, ebx
jmp 0x43dc10
mov ecx, dword [ebx*4 + 0x4cafb8]
cmp word [ecx], 0
je 0x43dd22
xor eax, eax
jmp 0x43dc30
movzx ecx, word [esp + eax + 0x38]
mov word [esp + eax + 0x1038], cx
add eax, 2
test cx, cx
jne 0x43dc30
lea edx, [esp + 0x1038]
push edx
call fcn.004516d0
mov eax, dword [esp + ebx*4 + 0x2c]
mov edx, eax
jmp 0x43dc60
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43dc60
lea edi, [esp + 0x1038]
sub eax, edx
add edi, 0xfffffffe
jmp 0x43dc80
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x43dc80
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 + 0x1038]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43dca6
mov ecx, dword [str..lnk]
mov edx, dword [0x4bcf08]
mov esi, dword [ebx*4 + 0x4cafb8]
mov dword [eax], ecx
mov cx, word [0x4bcf0c]
mov dword [eax + 4], edx
lea edx, [esp + 0x838]
push edx
mov word [eax + 8], cx
call fcn.00451c30
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x43dce2
mov eax, ebx
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x20]
push 0
push eax
push 0x537
call fcn.004611c0
push eax
lea ecx, [esp + 0x1044]
push ecx
lea edx, [esp + 0x848]
push edx
call fcn.00485a20
inc ebx
cmp ebx, 3
jb 0x43dc10
jmp 0x43dd3a
lea eax, [esp + 0x38]
push eax
push 0
call fcn.0043ccd0
lea ecx, [esp + 0x14]
push ecx
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x43df5a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
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.004516d0
lea eax, [esp + 0x38]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43dd83
cmp byte [esp + 0x184c], 0
mov edx, dword [0x4bc770]
mov ecx, dword [0x4bc774]
mov dword [eax], edx
mov edx, dword [0x4bc778]
mov dword [eax + 4], ecx
mov cx, word [0x4bc77c]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
je 0x43ddd0
lea edx, [esp + 0x38]
push edx
call fcn.004317c0
test al, al
je 0x43df5a
mov eax, dword [esp + 0x1840]
cmp byte [eax + 0x16], 0
je 0x43df4e
lea ecx, [esp + 0x38]
push ecx
push 0
call fcn.0043ccd0
push 0
lea edx, [esp + 0x3c]
push edx
call ebp
mov esi, dword [esp + 0x28]
test esi, esi
je 0x43de25
lea eax, [esp + 0x38]
push eax
call fcn.004317c0
test al, al
je 0x43de25
lea eax, [esp + 0x38]
mov edx, esi
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43de16
xor ebx, ebx
jmp 0x43de30
mov edx, dword [ebx*4 + 0x4cafb8]
cmp word [edx], 0
je 0x43df42
xor eax, eax
jmp 0x43de50
movzx ecx, word [esp + eax + 0x38]
mov word [esp + eax + 0x1038], cx
add eax, 2
test cx, cx
jne 0x43de50
lea eax, [esp + 0x1038]
push eax
call fcn.004516d0
mov eax, dword [esp + ebx*4 + 0x2c]
mov edx, eax
jmp 0x43de80
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43de80
lea edi, [esp + 0x1038]
sub eax, edx
add edi, 0xfffffffe
jmp 0x43dea0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x43dea0
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 + 0x1038]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43dec6
mov ecx, dword [str..lnk]
mov edx, dword [0x4bcf08]
mov esi, dword [ebx*4 + 0x4cafb8]
mov dword [eax], ecx
mov cx, word [0x4bcf0c]
mov dword [eax + 4], edx
lea edx, [esp + 0x838]
push edx
mov word [eax + 8], cx
call fcn.00451c30
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x43df02
mov eax, ebx
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x20]
push 0
push eax
push 0x537
call fcn.004611c0
push eax
lea ecx, [esp + 0x1044]
push ecx
lea edx, [esp + 0x848]
push edx
call fcn.00485a20
inc ebx
cmp ebx, 3
jb 0x43de30
jmp 0x43df5a
lea eax, [esp + 0x38]
push eax
push 0
call fcn.0043ccd0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x1838]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a48d3
add esp, 0x182c
ret 0x10