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

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x763038
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x774fa4]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x818]
mov edx, dword [0x775f10]
mov edi, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x775f10
mov dword [ebp - 0x20], edi
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
movzx ecx, word [0x77481c]
push ecx
xor esi, esi
push 0xd8
mov dword [ebp - 4], esi
call fcn.0045df30
push eax
lea ecx, [ebp - 0x24]
call fcn.004457f0
test eax, eax
jne 0x45c11c
push 0x409
push 0xd8
call fcn.0045df30
push eax
lea ecx, [ebp - 0x24]
call fcn.004457f0
mov edx, dword [0x775f10]
mov eax, dword [edx + 0xc]
mov ecx, 0x775f10
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
movzx ecx, word [0x77481c]
push ecx
mov ebx, 1
push 0xd9
mov byte [ebp - 4], bl
call fcn.0045df30
push eax
lea ecx, [ebp - 0x28]
call fcn.004457f0
test eax, eax
jne 0x45c171
push 0x409
push 0xd9
call fcn.0045df30
push eax
lea ecx, [ebp - 0x28]
call fcn.004457f0
mov edx, dword [0x775f10]
mov eax, dword [edx + 0xc]
mov ecx, 0x775f10
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
movzx ecx, word [0x77481c]
push ecx
push 0xda
mov byte [ebp - 4], 2
call fcn.0045df30
push eax
lea ecx, [ebp - 0x2c]
call fcn.004457f0
test eax, eax
jne 0x45c1c2
push 0x409
push 0xda
call fcn.0045df30
push eax
lea ecx, [ebp - 0x2c]
call fcn.004457f0
lea edx, [ebp]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.004465b0
push 8
push str.dump.txt
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00445890
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x18], esi
call fcn.0044b490
mov eax, dword [edi + 0x85]
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 5
call fcn.00444e00
lea ecx, [ebp - 0x1c]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.0045d000
add esp, 8
push ebx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.0044b660
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
test eax, eax
je 0x45c25c
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
test eax, eax
js 0x45c25c
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov dword [ebp - 4], 4
mov dword [ebp - 0x48], vtable.CDumpMailer.0
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 0xb
je 0x45c28c
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x48]
call fcn.0044b1c0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x45c3f2
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x45c2ac
call esi
lea ecx, [ebp - 0x40]
call fcn.00444790
push 0x76488c
mov byte [ebp - 4], 0xc
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x45c35a
push 0x8007000e
call fcn.004445d0
mov edx, dword [ebp - 0x54]
push edx
lea ecx, [ebp - 0x40]
call fcn.004454d0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.0044cbc0
mov edx, dword [ebp - 0x38]
push edx
mov dword [ebp - 0x40], vtable.CErrorData.0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 4
mov eax, 0x45c315
ret
push 0
lea edx, [ebp - 0x18]
push edx
push 0
mov byte [ebp - 4], 0xd
call esi
push eax
lea ecx, [ebp - 0x40]
call fcn.00444850
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x40]
call fcn.004454d0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call fcn.0044cbc0
mov eax, dword [ebp - 0x38]
push eax
mov dword [ebp - 0x40], vtable.CErrorData.0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 0xa
mov eax, 0x45c3ae
ret
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], vtable.CDumpMailer.0
mov byte [ebp - 4], 3
call fcn.0044b4a0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c438
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c45b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c47e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c4a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0075399d
lea esp, [ebp + 0x804]
pop ebp
ret 0x10