Function at 0x4c13c0
Capabilities:
Parse url

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eb5d0
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10a0
call fcn.005beef0
mov eax, dword [0x7ce4e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1040], edx
mov edi, ecx
mov dword [ebp - 0x103c], edi
sub esp, 0xc
mov byte [ebp - 0x1031], 0
call fcn.004c0ff0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x1048], esi
test esi, esi
je 0x4c1714
push 0x800
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.005c0be0
push 0x800
lea eax, [ebp - 0x1018]
push 0
push eax
call fcn.005c0be0
add esp, 0x18
mov dword [ebp - 0x1078], 0
lea eax, [ebp - 0x818]
mov dword [ebp - 0x105c], 0
mov dword [ebp - 0x1074], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x1018]
movlpd qword [ebp - 0x1080], xmm0
mov dword [ebp - 0x1058], eax
lea eax, [ebp - 0x1084]
push eax
push 0
push 0
push edi
movlpd qword [ebp - 0x106c], xmm0
movlpd qword [ebp - 0x1064], xmm0
movlpd qword [ebp - 0x1050], xmm0
mov dword [ebp - 0x1084], 0x3c
mov dword [ebp - 0x1070], 0x800
mov dword [ebp - 0x1054], 0x800
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push 8
push str.https:__
push dword [ebp - 0x103c]
mov edi, 0x50
mov dword [ebp - 0x1038], 0x84000000
call fcn.005dbe19
add esp, 0xc
test eax, eax
sete byte [ebp - 0x1032]
test eax, eax
jne 0x4c151d
mov dword [ebp - 0x1038], 0x84813180
mov edi, 0x1bb
mov edx, dword [ebp - 0x1074]
sub esp, 0x14
mov ecx, esi
push edi
call fcn.004c1090
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 0x18
mov dword [ebp - 0x1044], eax
test eax, eax
je 0x4c1711
push 0
push dword [ebp - 0x1038]
push 0
push 0
push 0
push dword [ebp - 0x1058]
push 0x77d780
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x4c1703
cmp byte [ebp - 0x1032], 0
je 0x4c15bf
lea eax, [ebp - 0x103c]
mov dword [ebp - 0x1038], 0
push eax
lea eax, [ebp - 0x1038]
mov dword [ebp - 0x103c], 4
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp - 0x1038], 0x813180
lea eax, [ebp - 0x1038]
push 4
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
xorps xmm0, xmm0
mov dword [ebp - 0x1020], 0
push 0x40
movups xmmword [ebp - 0x1030], xmm0
mov dword [ebp - 0x101c], 0xf
call fcn.005be217
movups xmm0, xmmword [str.Content_Type:_application_x_www_form_urlencoded_r_n]
mov ecx, eax
mov dword [ebp - 0x1020], 0x31
mov dword [ebp - 0x1030], ecx
add esp, 4
mov dword [ebp - 0x101c], 0x3f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x795138]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x795148]
movups xmmword [ecx + 0x20], xmm0
mov al, byte [0x795158]
mov byte [ecx + 0x30], al
mov byte [ecx + 0x31], 0
cmp dword [ebp - 0x101c], 0x10
lea eax, [ebp - 0x1030]
push 0x20000000
push dword [ebp - 0x1020]
cmovae eax, dword [ebp - 0x1030]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x10ac]
xorps xmm0, xmm0
mov dword [ebp - 0x10ac], 0x28
sub esp, 0xc
movlpd qword [ebp - 0x10a8], xmm0
mov ecx, esi
movlpd qword [ebp - 0x10a0], xmm0
movlpd qword [ebp - 0x1098], xmm0
movlpd qword [ebp - 0x108c], xmm0
mov dword [ebp - 0x1090], eax
call fcn.004c1130
add esp, 0xc
test eax, eax
je 0x4c16bd
push dword [ebx + 8]
mov edx, dword [ebp - 0x1040]
mov ecx, esi
call fcn.004c0e30
add esp, 4
mov byte [ebp - 0x1031], 1
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push esi
call edi
mov ecx, dword [ebp - 0x101c]
cmp ecx, 0x10
jb 0x4c1703
mov edx, dword [ebp - 0x1030]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c16f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1738
push ecx
push edx
call fcn.005be247
add esp, 8
push dword [ebp - 0x1044]
call edi
mov esi, dword [ebp - 0x1048]
push esi
call edi
mov al, byte [ebp - 0x1031]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005be209
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005c44be
int3