Function at 0x1002f160
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1010f8ef
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x10152034]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x10152034]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov eax, dword [0x10158098]
test al, 1
jne 0x1002f1de
or eax, 1
mov dword [0x101580b0], 7
mov dword [0x10158098], eax
xor eax, eax
push 0x10116790
mov dword [0x101580ac], 0
mov word [0x1015809c], ax
call fcn.1010a16b
add esp, 4
cmp dword [0x101580ac], 0
mov ebx, 0x1015809c
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jne 0x1002f2b3
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 [0x10157f64]
test al, 1
jne 0x1002f247
or eax, 1
mov dword [0x10157f64], eax
mov byte [esp + 0x140], 1
call fcn.10015cb0
push 0x10116320
call fcn.1010a16b
add esp, 4
mov byte [esp + 0x140], 0
lea eax, [esp + 0x34]
mov dword [esp + 0x140], 0xffffffff
push eax
mov ecx, 0x10157f68
call fcn.10015f40
mov esi, eax
cmp esi, 0x1015809c
je 0x1002f2a3
cmp dword [0x101580b0], 8
jb 0x1002f27f
push dword [0x1015809c]
call edi
add esp, 4
xor eax, eax
mov dword [0x101580b0], 7
push esi
mov ecx, ebx
mov dword [0x101580ac], 0
mov word [0x1015809c], ax
call fcn.10001be0
cmp dword [esp + 0x30], 8
jb 0x1002f2b3
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.10040660
mov dword [esp + 0x148], 2
lea eax, [esp + 0xc4]
cmp dword [esp + 0xd8], 8
cmovae eax, dword [esp + 0xc4]
cmp dword [0x101580b0], 8
push eax
cmovae ebx, dword [0x1015809c]
lea eax, [esp + 0x98]
push ebx
push str._s_s.jpg
push eax
call fcn.10040660
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.1003cfd0
mov ebx, dword [esp + 0x10]
mov byte [ebx + 6], al
test al, al
je 0x1002f721
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.100c0710
mov esi, eax
add esp, 4
lea eax, [esp + 0xd8]
cmp eax, esi
je 0x1002f457
cmp dword [esp + 0xec], 8
jb 0x1002f42a
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 0x1002f467
push dword [esp + 0x1c]
call edi
add esp, 4
lea eax, [esp + 0x34]
push eax
call fcn.100c0820
add esp, 4
mov byte [esp + 0x128], 5
cmp dword [eax + 0x14], 8
jb 0x1002f484
mov eax, dword [eax]
push eax
lea eax, [esp + 0x90]
push str._s_TeamLiveScreen_screenshot.jpg
push eax
call fcn.10040660
add esp, 0xc
mov byte [esp + 0x128], 7
cmp dword [esp + 0x48], 8
jb 0x1002f4b2
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.10040a50
add esp, 0x18
mov edx, eax
mov byte [esp + 0x128], 8
cmp dword [edx + 0x14], 0x10
jb 0x1002f526
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 0x1002f549
xor ecx, ecx
jmp 0x1002f55d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f552
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.10040a50
add esp, 0x18
mov edx, eax
mov byte [esp + 0x140], 0xa
cmp dword [edx + 0x14], 0x10
jb 0x1002f5b4
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 0x1002f5d7
xor ecx, ecx
jmp 0x1002f5eb
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x40], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f5e0
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 0x1002f625
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 0x1002f652
push dword [esp + 0x4c]
call edi
add esp, 4
cmp byte [ebx + 6], 0
je 0x1002f6c6
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.10040a50
mov byte [esp + 0x158], 0xd
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x10122b9c
call fcn.10007fa0
mov byte [esp + 0x158], 0xe
call fcn.10018d90
mov ecx, eax
mov byte [esp + 0x158], 7
call fcn.100cf660
jmp 0x1002f6f3
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.100ffcc0
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 0x1002f721
push dword [esp + 0x8c]
call edi
add esp, 4
lea ecx, [esp + 0xbc]
call fcn.1001ab50
cmp dword [esp + 0x88], 8
jb 0x1002f740
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 0x1002f773
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.1010a06b
mov esp, ebp
pop ebp
ret