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

Disassembly:
mov eax, 0x182c
call fcn.004a4220
mov eax, dword [0x4ca3b0]
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, str.WinRAR.exe
call fcn.004513d0
lea esp, [esp]
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x43d0a0
mov esi, dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp + 0x24]
push ecx
call esi
call fcn.0043e7a0
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 0x43d1b4
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.00450e70
lea eax, [esp + 0x38]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43d130
mov edx, dword [str.WinRAR.lnk]
mov ecx, dword [0x4baeec]
mov dword [eax], edx
mov edx, dword [0x4baef0]
mov dword [eax + 4], ecx
mov ecx, dword [0x4baef4]
mov dword [eax + 8], edx
mov edx, dword [0x4baef8]
mov dword [eax + 0xc], ecx
mov cx, word [0x4baefc]
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 0x43d1ed
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.00450e70
lea eax, [esp + 0x38]
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43d200
mov ecx, dword [str.WinRAR.lnk]
mov edx, dword [0x4baeec]
mov esi, dword [esp + 0x1840]
cmp byte [esi + 0x14], 0
mov dword [eax], ecx
mov ecx, dword [0x4baef0]
mov dword [eax + 4], edx
mov edx, dword [0x4baef4]
mov dword [eax + 8], ecx
mov ecx, dword [0x4baef8]
mov dword [eax + 0xc], edx
mov dx, word [0x4baefc]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
je 0x43d356
cmp byte [esp + 0x184c], 0
je 0x43d276
lea eax, [esp + 0x38]
push eax
push 0
call fcn.004313f0
test al, al
jne 0x43d276
test bl, bl
je 0x43d360
mov ebx, dword [esp + 0x20]
push 0
push ebx
push 0x537
call fcn.00460760
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x848]
push edx
call fcn.00484d90
test al, al
jne 0x43d360
cmp byte [esp + 0x13], al
je 0x43d360
cmp byte [esp + 0x184c], al
je 0x43d360
lea eax, [esp + 0x38]
push eax
call fcn.00431440
test al, al
je 0x43d2d6
lea ecx, [esp + 0x38]
push ecx
call edi
test eax, eax
je 0x43d360
lea edx, [esp + 0x38]
push edx
call fcn.0043c5a0
lea eax, [esp + 0x38]
push eax
call fcn.00450e70
lea eax, [esp + 0x38]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43d2f1
mov ecx, dword [str.WinRAR.lnk]
mov edx, dword [0x4baeec]
mov dword [eax], ecx
mov ecx, dword [0x4baef0]
mov dword [eax + 4], edx
mov edx, dword [0x4baef4]
mov dword [eax + 8], ecx
mov ecx, dword [0x4baef8]
push 0
mov dword [eax + 0xc], edx
mov dx, word [0x4baefc]
push ebx
mov dword [eax + 0x10], ecx
push 0x537
mov word [eax + 0x14], dx
call fcn.00460760
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x848]
push ecx
call fcn.00484d90
jmp 0x43d360
lea edx, [esp + 0x38]
push edx
call fcn.004316b0
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.00450e70
lea eax, [esp + 0x38]
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43d3b0
cmp byte [esi + 0x15], 0
mov edx, dword [str.WinRAR.lnk]
mov ecx, dword [0x4baeec]
mov dword [eax], edx
mov edx, dword [0x4baef0]
mov dword [eax + 4], ecx
mov ecx, dword [0x4baef4]
mov dword [eax + 8], edx
mov edx, dword [0x4baef8]
mov dword [eax + 0xc], ecx
mov cx, word [0x4baefc]
mov dword [eax + 0x10], edx
mov word [eax + 0x14], cx
je 0x43d437
cmp byte [esp + 0x184c], 0
je 0x43d411
lea edx, [esp + 0x38]
push edx
call fcn.00431440
test al, al
je 0x43d441
mov eax, dword [esp + 0x20]
push 0
push eax
push 0x537
call fcn.00460760
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x848]
push edx
call fcn.00484d90
jmp 0x43d441
lea eax, [esp + 0x38]
push eax
call fcn.004316b0
push 0x38e
mov dword [esp + 0x30], 0x4ba748
call fcn.00460760
push 0x38f
mov dword [esp + 0x34], eax
call fcn.00460760
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.00450e70
lea eax, [esp + 0x38]
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43d4a0
cmp byte [esp + 0x184c], 0
mov edx, dword [0x4ba748]
mov ecx, dword [0x4ba74c]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [eax], edx
mov edx, dword [0x4ba750]
mov dword [eax + 4], ecx
mov cx, word [0x4ba754]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
je 0x43d4f3
lea edx, [esp + 0x38]
push edx
call fcn.00431440
test al, al
je 0x43d66a
mov eax, esi
cmp byte [eax + 0x16], 0
je 0x43d65e
mov edx, dword [esp + 0x28]
test edx, edx
je 0x43d51f
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 0x43d510
lea edx, [esp + 0x38]
push edx
push 0
call fcn.0043c5f0
push 0
lea eax, [esp + 0x3c]
push eax
call ebp
xor ebx, ebx
jmp 0x43d540
mov ecx, dword [ebx*4 + 0x4c8fb8]
cmp word [ecx], 0
je 0x43d652
xor eax, eax
jmp 0x43d560
movzx ecx, word [esp + eax + 0x38]
mov word [esp + eax + 0x1038], cx
add eax, 2
test cx, cx
jne 0x43d560
lea edx, [esp + 0x1038]
push edx
call fcn.00450e70
mov eax, dword [esp + ebx*4 + 0x2c]
mov edx, eax
jmp 0x43d590
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43d590
lea edi, [esp + 0x1038]
sub eax, edx
add edi, 0xfffffffe
jmp 0x43d5b0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x43d5b0
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 0x43d5d6
mov ecx, dword [str..lnk]
mov edx, dword [0x4baee0]
mov esi, dword [ebx*4 + 0x4c8fb8]
mov dword [eax], ecx
mov cx, word [0x4baee4]
mov dword [eax + 4], edx
lea edx, [esp + 0x838]
push edx
mov word [eax + 8], cx
call fcn.004513d0
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x43d612
mov eax, ebx
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x20]
push 0
push eax
push 0x537
call fcn.00460760
push eax
lea ecx, [esp + 0x1044]
push ecx
lea edx, [esp + 0x848]
push edx
call fcn.00484d90
inc ebx
cmp ebx, 3
jb 0x43d540
jmp 0x43d66a
lea eax, [esp + 0x38]
push eax
push 0
call fcn.0043c5f0
lea ecx, [esp + 0x14]
push ecx
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x43d88a
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.00450e70
lea eax, [esp + 0x38]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43d6b3
cmp byte [esp + 0x184c], 0
mov edx, dword [0x4ba748]
mov ecx, dword [0x4ba74c]
mov dword [eax], edx
mov edx, dword [0x4ba750]
mov dword [eax + 4], ecx
mov cx, word [0x4ba754]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
je 0x43d700
lea edx, [esp + 0x38]
push edx
call fcn.00431440
test al, al
je 0x43d88a
mov eax, dword [esp + 0x1840]
cmp byte [eax + 0x16], 0
je 0x43d87e
lea ecx, [esp + 0x38]
push ecx
push 0
call fcn.0043c5f0
push 0
lea edx, [esp + 0x3c]
push edx
call ebp
mov esi, dword [esp + 0x28]
test esi, esi
je 0x43d755
lea eax, [esp + 0x38]
push eax
call fcn.00431440
test al, al
je 0x43d755
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 0x43d746
xor ebx, ebx
jmp 0x43d760
mov edx, dword [ebx*4 + 0x4c8fb8]
cmp word [edx], 0
je 0x43d872
xor eax, eax
jmp 0x43d780
movzx ecx, word [esp + eax + 0x38]
mov word [esp + eax + 0x1038], cx
add eax, 2
test cx, cx
jne 0x43d780
lea eax, [esp + 0x1038]
push eax
call fcn.00450e70
mov eax, dword [esp + ebx*4 + 0x2c]
mov edx, eax
jmp 0x43d7b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43d7b0
lea edi, [esp + 0x1038]
sub eax, edx
add edi, 0xfffffffe
jmp 0x43d7d0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x43d7d0
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 0x43d7f6
mov ecx, dword [str..lnk]
mov edx, dword [0x4baee0]
mov esi, dword [ebx*4 + 0x4c8fb8]
mov dword [eax], ecx
mov cx, word [0x4baee4]
mov dword [eax + 4], edx
lea edx, [esp + 0x838]
push edx
mov word [eax + 8], cx
call fcn.004513d0
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x43d832
mov eax, ebx
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x20]
push 0
push eax
push 0x537
call fcn.00460760
push eax
lea ecx, [esp + 0x1044]
push ecx
lea edx, [esp + 0x848]
push edx
call fcn.00484d90
inc ebx
cmp ebx, 3
jb 0x43d760
jmp 0x43d88a
lea eax, [esp + 0x38]
push eax
push 0
call fcn.0043c5f0
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.004a39f3
add esp, 0x182c
ret 0x10