Function at 0x404db0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440433
mov eax, dword fs:[0]
push eax
mov eax, 0x299c
call fcn.00423fc0
mov eax, dword [0x46706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x29a0], edi
call fcn.004048e0
inc dword [0x46b0b0]
push 0x46b098
mov dword [ebp - 0x1d50], 0x46b098
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1d1c]
mov eax, dword [0x4679c8]
mov dword [0x4679cc], eax
push 0x36
push str._____________________________________________________r_n
mov byte [eax], 0
mov dword [ebp - 0x1d0c], 0
mov dword [ebp - 0x1d08], 0
mov dword [ebp - 0x1d08], 0xf
mov dword [ebp - 0x1d0c], 0
mov byte [ebp - 0x1d1c], 0
call fcn.00402740
mov byte [ebp - 4], 1
cmp byte [0x4679c0], 0
je 0x4057eb
mov ecx, edi
mov byte [0x4679c0], 0
call fcn.00404ae0
push 0x104
lea eax, [ebp - 0x314]
push 0
push eax
call fcn.00426340
add esp, 0xc
lea eax, [ebp - 0x314]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404ec7
push 0xffffffffffffffff
push 0x454550
lea eax, [ebp - 0x314]
push 0x104
push eax
call fcn.0042ac79
add esp, 0x10
lea eax, [ebp - 0x314]
push 0x5c
push eax
call fcn.00423ff0
mov esi, eax
add esp, 8
test esi, esi
je 0x404ee1
inc esi
jmp 0x404ee7
lea esi, [ebp - 0x314]
push 0x104
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00426340
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0042ac79
xor eax, eax
add esp, 0x1c
or ecx, 0xffffffff
cmp byte [ebp - 0x210], al
je 0x404f4e
nop
cmp byte [ebp + eax - 0x210], 0x2e
cmove ecx, eax
inc eax
cmp byte [ebp + eax - 0x210], 0
jne 0x404f20
test ecx, ecx
jle 0x404f4e
cmp ecx, 0x104
jae 0x405041
mov byte [ebp + ecx - 0x210], 0
test edi, edi
je 0x4054ed
push str.psnetwork.ini
push ecx
mov edx, str.exceptioncnt
mov ecx, str.exceptstat
call fcn.004047e0
inc eax
mov byte [ebp - 0x2c], 0
push eax
push 0x454568
lea eax, [ebp - 0x2c]
mov word [ebp - 0x1b], 0
xorps xmm0, xmm0
mov byte [ebp - 0x19], 0
push 0x14
push eax
movups xmmword [ebp - 0x2b], xmm0
call fcn.00402f60
add esp, 0x10
lea eax, [ebp - 0x2c]
mov edx, str.exceptioncnt
mov ecx, str.exceptstat
push str.psnetwork.ini
push eax
call fcn.004018c0
push str.psnetwork.ini
push 0x45456c
mov edx, str.starttime
mov ecx, str.stat
call fcn.004018c0
mov eax, dword [edi]
mov esi, dword [edi + 4]
push 0x104
mov dword [ebp - 0x29a8], eax
lea eax, [ebp - 0x418]
push 0
push eax
mov dword [ebp - 0x29a4], esi
call fcn.00426340
add esp, 0xc
lea eax, [ebp - 0x299c]
mov edi, 0x454550
push 0x1c
push eax
push dword [esi + 0xb8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40504c
push 0x104
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x2998]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40504c
lea eax, [ebp - 0x418]
push 0x5c
push eax
call fcn.00423ff0
mov edi, eax
add esp, 8
test edi, edi
je 0x405046
inc edi
jmp 0x40504c
call fcn.004232c2
lea edi, [ebp - 0x418]
push reloc.msvcrt.dll_setvbuf
lea eax, [ebp - 0x8c]
push 0
push eax
call fcn.00426340
push dword [esi + 0xb8]
lea eax, [ebp - 0x8c]
push dword [esi + 0xbc]
push str._04x__08x
push reloc.msvcrt.dll_setvbuf
push eax
call fcn.00402f60
add esp, 0x20
lea eax, [ebp - 0x8c]
mov edx, str.address
mov ecx, str.ppskernel
push str.exception.ini
push eax
call fcn.004018c0
push 0
call fcn.0042bc5d
push reloc.msvcrt.dll_setvbuf
mov esi, eax
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.00426340
push esi
push 0x4545b4
lea eax, [ebp - 0xcc]
push reloc.msvcrt.dll_setvbuf
push eax
call fcn.00402f60
add esp, 0x20
lea eax, [ebp - 0xcc]
mov edx, str.time
mov ecx, str.ppskernel
push str.exception.ini
push eax
call fcn.004018c0
push 0x400
lea eax, [ebp - 0xd04]
push 0
push eax
call fcn.00426340
mov eax, dword [ebp - 0x29a4]
push dword [eax + 0xb8]
push dword [eax + 0xbc]
lea eax, [ebp - 0xd04]
push edi
push str.in_module__s_at__04x:_08x
push 0x400
push eax
call fcn.00402f60
mov ecx, dword [ebp - 0x29a8]
lea eax, [ebp - 0xd04]
add esp, 0x24
mov ecx, dword [ecx]
push eax
push ecx
call fcn.00406780
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ThreadId:_u__r_n_s_caused__s__0x_08x___r_n_s._r_n_r_n
push 0x4679c4
call fcn.00401710
call fcn.004061f0
push 0x104
lea eax, [ebp - 0x51c]
push 0
push eax
call fcn.00426340
add esp, 0x28
lea eax, [ebp - 0x51c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x848
lea eax, [ebp - 0x2658]
push 0
push eax
call fcn.00426340
add esp, 0xc
lea eax, [ebp - 0x51c]
lea ecx, [ebp - 0x2658]
push eax
call fcn.0040f760
mov byte [ebp - 4], 2
movq xmm0, qword [ebp - 0x2650]
movq qword [ebp - 0x18], xmm0
xorps xmm0, xmm0
movzx esi, word [ebp - 0x12]
movzx edi, word [ebp - 0x14]
movzx eax, word [ebp - 0x16]
movzx ecx, word [ebp - 0x18]
push esi
push edi
push eax
push ecx
push str._u._u._u._u
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x4c], 0
push 0x20
push eax
movups xmmword [ebp - 0x4b], xmm0
mov dword [ebp - 0x33], 0
movq qword [ebp - 0x3b], xmm0
mov word [ebp - 0x2f], 0
mov byte [ebp - 0x2d], 0
call fcn.00402f60
add esp, 0x1c
lea eax, [ebp - 0x4c]
mov edx, str.version
mov ecx, str.ppskernel
push str.exception.ini
push eax
call fcn.004018c0
movzx eax, word [ebp - 0x16]
push esi
push edi
push eax
movzx eax, word [ebp - 0x18]
push eax
push str.Crashed_exe_version:_t_u._u._u._u_r_n
push 0x4679c4
call fcn.00401710
mov eax, dword [ebp - 0x2658]
add esp, 0x18
test eax, eax
je 0x40524f
push eax
call fcn.004233d6
add esp, 4
mov dword [ebp - 0x2658], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2658]
call fcn.0040f800
push reloc.msvcrt.dll_setvbuf
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.00426340
add esp, 0xc
lea eax, [ebp - 0x10c]
mov edx, str.clientid
mov ecx, str.Network
push str.psnetwork.ini
push reloc.msvcrt.dll_setvbuf
push eax
push 0
call fcn.004017b0
push 0x1000
lea eax, [ebp - 0x1d04]
push 0
push eax
call fcn.00426340
add esp, 0xc
lea eax, [ebp - 0x1d04]
mov edx, 0x454658
mov ecx, str.Network
push str.psnetwork.ini
push 0x1000
push eax
push 0
call fcn.004017b0
push 0x848
lea eax, [ebp - 0x2658]
push 0
push eax
call fcn.00426340
add esp, 0xc
lea eax, [ebp - 0x418]
lea ecx, [ebp - 0x2658]
push eax
call fcn.0040f760
mov byte [ebp - 4], 3
movq xmm0, qword [ebp - 0x2650]
movq qword [ebp - 0x18], xmm0
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
push str.Crashed_module_version:_t_u._u._u._u_r_n
push 0x4679c4
call fcn.00401710
mov eax, dword [ebp - 0x2658]
add esp, 0x18
test eax, eax
je 0x405344
push eax
call fcn.004233d6
add esp, 4
mov dword [ebp - 0x2658], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2658]
call fcn.0040f800
mov esi, dword [ebp - 0x29a4]
lea edi, [ebp - 0x2924]
mov ecx, 0xb3
mov edx, str.exceptiondll
rep movsd dword es:[edi], dword [esi]
push str.psnetwork.ini
push 0x454233
mov ecx, str.exceptstat
call fcn.004018c0
lea eax, [ebp - 0x1d04]
push eax
push str._r_nPlaying_URL:_r_n_s_r_n_r_n
push 0x4679c4
call fcn.00401710
push str.Call_stack:_r_n
push 0x4679c4
call fcn.00401710
cmp dword [ebp - 0x1d08], 0x10
lea eax, [ebp - 0x1d1c]
cmovae eax, dword [ebp - 0x1d1c]
push eax
push 0x4679c4
call fcn.00401710
mov ecx, dword [ebp - 0x29a0]
call fcn.00406b10
cmp dword [ebp - 0x1d08], 0x10
lea eax, [ebp - 0x1d1c]
cmovae eax, dword [ebp - 0x1d1c]
push eax
push 0x4679c4
call fcn.00401710
lea eax, [ebp - 0x2924]
lea edx, [ebp - 0x29a0]
mov dword [ebp - 0x29a0], eax
call fcn.00406960
cmp dword [ebp - 0x1d08], 0x10
lea eax, [ebp - 0x1d1c]
cmovae eax, dword [ebp - 0x1d1c]
push eax
push 0x4679c4
call fcn.00401710
mov edi, dword [ebp - 0x29a8]
add esp, 0x2c
cmp dword [edi], 0xc0000005
jne 0x4054c2
cmp dword [edi + 0x10], 2
jb 0x4054c2
cmp dword [edi + 0x14], 0
mov eax, str.Write_to
mov esi, str.Read_from
push 0
cmovne esi, eax
call fcn.0042bc5d
lea ecx, [ebp - 0x1d04]
push ecx
push edx
push eax
lea eax, [ebp - 0x10c]
push eax
push dword [edi + 0x18]
lea eax, [ebp - 0x904]
push esi
push str._s_location__08x_caused_an_access_violation_clientid__s___lld___s_._r_n
push 0x3e8
push eax
call fcn.00402f60
lea eax, [ebp - 0x904]
push eax
push 0x454710
push 0x4679c4
call fcn.00401710
cmp dword [ebp - 0x1d08], 0x10
lea eax, [ebp - 0x1d1c]
cmovae eax, dword [ebp - 0x1d1c]
push eax
push 0x4679c4
call fcn.00401710
add esp, 0x3c
call fcn.00405bc0
test eax, eax
je 0x4054ed
cmp dword [ebp - 0x1d08], 0x10
lea eax, [ebp - 0x1d1c]
cmovae eax, dword [ebp - 0x1d1c]
push eax
push 0x4679c4
call fcn.00401710
add esp, 8
mov edx, dword [0x4679c8]
mov dword [ebp - 0x1d24], 0
mov dword [ebp - 0x1d20], 0
mov dword [ebp - 0x1d20], 0xf
mov dword [ebp - 0x1d24], 0
mov byte [ebp - 0x1d34], 0
cmp byte [edx], 0
jne 0x40552b
xor ecx, ecx
jmp 0x405539
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405530
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1d34]
call fcn.00402740
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2980]
push 0x5c
push 0
push eax
call fcn.00426340
add esp, 0xc
mov dword [ebp - 0x2980], 0
cmp dword [ebp - 0x1d20], 0x10
lea eax, [ebp - 0x1d34]
lea ecx, [ebp - 0x2980]
mov dword [ebp - 0x297c], 0
cmovae eax, dword [ebp - 0x1d34]
push dword [ebp - 0x1d24]
push eax
call fcn.00409280
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1d4c]
mov esi, dword [ebp - 0x2980]
mov ecx, 0x46b120
mov edi, dword [ebp - 0x297c]
push eax
call fcn.0040f390
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1d4c]
push 0xd
push str.kernelerr.dat
call fcn.00402970
cmp dword [ebp - 0x1d38], 0x10
lea eax, [ebp - 0x1d4c]
cmovae eax, dword [ebp - 0x1d4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xc0
lea eax, [ebp - 0x1e10]
push 0
push eax
call fcn.00426340
add esp, 8
lea ecx, [ebp - 0x1e10]
call fcn.00407b80
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1d4c]
cmp dword [ebp - 0x1d38], 0x10
lea ecx, [ebp - 0x1df8]
cmovae eax, dword [ebp - 0x1d4c]
sub esp, 8
push eax
call fcn.00409a90
test eax, eax
lea ecx, [ebp - 0x1e10]
mov eax, dword [ebp - 0x1e10]
push 0
mov eax, dword [eax + 4]
jne 0x40565e
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
jmp 0x40566e
add ecx, eax
mov edx, 4
xor eax, eax
cmp dword [ecx + 0x38], eax
cmovne edx, eax
push edx
call fcn.004042d0
sub esp, 0xc
lea ecx, [ebp - 0x1e10]
call fcn.00408790
mov eax, edi
lea ecx, [ebp - 0x1e00]
cdq
push edx
push eax
push esi
call fcn.004085f0
cmp dword [ebp - 0x1dac], 0
lea esi, [ebp - 0x1df8]
jne 0x4056a5
xor esi, esi
jmp 0x4056cc
lea ecx, [ebp - 0x1df8]
call fcn.00409810
push dword [ebp - 0x1dac]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.0042b35b
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0x1df8]
call fcn.00409990
test esi, esi
jne 0x405708
mov eax, dword [ebp - 0x1e10]
lea ecx, [ebp - 0x1e10]
push esi
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], esi
cmovne eax, edx
push eax
call fcn.004042d0
push dword [0x46a284]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1d98]
call fcn.00407ab0
lea eax, [ebp - 0x1d98]
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x29a0], eax
mov byte [ebp - 4], 6
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004225a3
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1d38]
cmp eax, 0x10
jb 0x405772
inc eax
lea ecx, [ebp - 0x1d4c]
push eax
push dword [ebp - 0x1d4c]
call fcn.00402ba0
mov dword [ebp - 0x1d38], 0xf
mov dword [ebp - 0x1d3c], 0
mov byte [ebp - 0x1d4c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2978]
mov eax, dword [ebp - 0x2980]
cmp eax, ecx
je 0x4057ae
test eax, eax
je 0x4057ae
push eax
call fcn.0042bc9f
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1d20]
cmp eax, 0x10
jb 0x4057d0
inc eax
lea ecx, [ebp - 0x1d34]
push eax
push dword [ebp - 0x1d34]
call fcn.00402ba0
mov dword [ebp - 0x1d20], 0xf
mov dword [ebp - 0x1d24], 0
mov byte [ebp - 0x1d34], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1d08]
cmp eax, 0x10
jb 0x40580d
inc eax
lea ecx, [ebp - 0x1d1c]
push eax
push dword [ebp - 0x1d1c]
call fcn.00402ba0
mov dword [ebp - 0x1d08], 0xf
mov dword [ebp - 0x1d0c], 0
mov byte [ebp - 0x1d1c], 0
mov dword [ebp - 4], 0xffffffff
push 0x46b098
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [0x46b0b0]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042318e
mov esp, ebp
pop ebp
ret 4