Function at 0x40c110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bdc84
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x644a10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], edi
call dword [0x5c077c]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call dword [0x5c0780]
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::operator]
lea ecx, [ebp - 0x10]
call dword [0x5c077c]
mov byte [ebp - 4], 2
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
push ebx
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x18]
mov edi, dword [sym.imp.mfc100u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::AppendFormat]
push 0x62f584
push ecx
lea edx, [ebp - 0x10]
push str._s_URL_Fields__s
push edx
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
add esp, 0x10
push 0x62f59c
push 0
push ebx
mov ecx, esi
call edx
push eax
mov eax, dword [ebp - 0x14]
push str.SCHEMA
push eax
lea ecx, [ebp - 0x10]
push 0x62f5a8
push ecx
call edi
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
add esp, 0x18
push 0x62f5b4
push 1
push ebx
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x14]
push eax
push str.HOST
push ecx
lea edx, [ebp - 0x10]
push 0x62f5c0
push edx
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
add esp, 0x18
push 0x62f5cc
push 2
push ebx
mov ecx, esi
call edx
push eax
mov eax, dword [ebp - 0x14]
push str.PORT
push eax
lea ecx, [ebp - 0x10]
push 0x62f5d8
push ecx
call edi
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
add esp, 0x18
push 0x62f5e4
push 3
push ebx
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x14]
push eax
push str.PATH
push ecx
lea edx, [ebp - 0x10]
push 0x62f5f0
push edx
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
add esp, 0x18
push 0x62f5fc
push 4
push ebx
mov ecx, esi
call edx
push eax
mov eax, dword [ebp - 0x14]
push str.QUERY
push eax
lea ecx, [ebp - 0x10]
push 0x62f608
push ecx
call edi
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
add esp, 0x18
push 0x62f614
push 5
push ebx
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x14]
push eax
push str.FRAGMENT
push ecx
lea edx, [ebp - 0x10]
push 0x62f624
push edx
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
add esp, 0x18
push 0x62f630
push 6
push ebx
mov ecx, esi
call edx
push eax
mov eax, dword [ebp - 0x14]
push str.USERINFO
push eax
lea ecx, [ebp - 0x10]
push str._s_8s:__s_s
push ecx
call edi
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
push 0
push ebx
mov ecx, esi
mov dword [ebp - 0x1c], 0
call edx
mov eax, dword [ebp - 0x18]
push 0x62f64c
push eax
lea ecx, [ebp - 0x10]
push str._s_Request_Headers__s
push ecx
call edi
mov eax, dword [ebp - 0x1c]
add esp, 0x10
test eax, eax
jne 0x40c309
mov edx, dword [ebp - 0x14]
push 0x62f668
push edx
lea eax, [ebp - 0x10]
push str._s_no_header__s
push eax
call edi
add esp, 0x10
jmp 0x40c388
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.mfc100u.dll_new__]
add esp, 4
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 3
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
push eax
push ebx
mov ecx, esi
call edx
xor eax, eax
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x1c], eax
jbe 0x40c377
jmp 0x40c348
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + eax*8 + 4]
mov eax, dword [ecx + eax*8]
mov ecx, dword [ebp - 0x14]
push 0x62f67c
push edx
push eax
push ecx
lea edx, [ebp - 0x10]
push 0x62f680
push edx
call edi
mov eax, dword [ebp + 0xc]
inc eax
add esp, 0x18
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp - 0x1c]
jb 0x40c345
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.mfc100u.dll_delete__]
add esp, 4
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
mov ecx, esi
mov dword [ebp - 0x20], 0
call edx
mov eax, dword [ebp - 0x18]
push 0x62f68c
push eax
lea ecx, [ebp - 0x10]
push str._s_Cookies__s
push ecx
call edi
mov eax, dword [ebp - 0x20]
add esp, 0x10
test eax, eax
jne 0x40c3d6
mov edx, dword [ebp - 0x14]
push 0x62f6a0
push edx
lea eax, [ebp - 0x10]
push str._s_no_cookie__s
push eax
call edi
add esp, 0x10
jmp 0x40c451
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.mfc100u.dll_new__]
add esp, 4
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], 4
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
push eax
push ebx
mov ecx, esi
call edx
xor eax, eax
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x20], eax
jbe 0x40c444
jmp 0x40c415
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + eax*8 + 4]
mov eax, dword [ecx + eax*8]
mov ecx, dword [ebp - 0x14]
push 0x62f6b4
push edx
push eax
push ecx
lea edx, [ebp - 0x10]
push str._s_s:__s_s
push edx
call edi
mov eax, dword [ebp + 0xc]
inc eax
add esp, 0x18
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp - 0x20]
jb 0x40c412
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.mfc100u.dll_delete__]
add esp, 4
lea ecx, [ebp - 0x24]
call dword [0x5c077c]
mov byte [ebp - 4], 5
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push ebx
mov ecx, esi
call eax
movzx eax, ax
mov ecx, eax
shr ecx, 8
movzx edx, cl
push edx
movzx eax, al
push eax
lea ecx, [ebp - 0x24]
push str.HTTP__d._d
push ecx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Format]
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
add esp, 0x10
push ebx
mov ecx, esi
call eax
mov dword [ebp - 0x2c], eax
mov dword [ebp + 0xc], 0x62f6c4
test eax, eax
jne 0x40c4a9
mov dword [ebp + 0xc], 0x62f6cc
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push ebx
mov ecx, esi
call eax
mov dword [ebp - 0x28], str.true
test eax, eax
jne 0x40c4c5
mov dword [ebp - 0x28], str.false
mov ecx, dword [ebp - 0x18]
push 0x62f6e4
push ecx
lea edx, [ebp - 0x10]
push str._s_Basic_Info__s
push edx
call edi
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
push 0x62f6fc
push eax
push str.Version
push ecx
lea edx, [ebp - 0x10]
push 0x62f708
push edx
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
add esp, 0x28
push 0x62f718
push ebx
mov ecx, esi
call edx
push eax
mov eax, dword [ebp - 0x14]
push str.Method
push eax
lea ecx, [ebp - 0x10]
push 0x62f724
push ecx
call edi
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
push 0x62f734
push edx
push str.IsUpgrade
push eax
lea ecx, [ebp - 0x10]
push 0x62f744
push ecx
call edi
mov eax, dword [ebp - 0x2c]
add esp, 0x30
test eax, eax
je 0x40c564
mov edx, dword [ebp - 0x14]
push 0x62f754
push eax
push str.UpgradeType
push edx
lea eax, [ebp - 0x10]
push str._s_13s:__d_s
push eax
call edi
add esp, 0x18
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
push 0x62f774
push ecx
push str.IsKeepAlive
push edx
lea eax, [ebp - 0x10]
push 0x62f784
push eax
call edi
add esp, 0x18
cmp dword [ebp + 0x10], 0
je 0x40c5b2
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
push 0x62f794
push ebx
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x14]
push edx
push eax
push str.ContentLength
push ecx
lea edx, [ebp - 0x10]
push str._s_13s:__lld_s
push edx
call edi
add esp, 0x1c
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
push 0x62f7b8
push ebx
mov ecx, esi
call edx
push eax
mov eax, dword [ebp - 0x14]
push str.ContentType
push eax
lea ecx, [ebp - 0x10]
push str._s_13s:__s_s
push ecx
call edi
mov esi, dword [ebp + 8]
add esp, 0x18
lea edx, [ebp - 0x10]
push edx
mov ecx, esi
call dword [0x5c0780]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitM]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitM]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitM]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitM]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc