Function at 0x1034c31
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
xor esi, esi
push edi
push 0x22c8
mov edi, 0x80004005
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.0104b68d
cmp eax, esi
je 0x1034c71
mov ecx, eax
call fcn.01031cda
mov ebx, eax
mov dword [ebp - 0x14], eax
jmp 0x1034c76
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp ebx, esi
jne 0x1034d32
mov eax, dword [section..data]
cmp eax, section..data
mov esi, 0x10090b0
je 0x1034ca8
test byte [eax + 0x1c], 2
je 0x1034ca8
push 0x1001dbc
push esi
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
mov edi, 0x8007000e
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x1034cdf
call fcn.01028806
mov edi, eax
test edi, edi
jge 0x1034cdf
mov eax, dword [section..data]
cmp eax, section..data
je 0x1034cdf
test byte [eax + 0x1c], 2
je 0x1034cdf
push esi
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
mov eax, dword [0x1054604]
xor esi, esi
cmp eax, esi
je 0x1034cf6
push eax
call fcn.01014231
mov dword [0x1054604], esi
cmp edi, esi
jge 0x1034d01
mov dword [ebp - 0x10], 1
cmp dword [ebp - 4], esi
je 0x1034d0e
push dword [ebp - 4]
call fcn.01014231
cmp dword [ebp - 8], esi
je 0x1034d1b
push dword [ebp - 8]
call fcn.01014231
cmp dword [ebp - 0xc], esi
pop edi
pop esi
pop ebx
je 0x1034d2b
push dword [ebp - 0xc]
call fcn.01014231
mov eax, dword [ebp - 0x10]
leave
ret 0x10
push 1
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.010332ac
cmp eax, 1
mov esi, 0x10090b0
je 0x1034d77
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1034d6b
test byte [ecx + 0x1c], 2
je 0x1034d6b
push eax
push esi
push 0x14
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01040e4a
mov dword [ebp - 0x10], 1
jmp 0x10350ea
push 0x34
call fcn.0104b68d
test eax, eax
je 0x1034d8b
mov ecx, eax
call fcn.01034055
jmp 0x1034d8d
xor eax, eax
push eax
mov ecx, 0x1054604
call fcn.01014647
mov ecx, dword [0x1054604]
test ecx, ecx
jne 0x1034dd1
mov eax, dword [section..data]
cmp eax, section..data
je 0x1034dc7
test byte [eax + 0x1c], 2
je 0x1034dc7
push 0x1009304
push esi
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
mov edi, 0x8007000e
jmp 0x10350ea
push ebx
call fcn.01034242
cmp dword [ebx + 0x830], 0
je 0x1034e1e
mov ecx, ebx
call fcn.010320be
test eax, eax
je 0x1034df4
and dword [ebp - 0x10], 0
jmp 0x10350ea
mov eax, dword [section..data]
cmp eax, section..data
je 0x1034d6b
test byte [eax + 0x1c], 2
je 0x1034d6b
push 1
push esi
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
jmp 0x1034d66
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.01028c57
mov edi, eax
test edi, edi
jge 0x1034e63
mov eax, dword [section..data]
cmp eax, section..data
je 0x10350ea
test byte [eax + 0x1c], 2
je 0x10350ea
push edi
push 0x10092c0
push esi
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e76
jmp 0x10350ea
push 0x8028
call fcn.0104b68d
test eax, eax
je 0x1034e7a
mov ecx, eax
call fcn.0102042a
jmp 0x1034e7c
xor eax, eax
push eax
lea ecx, [ebp - 4]
call fcn.01014647
cmp dword [ebp - 4], 0
jne 0x1034eb2
mov eax, dword [section..data]
cmp eax, section..data
je 0x1034dc7
test byte [eax + 0x1c], 2
je 0x1034dc7
push 0x1001f90
push esi
push 0x18
jmp 0x1034dbc
mov ecx, dword [ebp - 4]
push ebx
call fcn.01025ee9
mov edi, eax
test edi, edi
jge 0x1034ee9
mov eax, dword [section..data]
cmp eax, section..data
je 0x10350ea
test byte [eax + 0x1c], 2
je 0x10350ea
push edi
push 0x1009268
push esi
push 0x19
jmp 0x1034e53
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.010209c0
mov edi, eax
test edi, edi
jge 0x1034f27
mov eax, dword [section..data]
cmp eax, section..data
je 0x10350ea
test byte [eax + 0x1c], 2
je 0x10350ea
push edi
push 0x1009218
push esi
push 0x1a
jmp 0x1034e53
mov eax, dword [ebx + 0x838]
push dword [ebp + 0x14]
xor ecx, ecx
test eax, eax
sete cl
push ecx
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x1c]
call fcn.01028778
mov edi, eax
cmp edi, 0x40200
je 0x10350ea
test edi, edi
jge 0x1034f80
mov eax, dword [section..data]
cmp eax, section..data
je 0x10350ea
test byte [eax + 0x1c], 2
je 0x10350ea
push edi
push 0x10091c8
push esi
push 0x1b
jmp 0x1034e53
mov ecx, dword [ebp - 4]
push ebx
call fcn.010276e8
mov edi, eax
test edi, edi
jge 0x1034fb7
mov eax, dword [section..data]
cmp eax, section..data
je 0x10350ea
test byte [eax + 0x1c], 2
je 0x10350ea
push edi
push 0x1001f34
push esi
push 0x1c
jmp 0x1034e53
lea eax, [ebx + 0xc60]
cmp word [eax], 0
je 0x1034fd7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 4]
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.010202e2
mov edi, eax
test edi, edi
jge 0x1035029
mov eax, dword [section..data]
cmp eax, section..data
je 0x1035016
test byte [eax + 0x1c], 2
je 0x1035016
push edi
push esi
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e4a
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 8]
call fcn.01034852
jmp 0x10350ea
push dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
push 0
call fcn.01028982
mov edi, eax
mov dword [ebp + 0x14], edi
call fcn.010142ac
push eax
lea ecx, [ebp - 8]
call fcn.01014647
test edi, edi
jge 0x1035075
mov eax, dword [section..data]
cmp eax, section..data
je 0x10350ea
test byte [eax + 0x1c], 2
je 0x10350ea
push edi
push 0x1009178
push esi
push 0x1e
jmp 0x1034e53
mov ecx, dword [ebp - 0xc]
call fcn.010284f2
test edi, edi
mov ebx, eax
jne 0x10350e7
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x40]
push eax
call edi
test eax, eax
je 0x10350e4
cmp dword [ebp - 8], 0
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0x10]
je 0x10350af
mov ecx, dword [ebp - 8]
call fcn.01014d03
jmp 0x10350b6
push ebx
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x1035089
lea eax, [ebp - 0x40]
push eax
push ebx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1035089
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1035089
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1035111
cmp edi, 0x40200
je 0x1035109
lea eax, [ebx + 0xc60]
cmp word [eax], 0
je 0x1035109
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
cmp dword [ebp - 8], 0
je 0x1034cad
mov ecx, dword [ebp - 8]
add ecx, 4
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, eax
test edi, edi
jge 0x1034cdf
mov eax, dword [section..data]
cmp eax, section..data
je 0x1034cdf
test byte [eax + 0x1c], 2
je 0x1034cdf
push esi
push 0x1f
jmp 0x1034cd4