Function at 0x411a40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c29d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf50
mov eax, dword [0x474a60]
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0xf3c], ecx
mov byte [ebp - 0x11c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x77c]
push eax
mov ecx, dword [0x476014]
call fcn.00407f50
mov dword [ebp - 0xf40], eax
push str.chatconfig
mov ecx, dword [ebp - 0xf40]
mov edx, dword [ecx]
push edx
push 0x460878
lea eax, [ebp - 0x11c]
push eax
call fcn.0042c838
add esp, 0x10
lea ecx, [ebp - 0x77c]
call fcn.0040edf0
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0xf3c]
call fcn.004137c0
lea edx, [ebp - 0x780]
push edx
mov ecx, dword [0x476014]
call fcn.00407f50
mov dword [ebp - 0xf44], eax
push str.Cross
mov eax, dword [ebp - 0xf44]
mov ecx, dword [eax]
push ecx
push 0x460878
lea edx, [ebp - 0x11c]
push edx
call fcn.0042c838
add esp, 0x10
lea ecx, [ebp - 0x780]
call fcn.0040edf0
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0xf3c]
call fcn.004137c0
lea ecx, [ebp - 0x784]
push ecx
mov ecx, dword [0x476014]
call fcn.00407f50
mov dword [ebp - 0xf48], eax
push 0x46086c
mov edx, dword [ebp - 0xf48]
mov eax, dword [edx]
push eax
push 0x460878
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0042c838
add esp, 0x10
lea ecx, [ebp - 0x784]
call fcn.0040edf0
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0xf3c]
call fcn.004137c0
lea eax, [ebp - 0x788]
push eax
mov ecx, dword [0x476014]
call fcn.00407f50
mov dword [ebp - 0xf4c], eax
push str.Video
mov ecx, dword [ebp - 0xf4c]
mov edx, dword [ecx]
push edx
push 0x460878
lea eax, [ebp - 0x11c]
push eax
call fcn.0042c838
add esp, 0x10
lea ecx, [ebp - 0x788]
call fcn.0040edf0
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0xf3c]
call fcn.004137c0
lea edx, [ebp - 0x78c]
push edx
mov ecx, dword [0x476014]
call fcn.00407f50
mov dword [ebp - 0xf50], eax
push 0x46086c
mov eax, dword [ebp - 0xf50]
mov ecx, dword [eax]
push ecx
push 0x460878
lea edx, [ebp - 0x11c]
push edx
call fcn.0042c838
add esp, 0x10
lea ecx, [ebp - 0x78c]
call fcn.0040edf0
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0xf3c]
call fcn.004137c0
lea ecx, [ebp - 0x790]
push ecx
mov ecx, dword [0x476014]
call fcn.00407f50
mov dword [ebp - 0xf54], eax
push str.UserData
mov edx, dword [ebp - 0xf54]
mov eax, dword [edx]
push eax
push 0x460878
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0042c838
add esp, 0x10
lea ecx, [ebp - 0x790]
call fcn.0040edf0
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0xf3c]
call fcn.004137c0
lea eax, [ebp - 0x794]
push eax
mov ecx, dword [0x476014]
call fcn.00407f50
mov dword [ebp - 0xf58], eax
push str.Shipping_bugreport.exe
mov ecx, dword [ebp - 0xf58]
mov edx, dword [ecx]
push edx
push 0x460878
lea eax, [ebp - 0x11c]
push eax
call fcn.0042c838
add esp, 0x10
lea ecx, [ebp - 0x794]
call fcn.0040edf0
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x798]
push edx
mov ecx, dword [0x476014]
call fcn.00407f50
mov dword [ebp - 0xf5c], eax
push str.ShippingBugReportLog.dll
mov eax, dword [ebp - 0xf5c]
mov ecx, dword [eax]
push ecx
push 0x460878
lea edx, [ebp - 0x11c]
push edx
call fcn.0042c838
add esp, 0x10
lea ecx, [ebp - 0x798]
call fcn.0040edf0
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [0x476014]
cmp dword [ecx + 0x65a4], 0
je 0x411d56
mov edx, dword [0x476014]
cmp dword [edx + 0x65a8], 0
jne 0x411ff7
push 0
push 0
push 0x1004
mov eax, dword [ebp - 0xf3c]
mov ecx, dword [eax + 0x8c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x120], eax
mov edx, dword [0x476014]
mov eax, dword [edx + 0x6594]
cmp eax, dword [ebp - 0x120]
jle 0x411d91
jmp 0x41232e
mov ecx, dword [0x476014]
mov edx, dword [ecx + 0x6594]
sub edx, 1
mov dword [ebp - 0x124], edx
jmp 0x411db7
mov eax, dword [ebp - 0x124]
add eax, 1
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
cmp ecx, dword [ebp - 0x120]
jge 0x411ff2
mov edx, dword [0x47c7e8]
mov eax, dword [edx + 0x240108]
mov dword [ebp - 0x7bc], eax
mov ecx, dword [0x476014]
mov edx, dword [ebp - 0x7bc]
cmp edx, dword [ecx + 0x6598]
jl 0x411df4
jmp 0x411ff2
lea eax, [ebp - 0x438]
mov dword [ebp - 0x7c0], eax
mov ecx, dword [ebp - 0x7c0]
mov dword [ecx], 0
mov dword [ecx + 4], 0
push 1
mov edx, dword [ebp - 0x124]
push edx
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0xf3c]
add ecx, 0x70
call fcn.0044d10c
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x12c]
call fcn.0040a2e0
push eax
call fcn.0042c983
add esp, 4
mov dword [ebp - 0x128], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x12c]
call fcn.00404e50
lea ecx, [ebp - 0x43c]
push ecx
mov edx, dword [ebp - 0x128]
push edx
mov ecx, dword [0x476014]
call fcn.00413db0
mov eax, dword [0x476014]
cmp dword [eax + 0x65a4], 0
jne 0x411ea8
cmp dword [ebp - 0x43c], 0
jne 0x411ea8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.0040edf0
jmp 0x411da8
push 0
call fcn.0042cc58
add esp, 4
mov dword [ebp - 0x8e0], eax
mov dword [ebp - 0x8dc], edx
mov ecx, dword [ebp - 0x8e0]
mov dword [ebp - 0x444], ecx
mov edx, dword [ebp - 0x8dc]
mov dword [ebp - 0x440], edx
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x444]
push ecx
mov ecx, dword [ebp - 0xf3c]
call fcn.00414340
test eax, eax
jne 0x411fc9
mov byte [ebp - 0x445], 0
mov edx, dword [0x476014]
cmp dword [edx + 0x65b0], 0
je 0x411fa7
mov eax, dword [0x476014]
add eax, 0x65b8
push eax
lea ecx, [ebp - 0x444]
push ecx
mov ecx, dword [ebp - 0xf3c]
call fcn.00413fe0
test eax, eax
jl 0x411f5c
mov edx, dword [0x476014]
add edx, 0x65b8
push edx
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0xf3c]
call fcn.00413fe0
test eax, eax
jge 0x411f5c
mov byte [ebp - 0x445], 1
mov ecx, dword [0x476014]
add ecx, 0x65c4
push ecx
lea edx, [ebp - 0x444]
push edx
mov ecx, dword [ebp - 0xf3c]
call fcn.00413fe0
test eax, eax
jl 0x411fa7
mov eax, dword [0x476014]
add eax, 0x65c4
push eax
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp - 0xf3c]
call fcn.00413fe0
test eax, eax
jge 0x411fa7
mov byte [ebp - 0x445], 1
movzx edx, byte [ebp - 0x445]
test edx, edx
jne 0x411fc9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.0040edf0
jmp 0x411da8
mov eax, dword [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0xf3c]
call fcn.00412350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.0040edf0
jmp 0x411da8
jmp 0x41232e
mov ecx, dword [0x47c7ac]
and ecx, 1
jne 0x412025
mov edx, dword [0x47c7ac]
or edx, 1
mov dword [0x47c7ac], edx
mov eax, dword [0x476014]
mov ecx, dword [eax + 0x6594]
sub ecx, 1
mov dword [0x47c7a8], ecx
push 0
push 0
push 0x1004
mov edx, dword [ebp - 0xf3c]
mov eax, dword [edx + 0x8c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x450], eax
mov ecx, dword [0x47c7a8]
cmp ecx, dword [ebp - 0x450]
jl 0x41205f
mov dword [0x47c7a8], 0
mov edx, dword [0x476014]
mov eax, dword [edx + 0x6594]
cmp eax, dword [ebp - 0x450]
jle 0x412078
jmp 0x41232e
mov ecx, dword [0x47c7e8]
mov edx, dword [ecx + 0x240108]
mov dword [ebp - 0xb64], edx
mov eax, dword [0x47c8ec]
mov ecx, dword [eax + 0x240118]
add ecx, dword [ebp - 0xb64]
mov dword [ebp - 0x44c], ecx
mov edx, dword [0x47c7a8]
mov dword [ebp - 0x454], edx
jmp 0x4120be
mov eax, dword [ebp - 0x454]
add eax, 1
mov dword [ebp - 0x454], eax
mov ecx, dword [ebp - 0x454]
cmp ecx, dword [ebp - 0x450]
jge 0x41232e
mov edx, dword [0x476014]
mov eax, dword [ebp - 0x44c]
cmp eax, dword [edx + 0x6598]
jl 0x4120e9
jmp 0x41232e
mov ecx, dword [ebp - 0x44c]
add ecx, 1
mov dword [ebp - 0x44c], ecx
mov edx, dword [0x47c7a8]
add edx, 1
mov dword [0x47c7a8], edx
lea eax, [ebp - 0x768]
mov dword [ebp - 0xb68], eax
mov ecx, dword [ebp - 0xb68]
mov dword [ecx], 0
mov dword [ecx + 4], 0
push 1
mov edx, dword [ebp - 0x454]
push edx
lea eax, [ebp - 0x45c]
push eax
mov ecx, dword [ebp - 0xf3c]
add ecx, 0x70
call fcn.0044d10c
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x45c]
call fcn.0040a2e0
push eax
call fcn.0042c983
add esp, 4
mov dword [ebp - 0x458], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x45c]
call fcn.00404e50
lea ecx, [ebp - 0x76c]
push ecx
mov edx, dword [ebp - 0x458]
push edx
mov ecx, dword [0x476014]
call fcn.00413db0
cmp dword [ebp - 0x76c], 0
jne 0x4121c7
mov eax, dword [0x47c8ec]
mov ecx, dword [eax + 0x240118]
add ecx, 1
mov edx, dword [0x47c8ec]
mov dword [edx + 0x240118], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x45c]
call fcn.0040edf0
jmp 0x4120af
push 0
call fcn.0042cc58
add esp, 4
mov dword [ebp - 0xc88], eax
mov dword [ebp - 0xc84], edx
mov eax, dword [ebp - 0xc88]
mov dword [ebp - 0x774], eax
mov ecx, dword [ebp - 0xc84]
mov dword [ebp - 0x770], ecx
lea edx, [ebp - 0x768]
push edx
lea eax, [ebp - 0x774]
push eax
mov ecx, dword [ebp - 0xf3c]
call fcn.00414340
test eax, eax
jne 0x412305
mov byte [ebp - 0x775], 0
mov ecx, dword [0x476014]
cmp dword [ecx + 0x65b0], 0
je 0x4122c8
mov edx, dword [0x476014]
add edx, 0x65b8
push edx
lea eax, [ebp - 0x774]
push eax
mov ecx, dword [ebp - 0xf3c]
call fcn.00413fe0
test eax, eax
jl 0x41227d
mov ecx, dword [0x476014]
add ecx, 0x65b8
push ecx
lea edx, [ebp - 0x768]
push edx
mov ecx, dword [ebp - 0xf3c]
call fcn.00413fe0
test eax, eax
jge 0x41227d
mov byte [ebp - 0x775], 1
mov eax, dword [0x476014]
add eax, 0x65c4
push eax
lea ecx, [ebp - 0x774]
push ecx
mov ecx, dword [ebp - 0xf3c]
call fcn.00413fe0
test eax, eax
jl 0x4122c8
mov edx, dword [0x476014]
add edx, 0x65c4
push edx
lea eax, [ebp - 0x768]
push eax
mov ecx, dword [ebp - 0xf3c]
call fcn.00413fe0
test eax, eax
jge 0x4122c8
mov byte [ebp - 0x775], 1
movzx ecx, byte [ebp - 0x775]
test ecx, ecx
jne 0x412305
mov edx, dword [0x47c8ec]
mov eax, dword [edx + 0x240118]
add eax, 1
mov ecx, dword [0x47c8ec]
mov dword [ecx + 0x240118], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x45c]
call fcn.0040edf0
jmp 0x4120af
mov edx, dword [ebp - 0x454]
push edx
mov ecx, dword [ebp - 0xf3c]
call fcn.00412350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x45c]
call fcn.0040edf0
jmp 0x4120af
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0042b91e
pop edi
mov esp, ebp
pop ebp
ret