Function at 0x1002f380
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011d05f
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x10165034]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x10165034]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov eax, dword [0x1016b640]
test al, 1
jne 0x1002f3fe
or eax, 1
mov dword [0x1016b658], 7
mov dword [0x1016b640], eax
xor eax, eax
push 0x10124b80
mov dword [0x1016b654], 0
mov word [0x1016b644], ax
call fcn.101177fb
add esp, 4
cmp dword [0x1016b654], 0
mov ebx, 0x1016b644
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jne 0x1002f4d3
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.data_screenshort
call fcn.10002200
mov dword [esp + 0x140], 0
mov eax, dword [0x1016b50c]
test al, 1
jne 0x1002f467
or eax, 1
mov dword [0x1016b50c], eax
mov byte [esp + 0x140], 1
call fcn.10015e80
push 0x101246b0
call fcn.101177fb
add esp, 4
mov byte [esp + 0x140], 0
lea eax, [esp + 0x34]
mov dword [esp + 0x140], 0xffffffff
push eax
mov ecx, 0x1016b510
call fcn.10016110
mov esi, eax
cmp esi, 0x1016b644
je 0x1002f4c3
cmp dword [0x1016b658], 8
jb 0x1002f49f
push dword [0x1016b644]
call edi
add esp, 4
xor eax, eax
mov dword [0x1016b658], 7
push esi
mov ecx, ebx
mov dword [0x1016b654], 0
mov word [0x1016b644], ax
call fcn.10001be0
cmp dword [esp + 0x30], 8
jb 0x1002f4d3
push dword [esp + 0x1c]
call edi
add esp, 4
xor eax, eax
xorps xmm0, xmm0
mov word [esp + 0x64], ax
mov dword [esp + 0x6e], eax
mov word [esp + 0x72], ax
lea eax, [esp + 0x64]
push eax
movq qword [esp + 0x6a], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x70]
push eax
movzx eax, word [esp + 0x72]
push eax
movzx eax, word [esp + 0x74]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x78]
push eax
lea eax, [esp + 0xbc]
push str._04d__02d__02d__02d__02d__02d
push eax
call fcn.1004df00
mov dword [esp + 0x148], 2
lea eax, [esp + 0xc4]
cmp dword [esp + 0xd8], 8
cmovae eax, dword [esp + 0xc4]
cmp dword [0x1016b658], 8
push eax
cmovae ebx, dword [0x1016b644]
lea eax, [esp + 0x98]
push ebx
push str._s_s.jpg
push eax
call fcn.1004df00
xor eax, eax
mov dword [esp + 0x104], 7
mov dword [esp + 0x100], 0
mov word [esp + 0xf0], ax
mov dword [esp + 0x11c], 7
mov dword [esp + 0x118], eax
mov word [esp + 0x108], ax
mov dword [esp + 0x134], 7
mov dword [esp + 0x130], eax
mov word [esp + 0x120], ax
add esp, 0x18
mov byte [esp + 0x140], 4
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push eax
mov word [ecx], ax
lea eax, [esp + 0x94]
push eax
call fcn.10001d60
push 0
call fcn.1004a870
mov ebx, dword [esp + 0x10]
mov byte [ebx + 6], al
test al, al
je 0x1002f941
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0xcc]
call fcn.10001d60
lea eax, [esp + 0x1c]
push eax
call fcn.100cdfc0
mov esi, eax
add esp, 4
lea eax, [esp + 0xd8]
cmp eax, esi
je 0x1002f677
cmp dword [esp + 0xec], 8
jb 0x1002f64a
push dword [esp + 0xd8]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xec], 7
push esi
lea ecx, [esp + 0xdc]
mov dword [esp + 0xec], 0
mov word [esp + 0xdc], ax
call fcn.10001be0
cmp dword [esp + 0x30], 8
jb 0x1002f687
push dword [esp + 0x1c]
call edi
add esp, 4
lea eax, [esp + 0x34]
push eax
call fcn.100ce0d0
add esp, 4
mov byte [esp + 0x128], 5
cmp dword [eax + 0x14], 8
jb 0x1002f6a4
mov eax, dword [eax]
push eax
lea eax, [esp + 0x90]
push str._s_TeamLiveScreen_screenshot.jpg
push eax
call fcn.1004df00
add esp, 0xc
mov byte [esp + 0x128], 7
cmp dword [esp + 0x48], 8
jb 0x1002f6d2
push dword [esp + 0x34]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
push 0xffffffffffffffff
push eax
mov word [esp + 0x3c], ax
lea ecx, [esp + 0xf8]
lea eax, [esp + 0x94]
mov dword [esp + 0x4c], 0
push eax
call fcn.10001d60
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0xac]
push eax
call fcn.10001d60
lea ecx, [esp + 0x64]
call fcn.1004e2f0
add esp, 0x18
mov edx, eax
mov byte [esp + 0x128], 8
cmp dword [edx + 0x14], 0x10
jb 0x1002f746
mov edx, dword [edx]
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x2c], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x1002f769
xor ecx, ecx
jmp 0x1002f77d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f772
sub ecx, dword [esp + 0x28]
push ecx
push edx
mov ecx, esi
call fcn.10008550
sub esp, 0x18
mov byte [esp + 0x158], 9
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0xac]
push eax
call fcn.10001d60
lea ecx, [esp + 0x4c]
call fcn.1004e2f0
add esp, 0x18
mov edx, eax
mov byte [esp + 0x140], 0xa
cmp dword [edx + 0x14], 0x10
jb 0x1002f7d4
mov edx, dword [edx]
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x48], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x1002f7f7
xor ecx, ecx
jmp 0x1002f80b
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x40], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f800
sub ecx, dword [esp + 0x40]
push ecx
push edx
mov ecx, esi
call fcn.10008550
mov byte [esp + 0x158], 0xb
call dword [sym.imp.NetCommHelper.dll_public:_static_class_CNetManager____cdecl_CNetManager::GetInstance_void_]
mov ecx, eax
mov byte [esp + 0x158], 0xc
call dword [sym.imp.NetCommHelper.dll_public:_bool___thiscall_CNetManager::UploadFile_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___]
cmp dword [esp + 0x30], 0x10
mov byte [ebx + 6], al
jb 0x1002f845
push dword [esp + 0x1c]
call edi
add esp, 4
mov byte [esp + 0x128], 7
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
jb 0x1002f872
push dword [esp + 0x4c]
call edi
add esp, 4
cmp byte [ebx + 6], 0
je 0x1002f8e6
sub esp, 0x18
xor eax, eax
mov esi, esp
mov dword [esp + 0x30], esp
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0xc4]
push eax
call fcn.10001d60
mov ecx, esi
call fcn.1004e2f0
mov byte [esp + 0x158], 0xd
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x10131bfc
call fcn.10007fa0
mov byte [esp + 0x158], 0xe
call fcn.10019250
mov ecx, eax
mov byte [esp + 0x158], 7
call fcn.100dd350
jmp 0x1002f913
cmp dword [esp + 0x88], 8
lea eax, [esp + 0x74]
cmovae eax, dword [esp + 0x74]
push eax
push str.upload__s_file_fail_
push 1
push 0x60
push str..._srcMoniterHelperEventExecuteHandleScreenshotEvent.cpp
push str.CHandleScreenshotEvent::RunScreenshot
call fcn.1010dc80
add esp, 0x18
cmp dword [esp + 0x88], 8
lea eax, [esp + 0x74]
cmovae eax, dword [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0xa0], 8
jb 0x1002f941
push dword [esp + 0x8c]
call edi
add esp, 4
lea ecx, [esp + 0xbc]
call fcn.1001a060
cmp dword [esp + 0x88], 8
jb 0x1002f960
push dword [esp + 0x74]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
cmp dword [esp + 0xb8], 8
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
jb 0x1002f993
push dword [esp + 0xa4]
call edi
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.101176fb
mov esp, ebp
pop ebp
ret