Function at 0x102c0ec
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], edi
call fcn.0101d960
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push dword [ebp + 8]
call esi
push eax
lea ecx, [ebp - 4]
call fcn.0102e943
push 1
pop ebx
push ebx
push dword [ebp + 8]
call esi
push eax
lea ecx, [ebp - 8]
call fcn.0102e943
push 0x38e
push dword [ebp + 8]
call esi
push eax
lea ecx, [ebp - 0xc]
call fcn.0102e943
cmp dword [ebp + 0xc], edi
je 0x102c166
cmp dword [0x1038b68], edi
je 0x102c172
push 0x1038b6c
call fcn.0102c8f3
push dword [0x1038b68]
call dword [0x1038ab4]
mov dword [0x1038b68], edi
cmp dword [0x1038b68], edi
jne 0x102c746
xor edi, edi
cmp dword [0x1038b88], edi
jne 0x102c189
call fcn.0102c90c
test eax, eax
je 0x102c572
push dword [ebp + 8]
call dword [0x1038b58]
call dword [0x1038b88]
cmp eax, edi
mov dword [0x1038b68], eax
je 0x102c58c
push 1
pop ebx
cmp dword [ebp + 0xc], ebx
jne 0x102c1d0
push dword [ebp + 8]
call fcn.0102de59
test eax, eax
je 0x102c600
call dword [0x1038b88]
cmp eax, edi
mov dword [0x1038b68], eax
je 0x102c600
push dword [0x1038b48]
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x338]
push 0x1001de0
push eax
call fcn.0102a612
cmp dword [0x103a71c], edi
jne 0x102c207
push 0x33
call fcn.01033d37
test eax, eax
je 0x102c218
push dword [0x103a71c]
push fcn.01033dad
call dword [0x1038abc]
push dword [0x103a71c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x1038978]
push 2
pop esi
mov eax, dword [eax + 8]
dec eax
cmp eax, esi
jle 0x102c292
lea eax, [ebp - 0x338]
push 0x8071
push eax
call fcn.0100ddae
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x102c292
cmp dword [ebp + 0xc], edi
push eax
je 0x102c25a
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x102c280
push dword [0x1038b68]
call dword [0x1038cac]
cmp eax, edi
jge 0x102c5b8
cmp eax, 0xfffffffa
je 0x102c5ce
cmp eax, 0xffffffec
je 0x102c5ce
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x18]
push eax
call fcn.0100e4ec
mov ecx, dword [0x1038978]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], esi
mov eax, dword [ecx + 8]
dec eax
cmp eax, esi
jl 0x102c4e9
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [0x1038cb8]
sar esi, 1
shl esi, 3
mov ebx, dword [eax + esi - 4]
sar ebx, 0x10
test bl, 0x16
jne 0x102c4d0
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x10]
push dword [eax + ecx*4]
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x130]
push 0x1001dd8
push eax
call fcn.0102a612
lea eax, [ebp - 0x234]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [sym.imp.MSVCRT.dll_strrchr]
lea eax, [ebp - 0x234]
push 0x5c
push eax
call edi
and byte [eax + 1], 0
pop ecx
pop ecx
lea eax, [ebp - 0x234]
push 0x1001cec
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x130]
push 0x5c
push eax
call edi
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x234]
push 0x8071
push eax
call fcn.0100ddae
mov edi, eax
test edi, edi
je 0x102c8c4
test bl, 8
jne 0x102c384
mov eax, dword [0x1038cb8]
or byte [eax + esi - 2], 8
mov dword [0x1038a8c], 1
lea eax, [eax + esi - 4]
mov eax, dword [0x1038cb8]
mov eax, dword [eax + esi - 8]
and dword [ebp - 0x2c], 0
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x102c427
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x478]
push eax
mov eax, dword [0x1038978]
mov eax, dword [eax + 4]
push dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x102c3ce
mov eax, dword [0x1038cb8]
or byte [eax + esi - 2], 2
lea eax, [eax + esi - 4]
jmp 0x102c427
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x1038978]
mov eax, dword [eax + 4]
push dword [eax + ecx*4]
call fcn.0102888b
test eax, eax
je 0x102c3fb
mov ecx, dword [0x1038cb8]
mov eax, dword [ebp - 0x24]
mov dword [ecx + esi - 8], eax
mov eax, dword [ebp - 0x24]
jmp 0x102c41d
lea eax, [ebp - 0x464]
push eax
call fcn.01016828
mov ecx, dword [0x1038cb8]
mov eax, dword [ebp - 0x464]
mov dword [ecx + esi - 8], eax
mov eax, dword [ebp - 0x464]
push ebx
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push edi
push dword [0x1038b68]
call dword [0x1038b4c]
cmp eax, 0xfffffffa
je 0x102c62a
cmp eax, 0xffffffec
je 0x102c62a
cmp eax, ebx
jge 0x102c48a
push 1
pop ebx
push edi
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x102c485
mov eax, dword [0x1038cb8]
and byte [eax + esi - 2], 0xf7
lea eax, [eax + esi - 4]
mov eax, dword [0x1038cb8]
or byte [eax + esi - 2], 0x40
lea eax, [eax + esi - 4]
jmp 0x102c4ca
mov dword [ebp - 0x1c], ebx
jmp 0x102c4ca
mov ecx, dword [0x1038cb8]
mov edx, dword [ecx + esi - 4]
lea ecx, [ecx + esi - 4]
xor eax, edx
and eax, 0xffff
xor eax, edx
mov dword [ecx], eax
mov eax, dword [0x1038978]
mov eax, dword [eax + 8]
dec eax
cmp eax, 2
jle 0x102c4bb
mov dword [0x1038a8c], 1
push ebx
push ebx
mov dword [ebp - 0x28], 1
call dword [0x1038abc]
push edi
call fcn.0100e4d8
mov ecx, dword [0x1038978]
add dword [ebp - 0x10], 2
mov eax, dword [ecx + 8]
dec eax
cmp dword [ebp - 0x10], eax
jle 0x102c2ad
xor edi, edi
push edi
push edi
call dword [0x1038abc]
cmp dword [ebp - 0x28], edi
jne 0x102c51a
xor edi, edi
cmp dword [ebp - 0x14], edi
jne 0x102c6d6
push dword [ebp + 8]
call fcn.0102de59
test eax, eax
je 0x102c683
mov dword [ebp - 0x14], 1
jmp 0x102c561
xor edi, edi
cmp dword [ebp - 0x1c], edi
je 0x102c720
push 0x1038b6c
call fcn.0102c8f3
push dword [0x1038b68]
call dword [0x1038ab4]
cmp dword [ebp - 0x14], edi
mov dword [0x1038b68], edi
jne 0x102c6f2
push dword [ebp + 8]
call fcn.0102de59
test eax, eax
je 0x102c6f2
mov dword [ebp - 0x14], 1
cmp dword [0x1038b68], edi
je 0x102c172
jmp 0x102c741
lea eax, [ebp - 0x130]
push eax
push 0x32
call fcn.01023d06
lea eax, [ebp - 0x130]
push eax
call fcn.0102cd5c
cmp dword [ebp - 0xc], edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
je 0x102c59e
push 1
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 8], edi
je 0x102c5aa
push 1
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], edi
je 0x102c8b6
jmp 0x102c719
lea eax, [ebp - 0x18]
push eax
call fcn.0100e4ec
push edi
push edi
call dword [0x1038abc]
jmp 0x102c744
lea eax, [ebp - 0x18]
push eax
call fcn.0100e4ec
push 0x1038b6c
call fcn.0102c8f3
push edi
push edi
call dword [0x1038abc]
call fcn.01033dbd
push dword [0x1038b68]
call dword [0x1038ab4]
mov dword [0x1038b68], edi
cmp dword [ebp - 0xc], edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
je 0x102c611
push ebx
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 8], edi
je 0x102c61c
push ebx
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], edi
je 0x102c8b6
jmp 0x102c8b0
push 0x1038b6c
call fcn.0102c8f3
push ebx
push ebx
call dword [0x1038abc]
call fcn.01033dbd
push dword [0x1038b68]
call dword [0x1038ab4]
cmp edi, ebx
mov dword [0x1038b68], ebx
je 0x102c65d
push edi
call fcn.0100e4d8
cmp dword [ebp - 0xc], ebx
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
je 0x102c66f
push 1
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 8], ebx
je 0x102c67b
push 1
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], ebx
jmp 0x102c713
push 0x1038b6c
call fcn.0102c8f3
push dword [0x1038b68]
call dword [0x1038ab4]
cmp dword [ebp - 0xc], edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
mov dword [0x1038b68], edi
je 0x102c6b1
push 1
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 8], edi
je 0x102c6bd
push 1
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], edi
je 0x102c6c9
push 1
push dword [ebp - 4]
call esi
call fcn.0101d987
or eax, 0xffffffff
jmp 0x102c8bd
push 0x1038b6c
call fcn.0102c8f3
push dword [0x1038b68]
call dword [0x1038ab4]
mov dword [0x1038b68], edi
cmp dword [ebp - 0xc], edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
je 0x102c704
push 1
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 8], edi
je 0x102c710
push 1
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], edi
je 0x102c8b6
push 1
jmp 0x102c8b1
mov eax, dword [0x1038978]
mov eax, dword [eax + 8]
dec eax
cmp eax, 2
jle 0x102c741
lea eax, [ebp - 0x338]
push eax
push dword [0x1038b68]
call dword [0x1038a80]
push 1
pop ebx
xor edi, edi
cmp dword [ebp + 0xc], 2
jne 0x102c77f
cmp dword [ebp - 0xc], edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
je 0x102c75d
push ebx
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 8], edi
je 0x102c768
push ebx
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], edi
je 0x102c773
push ebx
push dword [ebp - 4]
call esi
call fcn.0101d987
mov eax, ebx
jmp 0x102c8bd
mov eax, dword [0x1038b68]
cmp eax, edi
je 0x102c88f
cmp dword [0x1038b50], edi
je 0x102c7cf
call fcn.0100cc36
cmp eax, edi
je 0x102c7ba
mov eax, dword [eax + 0xc]
mov ax, word [eax + 0x1e6]
and ax, 0x3ff
cmp ax, bx
je 0x102c7b6
cmp ax, 0xd
jne 0x102c7ba
mov eax, ebx
jmp 0x102c7bc
xor eax, eax
push eax
push edi
push dword [0x1038b68]
push dword [ebp + 8]
call dword [0x1038b50]
jmp 0x102c7da
push edi
push eax
push dword [ebp + 8]
call dword [0x1038b5c]
cmp eax, edi
mov dword [0x1038b98], eax
je 0x102c835
call fcn.0102c8d3
push 0xfffffffffffffff0
push dword [0x1038b98]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or al, 4
push eax
push 0xfffffffffffffff0
push dword [0x1038b98]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push dword [0x1038b98]
call fcn.0102cce2
push dword [0x1038b98]
push dword [ebp + 8]
call fcn.0102ca94
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [0x1038b98]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x102c851
push 0x1038b6c
call fcn.0102c8f3
push dword [0x1038b68]
call dword [0x1038ab4]
mov dword [0x1038b68], edi
call fcn.01033dbd
cmp dword [ebp - 0xc], 0
mov edi, dword [0x1038b98]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
je 0x102c86e
push ebx
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 8], 0
je 0x102c87a
push ebx
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], 0
je 0x102c886
push ebx
push dword [ebp - 4]
call esi
call fcn.0101d987
mov eax, edi
jmp 0x102c8bd
cmp dword [ebp - 0xc], edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
je 0x102c8a0
push ebx
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 8], edi
je 0x102c8ab
push ebx
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], edi
je 0x102c8b6
push ebx
push dword [ebp - 4]
call esi
call fcn.0101d987
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
push 0
push 0
call dword [0x1038abc]
jmp 0x102c4f6