Function at 0x422a00
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1200
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 0x422a6e
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::CHttpToolA__class_Ryeol::CHttpEncoderA_::_ReleasePostContext_void____void____void___
mov eax, dword [ebp - 0x30]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x422a5a
push eax
call esi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x422a64
push eax
call esi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x422a6e
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 0x422bcc
mov esi, dword [ebx + 0x30]
mov esi, dword [esi]
cmp esi, dword [ebx + 0x30]
je 0x422bc4
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 0x422ae4
push dword [esi + 0x10]
call sym.R2ClientInstall.exe_public:_static_unsigned_long_int___cdecl_Ryeol::CHttpEncoderA::AnsiDecodeLen_char_const___unsigned_int_
mov ecx, dword [ebp - 0x28]
add esp, 8
mov edx, ecx
not edx
cmp edx, eax
jb 0x422d94
jmp 0x422b01
push dword [ebx + 0x18]
push dword [esi + 0x10]
call sym.R2ClientInstall.exe_public:_static_unsigned_long_int___cdecl_Ryeol::CHttpEncoderA::UrlEncodeLenA_char_const___int__unsigned_int_
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov edx, ecx
not edx
cmp edx, eax
jb 0x422daa
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 0x422b2a
push dword [esi + 0x14]
call sym.R2ClientInstall.exe_public:_static_unsigned_long_int___cdecl_Ryeol::CHttpEncoderA::AnsiDecodeLen_char_const___unsigned_int_
add esp, 8
jmp 0x422b38
push dword [ebx + 0x18]
push dword [esi + 0x14]
call sym.R2ClientInstall.exe_public:_static_unsigned_long_int___cdecl_Ryeol::CHttpEncoderA::UrlEncodeLenA_char_const___int__unsigned_int_
add esp, 0xc
mov edx, eax
mov eax, dword [ebp - 0x3c]
mov ecx, eax
not ecx
cmp ecx, edx
jb 0x422dc0
lea edi, [eax + edx]
mov eax, dword [ebp - 0x14]
mov ecx, eax
not ecx
cmp ecx, edx
jb 0x422dd6
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
cmp esi, eax
jne 0x422b6f
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 0x422b9f
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x422b98
cmp esi, dword [eax + 8]
jne 0x422b98
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x422b88
mov esi, eax
jmp 0x422aa5
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x422bbc
nop dword [eax]
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x422bb0
mov dword [ebp - 0x18], edx
jmp 0x422aa5
mov esi, dword [ebp - 0x14]
test edi, edi
je 0x422bcc
dec edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x422c0c
push dword [ebx + 0x48]
mov eax, dword [ebx + 0x38]
test eax, eax
push dword [ebx + 0x44]
mov ecx, dword [sym.R2ClientInstall.exe_char_const__const_Ryeol::CHttpToolA::szDefUsrAgent]
push dword [ebx + 0x40]
cmovne ecx, eax
push dword [ebx + 0x3c]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x422dec
mov dword [ebp + 8], eax
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x422c36
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::CHttpToolA__class_Ryeol::CHttpEncoderA_::OpenConnection_void___char_const___char_const___char_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_char_const__const_Ryeol::CHttpToolA::szPost]
push ecx
mov ecx, ebx
call sym.R2ClientInstall.exe_public:_void____thiscall_Ryeol::CHttpClientT_class_Ryeol::CHttpToolA__class_Ryeol::CHttpEncoderA_::OpenRequest_void___char_const___char_const___unsigned_long_int__char_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::CHttpToolA__class_Ryeol::CHttpEncoderA_::AddRequestHeader_void__
push dword [ebx + 0x1c]
mov ecx, dword [ebp + 0x10]
push dword [sym.R2ClientInstall.exe_char_const__const_Ryeol::CHttpToolA::szFormUrlEncoded]
push dword [sym.R2ClientInstall.exe_char_const__const_Ryeol::CHttpToolA::szContentType]
push ecx
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::AddHeader_void___char_const___char_const___unsigned_int_
add esp, 0x10
push edi
push dword [ebp + 0x10]
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::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::CHttpToolA_::Count_char_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 0x422d47
lea esi, [eax + 0x54]
push edx
mov ecx, esi
call sym.R2ClientInstall.exe_public:_class_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_____thiscall_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA_::operator_class_Ryeol::CHttpPostStatT_class_Ryeol::CHttpToolA__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::CHttpToolA_::_TestStartNewEntry_char_const___unsigned_int__int__char_const__
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x422d2e
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::CHttpToolA_::_SetString_char____char_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::CHttpToolA::ThrowException_unsigned_long_int__unsigned_long_int__char_const__
lea eax, [ebp - 0x24]
push eax
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::CloseConnection_void___
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x422e1d
lea eax, [ebp + 0xc]
push eax
call sym.R2ClientInstall.exe_public:_static_void___cdecl_Ryeol::CHttpToolA::CloseConnection_void___
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x422e2f
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::CHttpToolA::ThrowException_class_SafeIntException__
int3