Function at 0x42cee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a084
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x462304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xac], 0
mov ecx, dword [ebp + 8]
call fcn.0041a440
cmp eax, 0xfffff
jbe 0x42cfb2
push 1
lea ecx, [ebp - 0x51c]
call fcn.004095c0
mov dword [ebp - 4], 0
push str.cant_send_message_with_length
lea eax, [ebp - 0x51c]
push eax
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp + 8]
call fcn.0041a440
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x174]
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_]
push 0x453b04
push eax
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x178], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x51c]
call fcn.0040e4f0
mov eax, dword [ebp - 0x178]
jmp 0x42d8c4
push 1
lea ecx, [ebp - 0x484]
call fcn.004095c0
mov dword [ebp - 4], 1
push 0x5b
lea edx, [ebp - 0x484]
push edx
call fcn.0041ca40
add esp, 8
mov dword [ebp - 0x180], eax
push 0x10
lea eax, [ebp - 0x18c]
push eax
call sub.MSVCP140.dll_struct_std::_Smanip_int____cdecl_std::setbase_int_
add esp, 8
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
push ecx
mov edx, dword [ebp - 0x180]
push edx
call fcn.0042c370
add esp, 8
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp + 8]
call fcn.0041a440
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0xcc]
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_]
push 0x5d
push eax
call fcn.0041ca40
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x484]
call fcn.0041b9b0
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0042c3a0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0040ae30
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xb0], 0
push 1
lea ecx, [ebp - 0x814]
call fcn.004095c0
mov byte [ebp - 4], 5
push str.attempting_to_send
lea eax, [ebp - 0x814]
push eax
call fcn.004054d0
add esp, 8
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0x28]
call fcn.0041a440
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0xdc]
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_]
push 0x453b2c
push eax
call fcn.004054d0
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.0041a440
cmp dword [ebp - 0xa8], eax
jae 0x42d712
cmp dword [ebp - 0xac], 0
jne 0x42d712
lea ecx, [ebp - 0x28]
call fcn.0041a440
sub eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc4], eax
push 1
lea ecx, [ebp - 0x6e4]
call fcn.004095c0
mov byte [ebp - 4], 6
push str.attempting_to_write
lea edx, [ebp - 0x6e4]
push edx
call fcn.004054d0
add esp, 8
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xe0]
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_]
push str._bytes
push eax
call fcn.004054d0
add esp, 8
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x74], 0
mov edx, dword [ebp - 0xa4]
mov dword [edx + 0x78], 0
lea ecx, [ebp - 0x28]
call fcn.00419c50
add eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x88]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xa4]
add edx, 0x6c
push edx
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0xe4]
push edx
mov eax, dword [ebp - 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0xa0], eax
cmp dword [ebp - 0xc0], 0
je 0x42d330
push 1
lea ecx, [ebp - 0x5b4]
call fcn.004095c0
mov byte [ebp - 4], 7
push str.wrote
lea edx, [ebp - 0x5b4]
push edx
call fcn.004054d0
add esp, 8
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
push ecx
mov ecx, dword [ebp - 0xf0]
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_]
push 0x453b84
push eax
call fcn.004054d0
add esp, 8
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xa8]
push edx
mov ecx, dword [ebp - 0xf4]
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_]
push 0x453b74
push eax
call fcn.004054d0
add esp, 8
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
push ecx
mov ecx, dword [ebp - 0xfc]
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_]
push 0x453b68
push eax
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x104], eax
lea ecx, [ebp - 0x28]
call fcn.0041a440
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
push edx
mov ecx, dword [ebp - 0x104]
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_]
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5b4]
call fcn.0040e4f0
jmp 0x42d6fe
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0xa0], 0x3e5
jne 0x42d645
mov dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 0x6c], 0x103
je 0x42d555
push 1
lea ecx, [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xa4]
add edx, 0x6c
push edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x42d49e
push 1
lea ecx, [ebp - 0x64c]
call fcn.004095c0
mov byte [ebp - 4], 8
push str.overlapped_write
lea edx, [ebp - 0x64c]
push edx
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x108]
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_]
push 0x453bb4
push eax
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov ecx, dword [ebp - 0x10c]
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_]
push str._transferred
push eax
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x114]
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_]
push str._writing
push eax
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x28]
call fcn.0041a440
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
push ecx
mov ecx, dword [ebp - 0x11c]
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_]
mov edx, dword [ebp - 0xa8]
add edx, dword [ebp - 0xb4]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xb0]
add eax, 1
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64c]
call fcn.0040e4f0
jmp 0x42d551
push 1
lea ecx, [ebp - 0x224]
call fcn.004095c0
mov byte [ebp - 4], 9
push str.overlapped_result_when_sending
lea ecx, [ebp - 0x224]
push ecx
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x28]
call fcn.0041a440
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x124]
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_]
mov eax, dword [ebp - 0xa4]
add eax, 0xa0
push eax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x224]
call fcn.0041b9b0
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x12c]
push ecx
push 4
mov ecx, dword [ebp - 0xa4]
call fcn.0042c5c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x58]
call fcn.0040ae30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x224]
call fcn.0040e4f0
jmp 0x42d57c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0xb8]
add edx, 0x64
mov dword [ebp - 0xb8], edx
cmp dword [ebp - 0xb8], 0x2710
jb 0x42d350
cmp dword [ebp - 0xb8], 0x2710
jb 0x42d640
push 1
lea ecx, [ebp - 0x2bc]
call fcn.004095c0
mov byte [ebp - 4], 0xb
push str.waiting_after_writing
lea eax, [ebp - 0x2bc]
push eax
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x28]
call fcn.0041a440
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
push ecx
mov ecx, dword [ebp - 0x134]
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_]
mov edx, dword [ebp - 0xa4]
add edx, 0xa0
push edx
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x2bc]
call fcn.0041b9b0
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x13c]
push eax
push 3
mov ecx, dword [ebp - 0xa4]
call fcn.0042c5c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.0040ae30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2bc]
call fcn.0040e4f0
jmp 0x42d6fe
push 1
lea ecx, [ebp - 0x354]
call fcn.004095c0
mov byte [ebp - 4], 0xd
push str.writing
lea ecx, [ebp - 0x354]
push ecx
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0x28]
call fcn.0041a440
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
push edx
mov ecx, dword [ebp - 0x144]
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_]
mov eax, dword [ebp - 0xa4]
add eax, 0xa0
push eax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x88]
push edx
lea ecx, [ebp - 0x354]
call fcn.0041b9b0
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x14c]
push ecx
push 2
mov ecx, dword [ebp - 0xa4]
call fcn.0042c5c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x88]
call fcn.0040ae30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x354]
call fcn.0040e4f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6e4]
call fcn.0040e4f0
jmp 0x42d110
cmp dword [ebp - 0xac], 0
jne 0x42d885
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x42d803
push 1
lea ecx, [ebp - 0x3ec]
call fcn.004095c0
mov byte [ebp - 4], 0xf
push str.flushing_writing
lea ecx, [ebp - 0x3ec]
push ecx
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x28]
call fcn.0041a440
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
push edx
mov ecx, dword [ebp - 0x154]
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_]
mov eax, dword [ebp - 0xa4]
add eax, 0xa0
push eax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x3ec]
call fcn.0041b9b0
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x15c]
push ecx
push 5
mov ecx, dword [ebp - 0xa4]
call fcn.0042c5c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa0]
call fcn.0040ae30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3ec]
call fcn.0040e4f0
jmp 0x42d885
push 1
lea ecx, [ebp - 0x77c]
call fcn.004095c0
mov byte [ebp - 4], 0x11
push str.flushed___wrote
lea edx, [ebp - 0x77c]
push edx
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x160]
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_]
push str._times_to_send
push eax
call fcn.004054d0
add esp, 8
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0x28]
call fcn.0041a440
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
push ecx
mov ecx, dword [ebp - 0x168]
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_]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x77c]
call fcn.0040e4f0
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x16c], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x814]
call fcn.0040e4f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040ae30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x484]
call fcn.0040e4f0
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00446150
mov esp, ebp
pop ebp
ret 4