Function at 0x10016bf0
Capabilities:
Create process on windows
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d11ac
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x10246e44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1f8], ecx
push 0x101ee524
lea eax, [ebp - 0xd8]
push eax
call fcn.10064210
add esp, 8
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0x200]
add edx, 1
mov dword [ebp - 0x278], edx
mov eax, dword [ebp - 0x200]
mov cl, byte [eax]
mov byte [ebp - 0x1f9], cl
add dword [ebp - 0x200], 1
cmp byte [ebp - 0x1f9], 0
jne 0x10016c50
mov edx, dword [ebp - 0x200]
sub edx, dword [ebp - 0x278]
mov dword [ebp - 0x298], edx
mov eax, dword [ebp - 0x298]
add eax, 1
push eax
lea ecx, [ebp - 0xd8]
push ecx
call sub.CommonInfoOut.dll__ADDTXT_TORUNINFODLG_8
push 0x101ee564
lea edx, [ebp - 0xd8]
push edx
call fcn.10064210
add esp, 8
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
add ecx, 1
mov dword [ebp - 0x29c], ecx
mov edx, dword [ebp - 0x204]
mov al, byte [edx]
mov byte [ebp - 0x1fa], al
add dword [ebp - 0x204], 1
cmp byte [ebp - 0x1fa], 0
jne 0x10016cc5
mov ecx, dword [ebp - 0x204]
sub ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x230]
push edx
lea eax, [ebp - 0xd8]
push eax
call sub.CommonInfoOut.dll__SET_ANALYZEITEM_8
mov dword [ebp - 0x234], 0x64
lea ecx, [ebp - 0x234]
push ecx
call sub.CommonInfoOut.dll__SET_RUNINFO_PROGRESS_4
call sub.CommonInfoOut.dll__CLOSE_RUNINFO_DLG_0
mov edx, dword [ebp - 0x1f8]
cmp dword [edx + 0x3aca8], 0
je 0x10016d65
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x3aca8]
mov dword [ebp - 0x238], ecx
push 0x50
mov edx, dword [ebp - 0x238]
push edx
call fcn.101a653c
add esp, 8
mov eax, dword [ebp - 0x1f8]
mov dword [eax + 0x3aca8], 0
mov ecx, dword [ebp - 0x1f8]
cmp dword [ecx + 0x3acfc], 0
je 0x10016dbe
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0x3acfc]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x10016da4
push 1
mov ecx, dword [ebp - 0x210]
call fcn.10013650
mov dword [ebp - 0x23c], eax
jmp 0x10016dae
mov dword [ebp - 0x23c], 0
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx + 0x3acfc], 0
mov edx, dword [ebp - 0x1f8]
cmp dword [edx + 0x3ad00], 0
je 0x10016e17
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x3ad00]
mov dword [ebp - 0x214], ecx
cmp dword [ebp - 0x214], 0
je 0x10016dfd
push 1
mov ecx, dword [ebp - 0x214]
call fcn.100135b0
mov dword [ebp - 0x240], eax
jmp 0x10016e07
mov dword [ebp - 0x240], 0
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0x3ad00], 0
mov eax, dword [ebp - 0x1f8]
cmp dword [eax + 0x3ad04], 0
je 0x10016e70
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 0x3ad04]
mov dword [ebp - 0x218], edx
cmp dword [ebp - 0x218], 0
je 0x10016e56
push 1
mov ecx, dword [ebp - 0x218]
call fcn.100135b0
mov dword [ebp - 0x244], eax
jmp 0x10016e60
mov dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x1f8]
mov dword [eax + 0x3ad04], 0
mov ecx, dword [ebp - 0x1f8]
cmp dword [ecx + 0x3ad08], 0
je 0x10016ec9
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0x3ad08]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x10016eaf
push 1
mov ecx, dword [ebp - 0x21c]
call fcn.10013620
mov dword [ebp - 0x248], eax
jmp 0x10016eb9
mov dword [ebp - 0x248], 0
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx + 0x3ad08], 0
mov edx, dword [ebp - 0x1f8]
cmp dword [edx + 0x3ad0c], 0
je 0x10016f22
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x3ad0c]
mov dword [ebp - 0x220], ecx
cmp dword [ebp - 0x220], 0
je 0x10016f08
push 1
mov ecx, dword [ebp - 0x220]
call fcn.10013580
mov dword [ebp - 0x24c], eax
jmp 0x10016f12
mov dword [ebp - 0x24c], 0
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0x3ad0c], 0
mov eax, dword [ebp - 0x1f8]
cmp dword [eax + 0x3ad10], 0
je 0x10016f64
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 0x3ad10]
mov dword [ebp - 0x250], edx
push 0x54
mov eax, dword [ebp - 0x250]
push eax
call fcn.101a653c
add esp, 8
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx + 0x3ad10], 0
mov edx, dword [ebp - 0x1f8]
cmp dword [edx + 0x3ad14], 0
je 0x10016fa6
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x3ad14]
mov dword [ebp - 0x254], ecx
push 0x58
mov edx, dword [ebp - 0x254]
push edx
call fcn.101a653c
add esp, 8
mov eax, dword [ebp - 0x1f8]
mov dword [eax + 0x3ad14], 0
mov ecx, dword [ebp - 0x1f8]
cmp dword [ecx + 0x3ad18], 0
je 0x10016fff
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0x3ad18]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x10016fe5
push 1
mov ecx, dword [ebp - 0x224]
call fcn.10005320
mov dword [ebp - 0x258], eax
jmp 0x10016fef
mov dword [ebp - 0x258], 0
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx + 0x3ad18], 0
mov edx, dword [ebp - 0x1f8]
cmp dword [edx + 0x3ad1c], 0
je 0x1001705f
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x3ad1c]
mov dword [ebp - 0x20c], ecx
cmp dword [ebp - 0x20c], 0
je 0x10017045
push 1
mov edx, dword [ebp - 0x20c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20c]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x25c], eax
jmp 0x1001704f
mov dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x1f8]
mov dword [eax + 0x3ad1c], 0
mov ecx, dword [ebp - 0x1f8]
cmp dword [ecx + 0x3ad2c], 0
je 0x100170b8
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0x3ad2c]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x1001709e
push 1
mov ecx, dword [ebp - 0x228]
call fcn.100135e0
mov dword [ebp - 0x260], eax
jmp 0x100170a8
mov dword [ebp - 0x260], 0
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx + 0x3ad2c], 0
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x264], eax
push 0xc33c0
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.101a653c
add esp, 8
mov edx, dword [ebp - 0x1f8]
cmp dword [edx + 0xd4], 0
je 0x10017123
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0xd4]
mov dword [ebp - 0x268], ecx
push 0xc33c0
mov edx, dword [ebp - 0x268]
push edx
call fcn.101a653c
add esp, 8
mov eax, dword [ebp - 0x1f8]
mov dword [eax + 0xd4], 0
mov ecx, dword [ebp - 0x1f8]
cmp dword [ecx + 0xd8], 0
je 0x10017168
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0xd8]
mov dword [ebp - 0x26c], eax
push 0xc33c0
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.101a653c
add esp, 8
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0xd8], 0
mov eax, dword [ebp - 0x1f8]
cmp dword [eax + 0xdc], 0
je 0x100171ad
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 0xdc]
mov dword [ebp - 0x270], edx
push 0xc33c0
mov eax, dword [ebp - 0x270]
push eax
call fcn.101a653c
add esp, 8
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx + 0xdc], 0
mov edx, dword [ebp - 0x1f8]
cmp dword [edx + 0x3af1c], 0
je 0x100171ef
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x3af1c]
mov dword [ebp - 0x274], ecx
push 4
mov edx, dword [ebp - 0x274]
push edx
call fcn.101a653c
add esp, 8
mov eax, dword [ebp - 0x1f8]
mov dword [eax + 0x3af1c], 0
mov ecx, dword [ebp - 0x1f8]
cmp dword [ecx + 0x3af18], 0
je 0x10017231
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0x3af18]
mov dword [ebp - 0x290], eax
push 4
mov ecx, dword [ebp - 0x290]
push ecx
call fcn.101a653c
add esp, 8
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0x3af18], 0
mov eax, dword [ebp - 0x1f8]
cmp dword [eax + 0x3aca0], 0
je 0x10017265
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 0x3aca0]
push edx
call fcn.101ae8c4
add esp, 4
mov eax, dword [ebp - 0x1f8]
mov dword [eax + 0x3aca0], 0
mov ecx, dword [ebp - 0x1f8]
cmp dword [ecx + 0x3b314], 0
je 0x10017299
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0x3b314]
push eax
call fcn.101ae8c4
add esp, 4
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx + 0x3b314], 0
mov edx, dword [ebp - 0x1f8]
cmp dword [edx + 0x3ab4c], 0
je 0x100172cd
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x3ab4c]
push ecx
call fcn.101ae8c4
add esp, 4
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0x3ab4c], 0
mov eax, dword [ebp - 0x1f8]
cmp dword [eax + 0x3ab50], 0
je 0x10017301
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 0x3ab50]
push edx
call fcn.101ae8c4
add esp, 4
mov eax, dword [ebp - 0x1f8]
mov dword [eax + 0x3ab50], 0
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 0x3aca4]
mov eax, dword [ebp - 0x1f8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x3aca4]
mov eax, dword [edx + 0x74]
call eax
lea ecx, [ebp - 0x1dc]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp - 0x1dc]
push edx
push 0x101ee64c
mov eax, dword [ebp - 0x1f8]
add eax, 0xec
push eax
call fcn.100145f0
add esp, 0xc
mov ecx, dword [ebp - 0x1f8]
add ecx, 0xf0
push ecx
push 0x101ee658
mov edx, dword [ebp - 0x1f8]
add edx, 0xec
push edx
lea eax, [ebp - 0x2a0]
push eax
call fcn.10013100
add esp, 0xc
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x280]
push edx
lea eax, [ebp - 0x28c]
push eax
call fcn.10013050
add esp, 0xc
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x288], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x288]
push edx
mov ecx, dword [ebp - 0x1f8]
add ecx, 0xec
call fcn.10012cf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28c]
call fcn.10009530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a0]
call fcn.10009530
mov ecx, dword [ebp - 0x1f8]
add ecx, 0xec
call fcn.10008e70
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
and eax, 1
je 0x10017455
mov ecx, dword [ebp - 0x208]
and ecx, 0xfffffffe
mov dword [ebp - 0x208], ecx
mov edx, dword [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x1f8]
add ecx, 0xec
call fcn.10008e70
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x1f8]
add ecx, 0xec
call fcn.10008e70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1f4]
call fcn.10003180
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x1f8]
add ecx, 0xec
call fcn.10014cb0
push eax
lea ecx, [ebp - 0x1f4]
call fcn.10004a80
lea ecx, [ebp - 0x1f4]
call fcn.10006c00
push eax
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x3aca4]
mov edx, dword [ebp - 0x1f8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x3aca4]
mov edx, dword [eax + 0x78]
call edx
mov ecx, dword [ebp - 0x1f8]
mov byte [ecx + 0x3aac8], al
mov edx, dword [ebp - 0x1f8]
cmp dword [edx + 0x3ad30], 0
je 0x100174f5
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x3ad30]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0x3aca4], 0
cmp dword [0x1024bfb4], 0
jne 0x10017510
jmp 0x10017565
push str.freeImport
mov eax, dword [0x1024bfb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x1001754a
mov ecx, dword [0x1024bfb8]
push ecx
call dword [ebp - 0x22c]
add esp, 4
mov dword [0x1024bfb8], 0
mov edx, dword [0x1024bfb4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x10017565
mov dword [0x1024bfb4], 0
lea ecx, [ebp - 0x2c0]
call fcn.1006b7f9
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp - 0x1f8]
add ecx, 0xec
call fcn.10008e70
push eax
lea ecx, [ebp - 0x2c0]
call fcn.1006ba75
test eax, eax
jne 0x100175ba
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c0]
call fcn.1006b9a2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.10004210
jmp 0x1001761d
call fcn.10013680
mov ecx, eax
call fcn.10015780
mov dword [ebp - 0x294], eax
push 1
push 0
push 0
mov ecx, dword [ebp - 0x1f8]
add ecx, 0xec
call fcn.10008e70
push eax
push str.open
mov eax, dword [ebp - 0x294]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c0]
call fcn.1006b9a2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.10004210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101a654a
mov esp, ebp
pop ebp
ret