Function at 0x47c460
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b4
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push 0
push 0x410
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x3ac], ebx
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
mov dword [ebp - 0x3a8], edi
test edi, edi
je 0x47c72a
cmp edi, 0xffffffff
je 0x47c72a
call fcn.00440520
xor eax, eax
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x1c]
push eax
push edi
mov dword [ebp - 0xc], 0
call fcn.0047c980
add esp, 8
test al, al
je 0x47c6e2
lea eax, [ebp - 0x398]
mov dword [ebp - 0x398], 0
push eax
push 0x310
lea eax, [ebp - 0x394]
push eax
push dword [ebp - 0x39c]
push edi
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
je 0x47c6e2
cmp dword [ebp - 0x398], 0x310
jne 0x47c6e2
lea ecx, [ebp - 0x34]
call fcn.0043c120
lea eax, [ebp - 0x34]
push eax
call fcn.0043e600
add esp, 4
test al, al
je 0x47c6d6
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x394]
push eax
push esi
push edi
call fcn.0047c910
add esp, 0x10
test al, al
je 0x47c6d6
lea eax, [ebp - 0x39c]
mov dword [ebp - 0x39c], 0
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0047ca90
add esp, 8
mov esi, eax
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test esi, esi
je 0x47c6bd
lea eax, [ebp - 0x398]
mov dword [ebp - 0x3a0], 0
push eax
push 8
lea eax, [ebp - 0x3b4]
mov dword [ebp - 0x3a4], 0
push eax
push dword [ebp - 0x38c]
push edi
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
je 0x47c611
cmp dword [ebp - 0x398], 8
jne 0x47c611
lea eax, [ebp - 0x398]
push eax
push 0x50
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x3b4]
push edi
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
je 0x47c611
cmp dword [ebp - 0x398], 0x50
jne 0x47c611
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x3a4], eax
cmp dword [ebx + 0x14], 8
jb 0x47c619
mov ebx, dword [ebx]
push 0x4b9db4
push ebx
call fcn.0048a8bd
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x47c6bd
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
push str.crash_reporter
cmovae ecx, dword [ebp - 0x1c]
push str.process_type
push dword [ebp - 0x3a4]
push dword [ebp - 0x3a0]
push ecx
push 0x586e3
push 0x4b9d10
push str.OPERA_CRASHLOG_V1_desktop__s__d_windows__release_r_n_S_caused_exception__X_at_address__012lX__BASE:_00000000__r_n_r_nmetadata:_r_n_S__S__r_n_r_nminidump:_r_n
push ebx
call fcn.0048da43
add esp, 0x24
test eax, eax
jle 0x47c69e
mov edi, dword [ebp - 0x39c]
push ebx
push edi
push 1
push esi
call fcn.00489280
add esp, 0x10
cmp eax, edi
jne 0x47c69e
push ebx
call fcn.0048b384
add esp, 4
cmp eax, 0xffffffff
je 0x47c69e
mov edi, dword [ebp - 0x3a8]
mov bl, 1
jmp 0x47c6bf
mov eax, dword [ebp - 0x3ac]
xor bl, bl
cmp dword [eax + 0x14], 8
jb 0x47c6ae
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov edi, dword [ebp - 0x3a8]
jmp 0x47c6bf
xor bl, bl
test esi, esi
je 0x47c6d8
push esi
call fcn.004835e0
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.0043c140
jmp 0x47c6e4
xor bl, bl
lea ecx, [ebp - 0x34]
call fcn.0043c140
jmp 0x47c6e4
xor bl, bl
cmp dword [ebp - 8], 8
jb 0x47c6f5
push dword [ebp - 0x1c]
call fcn.004835e0
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call fcn.00440520
push edi
call fcn.0044c950
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret