Function at 0x6f201834
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
lea eax, [ebp - 0x38]
mov edx, dword [ebp + 0x10]
mov dword [esp], edx
mov ecx, eax
call method.c_packet_manager.pop_data__
sub esp, 4
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::__cxx11.to_string_int_
lea eax, [ebp - 0x50]
mov dword [esp + 8], str..dll
lea edx, [ebp - 0x2c]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea eax, [ebp - 0x2c]
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
lea eax, [ebp - 0x50]
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
sub esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x6f201903
lea eax, [ebp - 0x50]
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov dword [esp + 4], 0x6f233114
mov dword [esp], eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x6f201903
lea eax, [ebp - 0x38]
mov ecx, eax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
mov ebx, eax
lea eax, [ebp - 0x38]
mov ecx, eax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.data__
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
lea eax, [ebp - 0x50]
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
sub esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x6f20196e
mov dword [esp + 4], str.process
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov ebx, eax
lea eax, [ebp + 8]
mov dword [esp], eax
mov ecx, 0x6f24e034
call method.std::unordered_map_int__void__std::hash_int___std::equal_to_int___std::allocator_std::pair_int_const__void_____.operator___int_const_
sub esp, 4
mov dword [eax], ebx
lea eax, [ebp + 8]
mov dword [esp], eax
mov ecx, 0x6f24e034
call method.std::unordered_map_int__void__std::hash_int___std::equal_to_int___std::allocator_std::pair_int_const__void_____.operator___int_const_
sub esp, 4
mov eax, dword [eax]
test eax, eax
setne bl
jmp 0x6f201973
mov ebx, 0
lea eax, [ebp - 0x50]
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
lea eax, [ebp - 0x38]
mov ecx, eax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector__
mov eax, ebx
jmp 0x6f2019b9
mov ebx, dword [ebp - 4]
leave
ret