Function at 0x427bb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1540
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x56b114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
cmp dword [ebx + 0x90], 0
je 0x428003
cmp dword [ebx + 0xd4], 0
je 0x42800a
cmp dword [ebx + 0xdc], 0
je 0x428016
cmp dword [ebx + 0xe4], 0
je 0x428022
mov esi, dword [ebp + 8]
test esi, esi
je 0x42802e
lea ecx, [ebx + 0x8c]
mov dword [ebp - 4], 0
call sym.R2ClientInstall.exe_public:_unsigned_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::ActualPostedByte_void_const
lea ecx, [ebx + 0x8c]
mov edi, eax
call sym.R2ClientInstall.exe_public:_unsigned_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::ActualTotalByte_void_const
cmp eax, edi
jne 0x427c6b
push dword [ebx + 0xe4]
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::EndRequest_void__
add esp, 4
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_class_Ryeol::CHttpResponseT_class_Ryeol::CHttpToolW_____thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_ReleasePostResponse_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0xc]
lea edi, [ebx + 0x8c]
mov ecx, dword [sym.R2ClientInstall.exe_char_const__const_Ryeol::CHttpToolA::szDefBoundary]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x14], ecx
mov ecx, edi
call sym.R2ClientInstall.exe_public:_unsigned_long_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::TotalCount_void_const
test eax, eax
jne 0x427cca
push eax
push str._r_n__
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
push 0
push dword [ebp - 0x14]
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
push 0
push 0x51d348
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, edi
call sym.R2ClientInstall.exe_public:_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::CurrParamIsComplete_void_const
mov ecx, edi
test eax, eax
je 0x427f01
call sym.R2ClientInstall.exe_public:_unsigned_long_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::TotalCount_void_const
mov ecx, edi
mov esi, eax
call sym.R2ClientInstall.exe_public:_unsigned_long_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::PostedCount_void_const
cmp esi, eax
jne 0x427cf6
push 0
push 0x51d350
jmp 0x427c93
mov ecx, edi
call sym.R2ClientInstall.exe_public:_unsigned_long_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::PostedCount_void_const
mov ecx, edi
mov dword [ebp - 0x20], eax
call sym.R2ClientInstall.exe_public:_unsigned_long_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::PostedFileCount_void_const
mov esi, dword [ebx + 0x30]
mov ecx, eax
mov edx, dword [ebp - 0x20]
xor edi, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp + 8], 0
mov esi, dword [esi]
test edx, edx
je 0x427d65
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x427d47
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x427d43
cmp esi, dword [eax + 8]
jne 0x427d43
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x427d33
mov esi, eax
jmp 0x427d5d
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x427d5d
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x427d51
sub edx, 1
jne 0x427d21
mov ecx, dword [ebp - 0x18]
test byte [esi + 0x18], 1
je 0x427e20
mov eax, dword [ebx + 0xc4]
mov edx, dword [esi + 0x14]
mov dword [ebp + 8], edx
mov eax, dword [eax + ecx*4]
cmp eax, 0xffffffff
je 0x427d8f
push edx
push eax
call sym.R2ClientInstall.exe_public:_static_unsigned_long_int___cdecl_Ryeol::CHttpToolW::GetFileSize_void___wchar_t_const__
add esp, 8
mov edi, eax
push 0
push 0x51d350
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
push 0
push dword [ebp - 0x14]
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
push 0
push 0x5188b4
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
push 0
push str.Content_Disposition:_form_data__name_
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
push 0
push dword [esi + 0x10]
mov ecx, ebx
push dword [ebx + 0x18]
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_int__wchar_t_const___int_
push 0
push str.___filename_
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
push 0
push dword [ebp + 8]
mov ecx, ebx
push dword [ebx + 0x18]
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_int__wchar_t_const___int_
push 0
push str.__r_nContent_Type:
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
mov eax, dword [ebx + 0xc8]
mov ecx, dword [ebp - 0x18]
push 0
push dword [eax + ecx*4]
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
push 0
push str._r_n_r_n
jmp 0x427ece
mov eax, dword [esi + 0x14]
test eax, eax
je 0x427e75
cmp word [eax], di
je 0x427e75
cmp dword [ebx + 0x18], edi
je 0x427e40
push eax
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_char_const____thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_Utf8Encode_wchar_t_const__
mov edx, 1
jmp 0x427e4f
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_char_const____thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_String2Ansi_wchar_t_const___int__
mov edx, dword [ebp - 0x20]
mov ecx, eax
mov edi, ecx
lea eax, [edi + 1]
mov dword [ebp - 0x20], eax
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x427e60
sub edi, dword [ebp - 0x20]
push edx
push ecx
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_SetPostedValue_char_const___int_
jmp 0x427e82
push 0
push 0
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_SetPostedValue_char_const___int_
xor edi, edi
push 0
push 0x51d350
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
push 0
push dword [ebp - 0x14]
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
push 0
push 0x5188b4
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
push 0
push str.Content_Disposition:_form_data__name_
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
push 0
push dword [esi + 0x10]
mov ecx, ebx
push dword [ebx + 0x18]
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_int__wchar_t_const___int_
push 0
push str.__r_n_r_n
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_char_const___int_
push dword [ebp + 8]
mov eax, dword [esi + 0x18]
lea ecx, [ebx + 0x8c]
and eax, 1
push eax
push edi
push dword [esi + 0x10]
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::_StartNewEntry_wchar_t_const___unsigned_int__int__wchar_t_const__
test edi, edi
jne 0x427cb4
push edi
push 0x5188b4
jmp 0x427cad
call sym.R2ClientInstall.exe_public:_unsigned_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::CurrParamRemainByte_void_const
cmp esi, eax
jbe 0x427f16
mov ecx, edi
call sym.R2ClientInstall.exe_public:_unsigned_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::CurrParamRemainByte_void_const
mov esi, eax
mov dword [ebp + 8], esi
lea ecx, [ebx + 0x8c]
xor edi, edi
call sym.R2ClientInstall.exe_public:_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::CurrParamIsFile_void_const
test eax, eax
je 0x427fb6
cmp dword [ebx + 0xec], edi
jne 0x427f4e
push 0xe000
call fcn.004cdcdf
add esp, 4
mov dword [ebx + 0xec], eax
test eax, eax
je 0x42803a
lea ecx, [ebx + 0x8c]
call sym.R2ClientInstall.exe_public:_unsigned_long_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::PostedFileCount_void_const
lea ecx, [eax - 1]
mov dword [ebp - 0x18], ecx
mov eax, 0xe000
cmp edi, esi
jae 0x427fd4
sub esi, edi
cmp esi, eax
push 0
cmova esi, eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0xc4]
push esi
push dword [ebx + 0xec]
push dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x428041
cmp esi, dword [ebp - 0x20]
jne 0x428054
push 1
push esi
push dword [ebx + 0xec]
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_unsigned_char_const___unsigned_long_int__int_
mov ecx, dword [ebp - 0x18]
add edi, esi
mov esi, dword [ebp + 8]
jmp 0x427f5f
lea ecx, [ebx + 0x8c]
call sym.R2ClientInstall.exe_public:_unsigned_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::CurrParamPostedByte_void_const
mov ecx, dword [ebx + 0xcc]
push 1
add ecx, eax
push esi
push ecx
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_WritePost_unsigned_char_const___unsigned_long_int__int_
lea ecx, [ebx + 0x8c]
call sym.R2ClientInstall.exe_public:_unsigned_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::CurrParamRemainByte_void_const
test eax, eax
jne 0x427cb4
push eax
push 0x5188b4
jmp 0x427cad
push 0x68
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_unsigned_long_int_
push 0
push str.CHttpClientT::_ProceedUploadContext:_m_hInternet_can_not_be_NULL.
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_wchar_t_const___unsigned_long_int_
push 0
push str.CHttpClientT::_ProceedUploadContext:_m_hConnection_can_not_be_NULL.
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_wchar_t_const___unsigned_long_int_
push 0
push str.CHttpClientT::_ProceedUploadContext:_m_hRequest_can_not_be_NULL.
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_wchar_t_const___unsigned_long_int_
push 0
push str.CHttpClientT::_ProceedUploadContext:_nDesired_can_not_be_zero.
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_wchar_t_const___unsigned_long_int_
push 0x66
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_unsigned_long_int_
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x25a
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_unsigned_long_int__unsigned_long_int__wchar_t_const__
push 0x69
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_unsigned_long_int_
mov ecx, dword [ebp - 0x1c]
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_EndPostContext_void_
push dword [ebp - 0x24]
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_class_SafeIntException__
int3