Function at 0x4258e0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1400
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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 esi, ecx
cmp dword [esi + 0x90], 0
je 0x42594b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::_ReleasePostContext_void____void____void___
mov eax, dword [ebp - 0x28]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x425937
push eax
call edi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x425941
push eax
call edi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x42594b
push eax
call edi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x28], 0
test ebx, ebx
jne 0x4259b1
push dword [esi + 0x48]
mov eax, dword [esi + 0x38]
test eax, eax
push dword [esi + 0x44]
mov ecx, dword [sym.R2ClientInstall.exe_wchar_t_const__const_Ryeol::CHttpToolW::szDefUsrAgent]
push dword [esi + 0x40]
cmovne ecx, eax
push dword [esi + 0x3c]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
je 0x425ae0
mov dword [ebp + 8], ebx
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x4259db
push dword [ebp + 0x20]
mov ecx, esi
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push ebx
call sym.R2ClientInstall.exe_public:_void____thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::OpenConnection_void___wchar_t_const___wchar_t_const___wchar_t_const__
mov ecx, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp + 0xc], ecx
cmp dword [esi + 0x34], 0
mov eax, dword [ebp + 0x10]
mov edi, eax
mov dword [ebp - 0x18], edi
je 0x425a47
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call sym.R2ClientInstall.exe_public:_unsigned_long_int___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::MakeGetUrlLen_wchar_t_const__
xor ecx, ecx
add eax, 1
adc ecx, ecx
push ecx
push eax
lea ecx, [ebp + 0x20]
call fcn.00428d80
mov eax, dword [ebp + 0x20]
lea ecx, [ebp + 0x20]
push 2
mov dword [ebp + 0x20], eax
call fcn.004283d0
mov dword [ebp - 4], 0
push dword [ebp + 0x20]
call fcn.004cdcdf
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
test edi, edi
je 0x425af3
push dword [ebp + 0x10]
mov ecx, esi
mov dword [ebp - 0x14], 1
push edi
call sym.R2ClientInstall.exe_public:_wchar_t____thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::MakeGetUrl_wchar_t___wchar_t_const__
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push edi
push dword [sym.R2ClientInstall.exe_wchar_t_const__const_Ryeol::CHttpToolW::szGET]
push dword [ebp - 0x24]
call sym.R2ClientInstall.exe_public:_void____thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::OpenRequest_void___wchar_t_const___wchar_t_const___unsigned_long_int__wchar_t_const__
push eax
mov ecx, esi
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x28], eax
call sym.R2ClientInstall.exe_public:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::AddRequestHeader_void__
cmp dword [ebp - 0x14], 0
je 0x425a90
test edi, edi
je 0x425a7f
push edi
call fcn.004cdcc2
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 0
test edi, edi
cmove eax, edi
mov dword [ebp - 0x18], eax
push dword [esi + 0x1c]
mov esi, dword [ebp + 0x10]
push 0
push esi
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::SendRequest_void___wchar_t_const___unsigned_int_
add esp, 0xc
push 0x28
call fcn.004c3956
add esp, 4
xor edx, edx
cmp dword [ebp - 0x1c], edx
mov ecx, eax
mov eax, dword [ebp - 0x24]
cmovne eax, edx
push esi
push eax
xor eax, eax
cmp dword [ebp - 0x20], eax
cmovne ebx, eax
push ebx
call sym.R2ClientInstall.exe_public:_void___thiscall_Ryeol::CHttpResponseT_class_Ryeol::CHttpToolW_::constructor_void___void___void__
test eax, eax
je 0x425afa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x192
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_unsigned_long_int__unsigned_long_int__wchar_t_const__
push 0x66
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_unsigned_long_int_
push 0x66
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_unsigned_long_int_
push dword [ebp - 0x2c]
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_class_SafeIntException__
cmp dword [ebp - 0x14], 0
je 0x425b1f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x425b1f
push eax
call fcn.004cdcc2
add esp, 4
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x425b2f
push eax
call esi
cmp dword [ebp - 0x1c], 0
jne 0x425b3f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x425b3f
push eax
call esi
cmp dword [ebp - 0x20], 0
jne 0x425b51
lea eax, [ebp + 8]
push eax
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::CloseConnection_void___
add esp, 4
push 0
push 0
call fcn.004c78f8
cmp dword [ebp - 0x14], 0
je 0x425b70
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x425b70
push eax
call fcn.004cdcc2
add esp, 4
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x425b80
push eax
call esi
cmp dword [ebp - 0x1c], 0
jne 0x425b90
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x425b90
push eax
call esi
cmp dword [ebp - 0x20], 0
jne 0x425ba2
lea eax, [ebp + 8]
push eax
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::CloseConnection_void___
add esp, 4
push 0x64
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_unsigned_long_int_
int3