Function at 0x40c960
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a280
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x608ec4]
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
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
je 0x40c9d9
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040dd70
mov eax, dword [ebp - 0x38]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x40c9c5
push eax
call edi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40c9cf
push eax
call edi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x40c9d9
push eax
call edi
xor ebx, ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], ebx
mov ecx, str.Ryeol_HTTP_Client_Class
push dword [esi + 0x48]
mov eax, dword [esi + 0x38]
test eax, eax
push dword [esi + 0x44]
cmovne ecx, eax
mov dword [ebp - 0x18], ebx
push dword [esi + 0x40]
mov dword [ebp - 0x28], 1
push dword [esi + 0x3c]
mov dword [ebp - 0x20], 1
push ecx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x40cbc7
mov edi, dword [ebp + 0x10]
sub esp, 8
mov ecx, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
push edi
push eax
call fcn.0040c440
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x34], ebx
je 0x40caae
push edi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040c010
mov ecx, eax
mov eax, ebx
add ecx, 1
adc eax, ebx
mov dword [ebp - 0x30], eax
jne 0x40cbe5
cmp ecx, 0xffffffff
ja 0x40cbe5
mov dword [ebp - 0x30], ecx
push ecx
lea ecx, [ebp - 0x30]
call fcn.0040df80
mov dword [ebp - 4], ebx
push dword [ebp - 0x30]
call fcn.0057bce0
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
test edi, edi
je 0x40cbdb
push dword [ebp + 0x10]
mov ebx, 1
mov ecx, esi
push edi
mov dword [ebp - 0x18], ebx
call fcn.0040c230
mov eax, dword [ebp - 0x38]
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edi
push 0x5e2078
push eax
call fcn.0040c6e0
push eax
mov ecx, esi
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x1c], eax
call fcn.0040c900
test ebx, ebx
je 0x40caed
test edi, edi
je 0x40cae6
push edi
call fcn.0057bbb0
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp + 0x10]
push ecx
mov ecx, ebx
call fcn.0040a6c0
add esp, 4
push 0x28
call fcn.00425426
mov edi, eax
add esp, 4
test edi, edi
je 0x40cbdb
lea esi, [edi + 8]
mov dword [edi], vtable.Ryeol::CHttpResponseT_class_Ryeol::CHttpToolA_.0
mov dword [edi + 4], vtable.Ryeol::CHttpClientMapT_class_Ryeol::CHttpToolA_.0
mov dword [ebp + 0x10], esi
push 0x1c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00425426
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x14], eax
mov eax, edi
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 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 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, 0x192
call fcn.0040a250
mov ecx, 0x66
call fcn.0040a170
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00409f90
push 0x603a28
mov eax, ecx
push eax
call fcn.0057224a
mov ecx, dword [ebp - 0x44]
call fcn.0040a310
cmp dword [ebp - 0x18], 0
je 0x40cc19
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40cc19
push eax
call fcn.0057bbb0
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.0040a350
cmp dword [ebp - 0x20], 0
jne 0x40cc2f
lea ecx, [ebp - 0x24]
call fcn.0040a350
cmp dword [ebp - 0x28], 0
jne 0x40cc3d
lea ecx, [ebp - 0x2c]
call fcn.0040a350
push 0
push 0
call fcn.0057224a
int3