Function at 0x426ad0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f14e0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 - 0x2c], ebx
cmp dword [ebx + 0x90], 0
je 0x426b3e
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
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 - 0x30]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x426b2a
push eax
call esi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x426b34
push eax
call esi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x426b3e
push eax
call esi
xor esi, esi
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], esi
cmp dword [ebx + 0x34], esi
je 0x426c9c
mov esi, dword [ebx + 0x30]
mov esi, dword [esi]
cmp esi, dword [ebx + 0x30]
je 0x426c94
xor eax, eax
lea ecx, [ebp - 0x28]
add edi, 1
adc eax, eax
push eax
push edi
call fcn.00428d80
test byte [esi + 0x18], 2
push dword [ebx + 0x1c]
je 0x426bb4
push dword [esi + 0x10]
call sym.R2ClientInstall.exe_public:_static_unsigned_long_int___cdecl_Ryeol::CHttpEncoderW::AnsiEncodeLen_wchar_t_const___unsigned_int_
mov ecx, dword [ebp - 0x28]
add esp, 8
mov edx, ecx
not edx
cmp edx, eax
jb 0x426e66
jmp 0x426bd1
push dword [ebx + 0x18]
push dword [esi + 0x10]
call sym.R2ClientInstall.exe_public:_static_unsigned_long_int___cdecl_Ryeol::CHttpEncoderW::UrlEncodeLenA_wchar_t_const___int__unsigned_int_
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov edx, ecx
not edx
cmp edx, eax
jb 0x426e7c
add eax, ecx
xor ecx, ecx
add eax, 1
adc ecx, ecx
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00428d80
test byte [esi + 0x18], 4
push dword [ebx + 0x1c]
je 0x426bfa
push dword [esi + 0x14]
call sym.R2ClientInstall.exe_public:_static_unsigned_long_int___cdecl_Ryeol::CHttpEncoderW::AnsiEncodeLen_wchar_t_const___unsigned_int_
add esp, 8
jmp 0x426c08
push dword [ebx + 0x18]
push dword [esi + 0x14]
call sym.R2ClientInstall.exe_public:_static_unsigned_long_int___cdecl_Ryeol::CHttpEncoderW::UrlEncodeLenA_wchar_t_const___int__unsigned_int_
add esp, 0xc
mov edx, eax
mov eax, dword [ebp - 0x3c]
mov ecx, eax
not ecx
cmp ecx, edx
jb 0x426e92
lea edi, [eax + edx]
mov eax, dword [ebp - 0x14]
mov ecx, eax
not ecx
cmp ecx, edx
jb 0x426ea8
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
cmp esi, eax
jne 0x426c3f
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x30], ecx
mov eax, dword [esi + 8]
cmovne edx, dword [ebp - 0x18]
mov dword [ebp - 0x18], edx
cmp byte [eax + 0xd], 0
je 0x426c6f
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x426c68
cmp esi, dword [eax + 8]
jne 0x426c68
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x426c58
mov esi, eax
jmp 0x426b75
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x426c8c
nop dword [eax]
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x426c80
mov dword [ebp - 0x18], edx
jmp 0x426b75
mov esi, dword [ebp - 0x14]
test edi, edi
je 0x426c9c
dec edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x426cdc
push dword [ebx + 0x48]
mov eax, dword [ebx + 0x38]
test eax, eax
push dword [ebx + 0x44]
mov ecx, dword [sym.R2ClientInstall.exe_wchar_t_const__const_Ryeol::CHttpToolW::szDefUsrAgent]
push dword [ebx + 0x40]
cmovne ecx, eax
push dword [ebx + 0x3c]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x426ebe
mov dword [ebp + 8], eax
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x426d06
push dword [ebp + 0x20]
mov ecx, ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push eax
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 - 0x14], ecx
mov dword [ebp + 0xc], ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [sym.R2ClientInstall.exe_wchar_t_const__const_Ryeol::CHttpToolW::szPost]
push ecx
mov ecx, ebx
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, ebx
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x24], eax
call sym.R2ClientInstall.exe_public:_void___thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolW__class_Ryeol::CHttpEncoderW_::AddRequestHeader_void__
push dword [ebx + 0x1c]
mov ecx, dword [ebp + 0x10]
push dword [sym.R2ClientInstall.exe_wchar_t_const__const_Ryeol::CHttpToolW::szFormUrlEncoded]
push dword [sym.R2ClientInstall.exe_wchar_t_const__const_Ryeol::CHttpToolW::szContentType]
push ecx
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::AddHeader_void___wchar_t_const___wchar_t_const___unsigned_int_
add esp, 0x10
push edi
push dword [ebp + 0x10]
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::SendRequestEx_void___unsigned_long_int_
add esp, 8
lea ecx, [ebx + 0x2c]
push 0
call sym.R2ClientInstall.exe_public:_unsigned_long_int___thiscall_Ryeol::CHttpClientMapT_class_Ryeol::CHttpToolW_::Count_wchar_t_const__
mov ecx, dword [ebp - 0x2c]
mov ebx, eax
add ecx, 0x8c
mov dword [ebp + 0x20], ecx
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_::_MakeUnActive_void_
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x20]
mov dword [edx + 4], 1
mov dword [edx + 8], edi
mov dword [edx + 0x10], esi
mov dword [edx + 0x18], ebx
mov dword [edx + 0x20], 0
mov dword [eax + 0xd8], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0xd4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xe0], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xdc], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xe4], ecx
mov dword [eax + 0xe8], 1
cmp dword [eax + 0x34], 0
je 0x426e17
lea esi, [eax + 0x54]
push edx
mov ecx, esi
call sym.R2ClientInstall.exe_public:_class_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_____thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::operator_class_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW__const__
mov ebx, dword [ebp - 0x18]
mov ecx, esi
mov edi, dword [ebp - 0x30]
push 0
push 0
push ebx
push edi
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::_TestStartNewEntry_wchar_t_const___unsigned_int__int__wchar_t_const__
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x426dfe
push eax
call fcn.004cdcc2
add esp, 4
mov dword [esi + 0x2c], 0
inc dword [esi + 0x1c]
lea eax, [esi + 0x28]
push edi
push eax
mov ecx, esi
call sym.R2ClientInstall.exe_private:_void___thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolW_::_SetString_wchar_t____wchar_t_const__
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 0
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 ecx
lea ecx, [ebp - 0x34]
call fcn.00418430
push 0x531dac
mov eax, ecx
push eax
call fcn.004c78f8
push ecx
lea ecx, [ebp - 0x38]
call fcn.00418430
push 0x531dac
mov eax, ecx
push eax
call fcn.004c78f8
push ecx
lea ecx, [ebp - 0x40]
call fcn.00418430
push 0x531dac
mov eax, ecx
push eax
call fcn.004c78f8
push ecx
lea ecx, [ebp - 0x44]
call fcn.00418430
push 0x531dac
mov eax, ecx
push eax
call fcn.004c78f8
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__
mov eax, dword [ebp - 0x24]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x426ee1
push eax
call esi
cmp dword [ebp - 0x1c], 0
jne 0x426ef1
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x426ef1
push eax
call esi
cmp dword [ebp - 0x20], 0
jne 0x426f03
lea eax, [ebp + 8]
push eax
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::CloseConnection_void___
add esp, 4
push dword [ebp - 0x48]
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolW::ThrowException_class_SafeIntException__
int3