Function at 0x43b600
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468b48
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x48700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xb0], 8
lea ebx, [edi + 0x9c]
mov dword [ebp - 0x1b0], ebx
mov eax, ebx
jb 0x43b649
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea esi, [edi + 0xb4]
push esi
setne byte [ebp - 0x199]
mov dword [ebp - 0x1a0], esi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x43b67e
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x18]
sar eax, 3
test eax, eax
jne 0x43b742
cmp byte [ebp - 0x199], al
jne 0x43b742
mov bl, byte [0x48b173]
lea ecx, [ebp - 0x278]
sub esp, 8
call fcn.00402c10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
mov eax, dword [ebp - 0x278]
push 0
push 0
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [ebp - 0x1c7], bl
mov dword [ebp - 0x1c0], 8
mov byte [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 2
push str._LOG_Waititing_for_log......
push eax
call fcn.00403720
add esp, 8
lea ecx, [ebp - 0x278]
call fcn.0042c650
push esi
mov dword [ebp - 4], 3
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test eax, eax
je 0x43bead
push eax
mov eax, dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
call eax
add esp, 4
jmp 0x43bead
push esi
mov dword [ebp - 4], 4
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test eax, eax
je 0x43b762
push eax
mov eax, dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
call eax
add esp, 4
cmp byte [ebp - 0x199], 0
mov dword [ebp - 4], 0xffffffff
je 0x43b7d2
mov edx, ebx
lea ecx, [ebp - 0x28]
call fcn.00430150
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 5
push eax
mov ecx, edi
call fcn.0043abe0
mov ecx, ebx
call fcn.004445d0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43b7d2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43b7c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43b7c8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
push 0
push 0x46ce34
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00403560
mov dword [ebp - 4], 6
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.0043bed0
test al, al
je 0x43bdb0
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043a6a0
push eax
lea ecx, [ebp - 0x70]
call fcn.00414e80
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43b881
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43b877
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43b877
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
cmp dword [ebp - 0x60], 0
jne 0x43b8ad
movzx eax, byte [0x48b173]
push 0
push ecx
push 6
push eax
lea ecx, [ebp - 0x278]
call fcn.00403340
mov byte [ebp - 4], 0xa
push str._LOG_geting_sending_logs_fail.
jmp 0x43b94f
push 3
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x47584c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00409b10
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
lea edx, [ebp - 0x70]
call fcn.00430420
mov edx, dword [ebp - 0x14]
add esp, 4
mov bl, al
cmp edx, 8
jb 0x43b91f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b915
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43b915
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
movzx eax, byte [0x48b173]
push 0
push ecx
push 8
lea ecx, [ebp - 0x278]
push eax
call fcn.00403340
test bl, bl
je 0x43b946
mov byte [ebp - 4], 0xb
push str._LOG_Successfully_Backup_sending_logs
jmp 0x43b94f
mov byte [ebp - 4], 0xc
push str._LOG_Backup_sending_log_failed
add eax, 0x10
push eax
call fcn.00403720
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x278]
call fcn.0042c650
lea eax, [ebp - 0x1ac]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004391e0
push ecx
mov edx, 0x472e94
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.0043cd70
lea ecx, [ebp - 0x40]
call fcn.0043cdd0
mov edx, 0x475d98
lea ecx, [ebp - 0x40]
call fcn.0043cd70
mov edx, 0x47406c
lea ecx, [ebp - 0x40]
call fcn.0043cd70
add esp, 4
lea ecx, [ebp - 0x198]
call fcn.00435210
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.00438a10
push eax
lea ecx, [ebp - 0xcc]
call fcn.00414e80
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43ba0c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43ba02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43ba02
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0xe4]
push eax
call fcn.00403560
lea eax, [edi + 0x3c]
lea ecx, [ebp - 0x198]
cmp ecx, eax
je 0x43ba4c
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x43ba3d
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x198]
call fcn.00403560
push 0
push 0x46ce34
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xe8], 1
mov dword [ebp - 0x15c], 0xbb8
mov dword [ebp - 0x160], 0x7d0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00403560
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
sub esp, 8
mov byte [ebp - 4], 0x10
mov bl, byte [0x48b173]
lea ecx, [ebp - 0x278]
call fcn.00402c10
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x278]
mov eax, dword [ebp - 0x278]
push 0
push 0
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [ebp - 0x1c7], bl
mov dword [ebp - 0x1c0], 8
mov byte [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0x12
mov esi, dword [ebp - 0x30]
push str._LOG_Sending_Upload_Request_data_size_:
push eax
call fcn.00403720
add esp, 8
lea ecx, [ebp - 0x268]
push esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x10
call fcn.0042c650
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x198]
call fcn.0044b2c0
add esp, 0xc
test eax, eax
jne 0x43bba1
push eax
movzx eax, byte [0x48b173]
push ecx
push 6
push eax
lea ecx, [ebp - 0x278]
call fcn.00403340
lea esi, [eax + 0x10]
mov byte [ebp - 4], 0x13
push str._LOG_Sending_Upload_Request_failed__error_code_is_:
push esi
call fcn.00403720
add esp, 8
mov ecx, esi
push dword [ebp - 0x1a0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea ecx, [ebp - 0x278]
call fcn.0042c650
jmp 0x43bcdd
cmp dword [ebp - 0x48], 0
jbe 0x43bcdd
push 0x28
call fcn.00461273
mov edi, eax
mov dword [ebp - 0x1a0], edi
lea ebx, [edi + 0xc]
mov dword [edi + 4], 1
lea ecx, [edi + 4]
mov dword [ebp - 0x1b8], ebx
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj_struct_net_client::capdump::log::UploadResponseModel_.0
mov dword [ebx], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0xf
mov byte [ebx + 4], 0
mov dword [ebp - 0x1b4], edi
push ecx
mov eax, esp
mov byte [ebp - 4], 0x14
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov dword [eax], ebx
mov dword [eax + 4], edi
lea eax, [ebp - 0x58]
push eax
call fcn.0043b3e0
test al, al
je 0x43bc7c
cmp dword [ebx], 0
jne 0x43bcb4
movzx eax, byte [0x48b173]
push 0
push ecx
push 8
push eax
lea ecx, [ebp - 0x278]
call fcn.00403340
mov esi, eax
lea edx, [esi + 0x10]
mov byte [ebp - 4], 0x15
push str._LOG_Successfully_Accept_Upload_Response__response_is:
push edx
call fcn.00403720
add esp, 8
lea edx, [ebx + 4]
mov ecx, esi
push edx
call fcn.00409ca0
lea ecx, [ebp - 0x278]
call fcn.0042c650
mov ecx, dword [ebp - 0x1b0]
call fcn.004445d0
jmp 0x43bcb4
movzx eax, byte [0x48b173]
push 0
push ecx
push 6
push eax
lea ecx, [ebp - 0x278]
call fcn.00403340
add eax, 0x10
mov byte [ebp - 4], 0x16
push str._LOG_Analysis_Upload_Response_failed
push eax
call fcn.00403720
add esp, 8
lea ecx, [ebp - 0x278]
call fcn.0042c650
or esi, 0xffffffff
mov byte [ebp - 4], 0x17
mov eax, esi
lea ecx, [edi + 4]
lock xadd dword [ecx], eax
jne 0x43bcdd
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
lock xadd dword [eax], esi
dec esi
jne 0x43bcdd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43bd13
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43bd09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43bd09
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x43bd49
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43bd3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43bd3f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00435390
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x43bd9c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43bd92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43bd92
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
jmp 0x43be27
mov bl, byte [0x48b173]
lea ecx, [ebp - 0x278]
sub esp, 8
call fcn.00402c10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x278]
mov eax, dword [ebp - 0x278]
push 0
push 0
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [ebp - 0x1c7], bl
mov dword [ebp - 0x1c0], 6
mov byte [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 9
push str._LOG_geting_sending_logs_fail.
push eax
call fcn.00403720
add esp, 8
lea ecx, [ebp - 0x278]
call fcn.0042c650
mov esi, dword [ebp - 0x1ac]
test esi, esi
je 0x43be77
mov edx, dword [ebp - 0x1a8]
push ecx
mov ecx, esi
call fcn.0043d3a0
mov ecx, dword [ebp - 0x1a4]
add esp, 4
sub ecx, esi
mov eax, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x43be6d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43be6d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00461242
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x43bead
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43bea3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43bea3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461231
mov esp, ebp
pop ebp
ret