Function at 0x13a5b49b
Capabilities:
Delete file
Get common file path
Move file
Query or enumerate registry value
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe84
mov eax, dword [0x13a6e0f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0xe80], eax
mov eax, dword [ebp + 0x10]
xor esi, esi
push edi
mov dword [ebp - 0xe74], ebx
mov dword [ebp - 0xe84], eax
mov dword [ebp - 0xe40], esi
mov eax, dword [0x13a6e004]
cmp eax, 0x13a6e004
je 0x13a5b503
test dword [eax + 0x1c], 0x200
je 0x13a5b503
cmp byte [eax + 0x19], 4
jb 0x13a5b503
push 0x13a01620
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a58cc1
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0xe48], esi
mov dword [ebp - 0xe70], esi
mov dword [ebp - 0xe54], esi
mov dword [ebp - 0xe4c], esi
mov dword [ebp - 0xe5c], esi
mov dword [ebp - 0xe50], esi
mov dword [ebp - 0xe44], esi
mov dword [ebp - 0xe58], esi
call sub.msvcrt.dll_memset
xor eax, eax
push edi
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push esi
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebx]
add esp, 0x18
lea ecx, [ebp - 0xe70]
push ecx
push esi
push ebx
mov dword [ebp - 0xe7c], esi
call dword [eax + 0x38]
test eax, eax
jl 0x13a5b68c
push esi
push dword [0x13a6e140]
push dword [0x13a6e148]
push 0x13a015f4
push dword [ebp - 0xe70]
call sub.MAPI32.dll_Ordinal_82
test eax, eax
jl 0x13a5b68c
lea eax, [ebp - 0xe54]
push eax
push esi
push esi
push esi
push esi
push dword [ebp - 0xe70]
call sub.MAPI32.dll_Ordinal_75
test eax, eax
jge 0x13a5b676
mov dword [ebp - 0xe54], esi
mov dword [ebp - 0xe40], 0x2d02
cmp word [ebp - 0x824], si
je 0x13a5b603
lea eax, [ebp - 0x824]
push eax
call fcn.13a6240e
mov ecx, dword [ebp - 0xe84]
mov dword [ecx], eax
cmp eax, esi
jne 0x13a5b603
mov dword [ebp - 0xe40], 0x2cfd
cmp dword [ebp - 0xe58], esi
je 0x13a5b616
push dword [ebp - 0xe58]
call fcn.13a639b4
cmp dword [ebp - 0xe44], esi
je 0x13a5b629
push dword [ebp - 0xe44]
call fcn.13a639b4
cmp dword [ebp - 0xe54], esi
je 0x13a5b63c
push dword [ebp - 0xe54]
call sub.MAPI32.dll_Ordinal_140
mov eax, dword [ebp - 0xe70]
cmp eax, esi
je 0x13a5b64c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xe50], esi
pop edi
pop esi
pop ebx
je 0x13a5b662
push dword [ebp - 0xe50]
call fcn.13a639b4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xe40]
xor ecx, ebp
call fcn.13a619a5
leave
ret 0xc
mov eax, dword [ebp - 0xe54]
cmp dword [eax], esi
jne 0x13a5b68c
push eax
call sub.MAPI32.dll_Ordinal_140
mov dword [ebp - 0xe54], esi
mov eax, dword [ebp - 0xe54]
cmp eax, esi
je 0x13a5b5ce
mov dword [ebp - 0xe68], 1
mov dword [ebp - 0xe64], esi
cmp dword [eax], esi
jbe 0x13a5bac8
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov dword [ebp - 0xe60], esi
mov ebx, 0x80000000
mov ecx, dword [ebp - 0xe60]
mov eax, dword [ecx + eax + 0xc]
mov dword [ebp - 0xe4c], esi
mov dword [ebp - 0xe48], esi
cmp dword [eax + 8], esi
je 0x13a5b9af
mov ecx, dword [ebp - 0xe74]
mov ecx, dword [ecx]
lea edx, [ebp - 0xe4c]
push edx
push 0x10
push esi
push dword [eax + 0x18]
push dword [ebp - 0xe74]
call dword [ecx + 0x3c]
test eax, eax
jl 0x13a5b79f
mov eax, dword [ebp - 0xe4c]
mov ecx, dword [eax]
lea edx, [ebp - 0xe48]
push edx
lea edx, [ebp - 0xe7c]
push edx
push esi
push 0x13a01600
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x13a5b79f
cmp dword [ebp - 0xe44], esi
je 0x13a5b745
push dword [ebp - 0xe44]
call fcn.13a639b4
mov dword [ebp - 0xe44], esi
mov eax, dword [ebp - 0xe48]
movzx ecx, word [eax + 0x20]
cmp ecx, 0xa
jne 0x13a5b781
movzx ecx, word [eax + 0x50]
cmp ecx, 0xa
je 0x13a5b771
push 0x2e
push dword [eax + 0x58]
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
pop ecx
cmp eax, esi
je 0x13a5b797
push eax
jmp 0x13a5b784
movzx ecx, word [eax + 0x30]
cmp ecx, 0xa
je 0x13a5b797
push 0x2e
push dword [eax + 0x38]
jmp 0x13a5b762
push dword [eax + 0x28]
call fcn.13a5ffd6
mov dword [ebp - 0xe44], eax
cmp eax, esi
je 0x13a5b9eb
cmp dword [ebp - 0xe44], esi
jne 0x13a5b7aa
mov dword [ebp - 0xe68], esi
jmp 0x13a5b986
xor eax, eax
push 0x206
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xe6c]
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0xe44]
mov dword [ebp - 0xe6c], 0x104
push ebx
call edi
mov dword [ebp - 0xe40], eax
cmp eax, esi
je 0x13a5b83c
cmp eax, 0xd
je 0x13a5b83c
mov eax, dword [0x13a6e004]
cmp eax, 0x13a6e004
je 0x13a5b986
test dword [eax + 0x1c], 0x200
je 0x13a5b986
cmp byte [eax + 0x19], 5
jb 0x13a5b986
push dword [ebp - 0xe44]
push 0x13a01620
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a5a555
jmp 0x13a5b986
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call sub.msvcrt.dll_memset
lea ecx, [ebp - 0x414]
push ecx
mov eax, 0x104
push 0x13a017e0
push eax
mov dword [ebp - 0xe6c], eax
lea eax, [ebp - 0x61c]
push eax
call fcn.13a58e45
mov esi, eax
add esp, 0x1c
test esi, esi
jl 0x13a5b9fa
lea eax, [ebp - 0xe6c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
push ebx
call edi
test eax, eax
je 0x13a5b8cb
cmp eax, 0xd
je 0x13a5b8cb
lea eax, [ebp - 0x414]
push eax
push 0x104
lea eax, [ebp - 0x61c]
push eax
call fcn.13a66477
mov esi, eax
test esi, esi
jl 0x13a5ba4e
lea eax, [ebp - 0x414]
push eax
push 0x13a017ac
lea eax, [ebp - 0xe3c]
push 0x104
push eax
call fcn.13a58e45
mov esi, eax
add esp, 0x10
test esi, esi
jl 0x13a5ba73
lea eax, [ebp - 0xe6c]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xe3c]
push eax
push ebx
mov dword [ebp - 0xe6c], 0x104
call edi
mov dword [ebp - 0xe40], eax
test eax, eax
je 0x13a5b962
cmp eax, 0xd
je 0x13a5b962
mov eax, dword [0x13a6e004]
cmp eax, 0x13a6e004
je 0x13a5b959
test dword [eax + 0x1c], 0x200
je 0x13a5b959
cmp byte [eax + 0x19], 5
jb 0x13a5b959
push dword [ebp - 0xe44]
push 0x13a01620
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a5a555
and dword [ebp - 0xe68], 0
jmp 0x13a5b984
lea eax, [ebp - 0x61c]
push eax
push 0x104
lea eax, [ebp - 0xa2c]
push eax
call fcn.13a66477
mov esi, eax
test esi, esi
jl 0x13a5ba98
xor esi, esi
mov eax, dword [ebp - 0xe4c]
cmp eax, esi
je 0x13a5b996
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xe48], esi
je 0x13a5b9af
push dword [ebp - 0xe48]
call sub.MAPI32.dll_Ordinal_17
mov dword [ebp - 0xe48], esi
inc dword [ebp - 0xe64]
mov eax, dword [ebp - 0xe54]
mov ecx, dword [ebp - 0xe64]
add dword [ebp - 0xe60], 0xc
cmp ecx, dword [eax]
jb 0x13a5b6c3
cmp dword [ebp - 0xe68], esi
jne 0x13a5bac8
mov dword [ebp - 0xe40], 0x2cf4
jmp 0x13a5b616
mov dword [ebp - 0xe40], 0x2cfd
jmp 0x13a5b616
mov eax, dword [0x13a6e004]
cmp eax, 0x13a6e004
je 0x13a5ba28
test dword [eax + 0x1c], 0x200
je 0x13a5ba28
cmp byte [eax + 0x19], 5
jb 0x13a5ba28
push esi
push 0x13a01620
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a5a529
mov eax, esi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x13a5ba46
movzx eax, si
mov dword [ebp - 0xe40], eax
xor esi, esi
jmp 0x13a5b616
mov dword [ebp - 0xe40], esi
jmp 0x13a5ba3f
mov eax, dword [0x13a6e004]
cmp eax, 0x13a6e004
je 0x13a5ba28
test dword [eax + 0x1c], 0x200
je 0x13a5ba28
cmp byte [eax + 0x19], 5
jb 0x13a5ba28
push esi
push 0x13a01620
push 0x1d
jmp 0x13a5ba1d
mov eax, dword [0x13a6e004]
cmp eax, 0x13a6e004
je 0x13a5ba28
test dword [eax + 0x1c], 0x200
je 0x13a5ba28
cmp byte [eax + 0x19], 5
jb 0x13a5ba28
push esi
push 0x13a01620
push 0x1e
jmp 0x13a5ba1d
mov eax, dword [0x13a6e004]
cmp eax, 0x13a6e004
je 0x13a5ba28
test dword [eax + 0x1c], 0x200
je 0x13a5ba28
cmp byte [eax + 0x19], 5
jb 0x13a5ba28
push esi
push 0x13a01620
push 0x20
jmp 0x13a5ba1d
mov dword [ebp - 0xe64], esi
cmp dword [eax], esi
jbe 0x13a5b5d8
mov dword [ebp - 0xe60], esi
mov ecx, dword [ebp - 0xe60]
mov eax, dword [ecx + eax + 0xc]
mov dword [ebp - 0xe4c], esi
mov dword [ebp - 0xe48], esi
cmp dword [eax + 8], esi
je 0x13a5bf7d
mov ecx, dword [ebp - 0xe74]
mov edx, dword [ecx]
lea edi, [ebp - 0xe4c]
push edi
push 0x10
push esi
push dword [eax + 0x18]
push ecx
call dword [edx + 0x3c]
test eax, eax
jl 0x13a5bf54
mov eax, dword [ebp - 0xe4c]
mov ecx, dword [eax]
lea edx, [ebp - 0xe48]
push edx
lea edx, [ebp - 0xe7c]
push edx
push esi
push 0x13a01600
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x13a5bf54
cmp dword [ebp - 0xe44], esi
je 0x13a5bb5d
push dword [ebp - 0xe44]
call fcn.13a639b4
mov dword [ebp - 0xe44], esi
mov eax, dword [ebp - 0xe48]
movzx ecx, word [eax + 0x20]
push 0xa
pop edi
cmp ecx, edi
jne 0x13a5bb99
movzx ecx, word [eax + 0x50]
cmp ecx, edi
je 0x13a5bb8a
push 0x2e
push dword [eax + 0x58]
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
pop ecx
cmp eax, esi
je 0x13a5bbaf
push eax
jmp 0x13a5bb9c
movzx ecx, word [eax + 0x30]
cmp ecx, edi
je 0x13a5bbaf
push 0x2e
push dword [eax + 0x38]
jmp 0x13a5bb7b
push dword [eax + 0x28]
call fcn.13a5ffd6
mov dword [ebp - 0xe44], eax
cmp eax, esi
je 0x13a5b5f9
cmp dword [ebp - 0xe44], esi
je 0x13a5bf54
xor ebx, ebx
mov dword [ebp - 0xe5c], esi
mov dword [ebp - 0xe50], esi
cmp dword [ebp - 0xe58], esi
je 0x13a5bbdc
push dword [ebp - 0xe58]
call fcn.13a639b4
mov eax, dword [ebp - 0xe48]
movzx ecx, word [eax + 0x40]
cmp ecx, edi
je 0x13a5bc02
push dword [eax + 0x48]
call fcn.13a5ffd6
mov dword [ebp - 0xe58], eax
cmp eax, esi
je 0x13a5b5f9
jmp 0x13a5bc08
mov dword [ebp - 0xe58], esi
cmp dword [ebp - 0xe58], esi
je 0x13a5bc29
push dword [ebp - 0xe58]
call fcn.13a6240e
mov dword [ebp - 0xe50], eax
cmp eax, esi
je 0x13a5b5f9
mov eax, dword [ebp - 0xe48]
mov eax, dword [eax + 8]
cmp eax, 1
je 0x13a5bc97
add eax, 0xfffffffb
cmp eax, 1
ja 0x13a5bcbe
mov eax, dword [ebp - 0xe4c]
mov ecx, dword [eax]
lea edx, [ebp - 0xe5c]
push edx
push esi
push esi
mov edi, 0x13a023ec
push edi
push 0x3701000d
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x13a5bcbe
mov eax, dword [ebp - 0xe4c]
mov ecx, dword [eax]
lea edx, [ebp - 0xe5c]
push edx
push esi
push esi
push edi
push 0x37010102
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x13a5bcbe
lea edx, [ebp - 0xe5c]
push edx
push esi
push esi
push 0x13a02dbc
push 0x3701000d
jmp 0x13a5bcaa
lea edx, [ebp - 0xe5c]
push edx
push esi
push esi
push 0x13a02dac
push 0x37010102
mov eax, dword [ebp - 0xe4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x13a5bf54
cmp dword [ebp - 0xe5c], esi
je 0x13a5be34
lea eax, [ebp - 0xe3c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0xa2c]
push eax
push esi
push 0x13a017a4
lea eax, [ebp - 0xe3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
push esi
push 2
push esi
push esi
push 0xc0000000
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x13a5be28
mov ebx, 0x10000
push ebx
call fcn.13a6391c
mov esi, eax
test esi, esi
je 0x13a5bfa3
mov eax, dword [ebp - 0xe5c]
mov ecx, dword [eax]
lea edx, [ebp - 0xe78]
push edx
push ebx
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x13a5bd66
push 0
lea eax, [ebp - 0xe68]
push eax
push dword [ebp - 0xe78]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0xe78], ebx
je 0x13a5bd2e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.13a639b4
cmp dword [ebp - 0xe50], 0
je 0x13a5bd8e
push dword [ebp - 0xe50]
call fcn.13a639b4
and dword [ebp - 0xe50], 0
lea eax, [ebp - 0xa2c]
push eax
push 0x104
lea eax, [ebp - 0xc34]
push eax
call fcn.13a66477
test eax, eax
jl 0x13a5bfaa
lea eax, [ebp - 0xc34]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x13a5be09
push dword [ebp - 0xe44]
mov ecx, eax
lea edx, [ebp - 0xc34]
sub ecx, edx
sar ecx, 1
shr ecx, 1
mov edx, 0x103
sub edx, ecx
push edx
push eax
call fcn.13a66477
test eax, eax
jl 0x13a5bfd6
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0xc34]
jmp 0x13a5be0f
lea eax, [ebp - 0xa2c]
push eax
call fcn.13a6240e
mov dword [ebp - 0xe50], eax
test eax, eax
je 0x13a5bfa3
xor ebx, ebx
inc ebx
xor esi, esi
mov eax, dword [ebp - 0xe5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp - 0xe50]
cmp edi, esi
je 0x13a5bf54
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.13a5ae36
test eax, eax
je 0x13a5c01c
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0xe80]
push edi
push dword [eax]
call fcn.13a68766
test eax, eax
je 0x13a5c02b
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
cmp word [ebp - 0x824], si
je 0x13a5beed
push eax
call fcn.13a6725c
test eax, eax
je 0x13a5c0c6
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x13a5befb
mov eax, dword [0x13a6e004]
cmp eax, 0x13a6e004
je 0x13a5befb
test dword [eax + 0x1c], 0x200
je 0x13a5befb
cmp byte [eax + 0x19], 2
jb 0x13a5befb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x13a6e004]
push 0x13a0178c
push 0x13a01620
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a58ce7
jmp 0x13a5befb
push 0x104
push eax
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
cmp ebx, esi
je 0x13a5bf48
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x13a5bf48
mov eax, dword [0x13a6e004]
cmp eax, 0x13a6e004
je 0x13a5bf48
test dword [eax + 0x1c], 0x200
je 0x13a5bf48
cmp byte [eax + 0x19], 2
jb 0x13a5bf48
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x13a6e004]
push 0x13a0178c
push 0x13a01620
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a58ce7
push edi
call fcn.13a639b4
mov dword [ebp - 0xe50], esi
mov eax, dword [ebp - 0xe4c]
cmp eax, esi
je 0x13a5bf64
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xe48], esi
je 0x13a5bf7d
push dword [ebp - 0xe48]
call sub.MAPI32.dll_Ordinal_17
mov dword [ebp - 0xe48], esi
inc dword [ebp - 0xe64]
mov eax, dword [ebp - 0xe54]
mov ecx, dword [ebp - 0xe64]
add dword [ebp - 0xe60], 0xc
cmp ecx, dword [eax]
jb 0x13a5badc
jmp 0x13a5b5d8
xor esi, esi
jmp 0x13a5b5f9
mov ecx, dword [0x13a6e004]
cmp ecx, 0x13a6e004
je 0x13a5c00b
test dword [ecx + 0x1c], 0x200
je 0x13a5c00b
cmp byte [ecx + 0x19], 2
jb 0x13a5c00b
push eax
push 0x13a01464
push 0x13a01620
push 0x21
jmp 0x13a5c000
mov ecx, dword [0x13a6e004]
cmp ecx, 0x13a6e004
je 0x13a5c00b
test dword [ecx + 0x1c], 0x200
je 0x13a5c00b
cmp byte [ecx + 0x19], 2
jb 0x13a5c00b
push eax
push 0x13a01464
push 0x13a01620
push 0x22
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.13a58ce7
mov dword [ebp - 0xe40], 0x2cfe
xor esi, esi
jmp 0x13a5b603
mov dword [ebp - 0xe40], 0x2cf4
jmp 0x13a5b603
mov eax, dword [0x13a6e004]
mov edi, 0x13a6e004
cmp eax, edi
je 0x13a5c06b
test dword [eax + 0x1c], 0x200
je 0x13a5c06b
cmp byte [eax + 0x19], 2
jb 0x13a5c06b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x13a6e004]
push 0x13a01764
push 0x13a01620
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a58ce7
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0xe40], 0x2cf4
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x13a5b603
mov eax, dword [0x13a6e004]
cmp eax, edi
je 0x13a5b603
test dword [eax + 0x1c], 0x200
je 0x13a5b603
cmp byte [eax + 0x19], 2
jb 0x13a5b603
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x13a0178c
push 0x13a01620
push 0x24
jmp 0x13a5c15c
mov eax, dword [0x13a6e004]
mov edi, 0x13a6e004
cmp eax, edi
je 0x13a5c106
test dword [eax + 0x1c], 0x200
je 0x13a5c106
cmp byte [eax + 0x19], 2
jb 0x13a5c106
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x13a6e004]
push 0x13a01744
push 0x13a01620
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a58ce7
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0xe40], 0x2cf4
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x13a5b603
mov eax, dword [0x13a6e004]
cmp eax, edi
je 0x13a5b603
test dword [eax + 0x1c], 0x200
je 0x13a5b603
cmp byte [eax + 0x19], 2
jb 0x13a5b603
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x13a0178c
push 0x13a01620
push 0x26
mov eax, dword [0x13a6e004]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.13a58ce7
jmp 0x13a5b603