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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa64
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0xc], esi
mov eax, dword [0x30033ce8]
mov dword [ebp - 4], 1
mov eax, dword [eax + 0x260]
mov ecx, dword [eax + 0x14]
call fcn.3001f680
push 0xd
call fcn.30009f32
call fcn.3002692b
test eax, eax
je 0x30026eaa
xor edi, edi
push edi
call dword [sym.imp.MSO9.DLL_Ordinal_1378]
push eax
push 0x38
call dword [sym.imp.MSO9.DLL_Ordinal_1835]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 8], ebx
je 0x30026ec6
push 0x30026a92
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x30026ee9
mov eax, dword [0x30033ce8]
test byte [eax + 0x24c], 4
je 0x30026b80
test byte [eax + 0x254], 0x40
jne 0x30026b80
push dword [esi + 0x4c8]
mov ecx, esi
call fcn.30025fca
test eax, eax
jl 0x30026ef0
mov eax, dword [0x30033ce8]
or dword [eax + 0x254], 0x40
mov eax, dword [eax + 0x25c]
cmp eax, edi
je 0x30026b9a
push eax
call fcn.30029214
mov edi, eax
test edi, edi
je 0x30026ef7
cmp dword [esi + 0x460], 2
jne 0x30026bc5
lea eax, [ebp - 0x154]
mov ecx, esi
push eax
call fcn.300112dc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.300299dc
mov ebx, eax
jmp 0x30026bed
lea eax, [ebp - 0x154]
push 1
push eax
mov ecx, esi
call fcn.3001130a
lea eax, [ebp - 0x154]
push eax
push 0x30026aa6
call dword [sym.imp.MSO9.DLL_Ordinal_876]
lea ebx, [ebp - 0x154]
cmp dword [ebp + 8], 3
je 0x30026c4c
lea eax, [ebp - 0x55c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x30026c1b
lea eax, [ebp - 0x55c]
push 0x30026aae
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x358]
push eax
push 0
lea eax, [ebp - 0x55c]
push 0x30026ab2
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x30026c4c
lea eax, [ebp - 0x358]
push 0x30026ab6
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x300347f0]
mov dword [ebp - 0x34], edi
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c], 0x300265d0
mov dword [ebp - 0x30], ecx
movzx eax, word [eax + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x75c]
push eax
push 0x80002
call fcn.30029082
lea eax, [ebp - 0x75c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x65c]
push eax
push 0x8000c
call fcn.30029082
lea eax, [ebp - 0x65c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0xa64]
push eax
push 0x10001
call dword [sym.imp.MSO9.DLL_Ordinal_1372]
mov esi, 0x300344e4
lea eax, [ebp - 0xa64]
push esi
push eax
call dword [sym.imp.MSO9.DLL_Ordinal_933]
mov eax, dword [0x300347f0]
mov dword [ebp - 0x14], esi
xor esi, esi
cmp dword [ebp + 8], 3
mov dword [eax + 0x114], esi
jne 0x30026d10
lea ecx, [ebp - 0x85c]
mov dword [ebp - 0x44], 0x30026ac2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 0x30026ac6
mov dword [ebp - 0x40], 0x30026aca
mov dword [ebp - 0x3c], 0x30026ace
mov dword [ebp - 0x38], 0x30026ad2
mov dword [ebp - 0x24], ecx
and byte [eax + 0x10], 0
jmp 0x30026d50
mov eax, dword [0x30033ce8]
push 0x80009
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x358]
mov dword [ebp - 0x38], eax
call fcn.300290ba
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x358]
push eax
mov eax, dword [0x300347f0]
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 8]
sub eax, 0
je 0x30026d6d
dec eax
je 0x30026d69
dec eax
je 0x30026d65
dec eax
jne 0x30026d70
push 3
jmp 0x30026d6f
push 4
jmp 0x30026d6f
push 2
jmp 0x30026d6f
push 1
pop esi
push 1
call fcn.30007abe
lea eax, [ebp - 0x48]
push eax
push esi
call dword [ebp - 0x10]
push 1
call fcn.30007a96
mov eax, dword [0x300347f0]
test eax, eax
je 0x30026db7
cmp dword [eax + 0x114], 0
je 0x30026db7
mov eax, dword [0x30033ce8]
mov eax, dword [eax + 0x260]
mov ecx, dword [eax + 0xc]
call fcn.3001b820
mov eax, dword [0x300347f0]
and dword [eax + 0x114], 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0xd
call fcn.30009f66
mov eax, dword [0x30033ce8]
mov eax, dword [eax + 0x260]
mov ecx, dword [eax + 0x14]
call fcn.3001f6b2
mov eax, dword [0x300347f0]
add eax, 0x10
test eax, eax
je 0x30026ded
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp + 8], 3
je 0x30026dfb
push dword [ebp - 0x18]
call fcn.30023ffc
cmp dword [0x300331e4], 0xffffffff
jne 0x30026f29
cmp dword [ebp + 8], 3
jne 0x30026f4a
cmp dword [ebp - 0x20], 1
je 0x30026f4a
test byte [ebp - 0x1c], 1
lea eax, [ebp - 0x254]
push eax
je 0x30026e50
push 0x8000a
call fcn.30029082
push dword [ebp - 0x24]
lea eax, [ebp - 0x254]
push ebx
push eax
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x30026e72
push 0x8000b
call fcn.30029082
lea eax, [ebp - 0x254]
push ebx
push eax
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x458]
push 3
push eax
call fcn.3002abf0
push 2
pop esi
cmp eax, esi
jne 0x30026e8b
and dword [ebp - 4], 0
cmp eax, 6
jne 0x30026f4a
test edi, edi
je 0x30026e9f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp + 8], esi
mov esi, dword [ebp - 0xc]
jmp 0x30026ae4
push 0xd
call fcn.30009f66
mov eax, dword [0x30033ce8]
mov eax, dword [eax + 0x260]
mov ecx, dword [eax + 0x14]
call fcn.3001f6b2
jmp 0x30026f25
push 0xd
call fcn.30009f66
mov eax, dword [0x30033ce8]
mov eax, dword [eax + 0x260]
mov ecx, dword [eax + 0x14]
call fcn.3001f6b2
push 0x30
push 0x10006
jmp 0x30026f20
mov esi, 0x10007
jmp 0x30026efc
mov esi, 0x10019
jmp 0x30026efc
mov esi, 0x80006
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0xd
call fcn.30009f66
mov eax, dword [0x30033ce8]
mov eax, dword [eax + 0x260]
mov ecx, dword [eax + 0x14]
call fcn.3001f6b2
push 0x30
push esi
call fcn.3002ac66
xor eax, eax
jmp 0x30026f58
test edi, edi
je 0x30026f34
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x30
push dword [0x300331e4]
call fcn.3002ac66
or dword [0x300331e4], 0xffffffff
jmp 0x30026f25
test edi, edi
je 0x30026f55
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4