Function at 0x423ad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1260
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 0x423f23
cmp dword [ebx + 0xd4], 0
je 0x423f2a
cmp dword [ebx + 0xdc], 0
je 0x423f36
cmp dword [ebx + 0xe4], 0
je 0x423f42
mov esi, dword [ebp + 8]
test esi, esi
je 0x423f4e
lea ecx, [ebx + 0x8c]
mov dword [ebp - 4], 0
call sym.R2ClientInstall.exe_public:_unsigned_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_::ActualPostedByte_void_const
lea ecx, [ebx + 0x8c]
mov edi, eax
call sym.R2ClientInstall.exe_public:_unsigned_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_::ActualTotalByte_void_const
cmp eax, edi
jne 0x423b8b
push dword [ebx + 0xe4]
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::EndRequest_void__
add esp, 4
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_class_Ryeol::CHttpResponseT_class_Ryeol::CHttpToolA_____thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_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::CHttpToolA_::TotalCount_void_const
test eax, eax
jne 0x423bea
push eax
push str._r_n__
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_WritePost_char_const___int_
push 0
push dword [ebp - 0x14]
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_WritePost_char_const___int_
push 0
push 0x51d348
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_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::CHttpToolA_::CurrParamIsComplete_void_const
mov ecx, edi
test eax, eax
je 0x423e21
call sym.R2ClientInstall.exe_public:_unsigned_long_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_::TotalCount_void_const
mov ecx, edi
mov esi, eax
call sym.R2ClientInstall.exe_public:_unsigned_long_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_::PostedCount_void_const
cmp esi, eax
jne 0x423c16
push 0
push 0x51d350
jmp 0x423bb3
mov ecx, edi
call sym.R2ClientInstall.exe_public:_unsigned_long_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_::PostedCount_void_const
mov ecx, edi
mov dword [ebp - 0x20], eax
call sym.R2ClientInstall.exe_public:_unsigned_long_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_::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 0x423c85
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x423c67
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x423c63
cmp esi, dword [eax + 8]
jne 0x423c63
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x423c53
mov esi, eax
jmp 0x423c7d
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x423c7d
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x423c71
sub edx, 1
jne 0x423c41
mov ecx, dword [ebp - 0x18]
test byte [esi + 0x18], 1
je 0x423d40
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 0x423caf
push edx
push eax
call sym.R2ClientInstall.exe_public:_static_unsigned_long_int___cdecl_Ryeol::CHttpToolA::GetFileSize_void___char_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::CHttpToolA__class_Ryeol::CHttpEncoderA_::_WritePost_char_const___int_
push 0
push dword [ebp - 0x14]
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_WritePost_char_const___int_
push 0
push 0x5188b4
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_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::CHttpToolA__class_Ryeol::CHttpEncoderA_::_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::CHttpToolA__class_Ryeol::CHttpEncoderA_::_WritePost_int__char_const___int_
push 0
push str.___filename_
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_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::CHttpToolA__class_Ryeol::CHttpEncoderA_::_WritePost_int__char_const___int_
push 0
push str.__r_nContent_Type:
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_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::CHttpToolA__class_Ryeol::CHttpEncoderA_::_WritePost_char_const___int_
push 0
push str._r_n_r_n
jmp 0x423dee
mov eax, dword [esi + 0x14]
test eax, eax
je 0x423d95
cmp byte [eax], 0
je 0x423d95
cmp dword [ebx + 0x18], edi
je 0x423d60
push eax
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_char_const____thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_Utf8Encode_char_const__
mov edx, 1
jmp 0x423d6f
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_char_const____thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_String2Ansi_char_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 0x423d80
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 0x423da2
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::CHttpToolA__class_Ryeol::CHttpEncoderA_::_WritePost_char_const___int_
push 0
push dword [ebp - 0x14]
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_WritePost_char_const___int_
push 0
push 0x5188b4
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_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::CHttpToolA__class_Ryeol::CHttpEncoderA_::_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::CHttpToolA__class_Ryeol::CHttpEncoderA_::_WritePost_int__char_const___int_
push 0
push str.__r_n_r_n
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_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::CHttpToolA_::_StartNewEntry_char_const___unsigned_int__int__char_const__
test edi, edi
jne 0x423bd4
push edi
push 0x5188b4
jmp 0x423bcd
call sym.R2ClientInstall.exe_public:_unsigned_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_::CurrParamRemainByte_void_const
cmp esi, eax
jbe 0x423e36
mov ecx, edi
call sym.R2ClientInstall.exe_public:_unsigned_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_::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::CHttpToolA_::CurrParamIsFile_void_const
test eax, eax
je 0x423ed6
cmp dword [ebx + 0xec], edi
jne 0x423e6e
push 0xe000
call fcn.004cdcdf
add esp, 4
mov dword [ebx + 0xec], eax
test eax, eax
je 0x423f5a
lea ecx, [ebx + 0x8c]
call sym.R2ClientInstall.exe_public:_unsigned_long_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_::PostedFileCount_void_const
lea ecx, [eax - 1]
mov dword [ebp - 0x18], ecx
mov eax, 0xe000
cmp edi, esi
jae 0x423ef4
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 0x423f61
cmp esi, dword [ebp - 0x20]
jne 0x423f74
push 1
push esi
push dword [ebx + 0xec]
mov ecx, ebx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_WritePost_unsigned_char_const___unsigned_long_int__int_
mov ecx, dword [ebp - 0x18]
add edi, esi
mov esi, dword [ebp + 8]
jmp 0x423e7f
lea ecx, [ebx + 0x8c]
call sym.R2ClientInstall.exe_public:_unsigned_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_::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::CHttpToolA__class_Ryeol::CHttpEncoderA_::_WritePost_unsigned_char_const___unsigned_long_int__int_
lea ecx, [ebx + 0x8c]
call sym.R2ClientInstall.exe_public:_unsigned_int___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_::CurrParamRemainByte_void_const
test eax, eax
jne 0x423bd4
push eax
push 0x5188b4
jmp 0x423bcd
push 0x68
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::ThrowException_unsigned_long_int_
push 0
push 0x51d010
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::ThrowException_char_const___unsigned_long_int_
push 0
push 0x51d0e0
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::ThrowException_char_const___unsigned_long_int_
push 0
push 0x51d1b0
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::ThrowException_char_const___unsigned_long_int_
push 0
push 0x51d27c
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::ThrowException_char_const___unsigned_long_int_
push 0x66
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::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::CHttpToolA::ThrowException_unsigned_long_int__unsigned_long_int__char_const__
push 0x69
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::ThrowException_unsigned_long_int_
mov ecx, dword [ebp - 0x1c]
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::_EndPostContext_void_
push dword [ebp - 0x24]
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::ThrowException_class_SafeIntException__
int3