Function at 0x475a10
Capabilities:
Create http request
Parse url

Disassembly:
push 0x50
mov eax, 0x4a1d25
call fcn.0049fa2f
mov esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [esi + 0xc]
mov edi, dword [ebp + 0xc]
xor ecx, ecx
push 0x3c
push ecx
push eax
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
call dword [sym.imp.VCRUNTIME140.dll_memset]
or ecx, 0xffffffff
lea eax, [esi + 0xc]
mov dword [esi + 0x14], ecx
add esp, 0xc
mov dword [esi + 0x20], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x44], ecx
mov ecx, 0xffff
mov dword [eax], 0x3c
mov word [esi + 0x24], cx
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x475a6a
mov ebx, dword [ebx]
push eax
push 0
push ecx
push ebx
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
test eax, eax
jne 0x475ad3
mov eax, dword [0x4cafd4]
lea ecx, [ebp - 0x40]
push 0x4adacc
mov eax, dword [eax]
mov edi, dword [eax + 0x40]
call fcn.00417604
mov esi, eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push str.InternetCrackUrl_call_failed
call fcn.00417604
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call dword [0x4a75c0]
mov ecx, dword [0x4cafd4]
call edi
lea ecx, [ebp - 0x28]
call fcn.0046a23d
lea ecx, [ebp - 0x40]
call fcn.0046a23d
xor al, al
jmp 0x475c1b
push dword [esi + 0x1c]
lea ecx, [ebp - 0x28]
call fcn.00417604
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
push dword [esi + 0x20]
push 0
push ecx
mov ecx, eax
call fcn.00417604
push eax
lea ecx, [esi + 0x48]
call fcn.00417604
lea ecx, [ebp - 0x40]
call fcn.0046d98d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0046d98d
push dword [esi + 0x38]
lea ecx, [ebp - 0x28]
call fcn.00417604
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
push dword [esi + 0x3c]
push 0
push ecx
mov ecx, eax
call fcn.00417604
push eax
lea ecx, [esi + 0x60]
call fcn.00417604
lea ecx, [ebp - 0x40]
call fcn.0046d98d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0046d98d
cmp dword [esi + 0x44], 0
jbe 0x475ba6
push dword [esi + 0x40]
lea ecx, [ebp - 0x28]
call fcn.00417604
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x40]
push dword [esi + 0x44]
push 0
push ecx
mov ecx, eax
call fcn.00417604
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x475b88
mov eax, dword [eax]
push edx
push eax
lea ecx, [esi + 0x60]
call fcn.00472323
lea ecx, [ebp - 0x40]
call fcn.0046d98d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0046d98d
cmp dword [edi + 0x14], 8
jb 0x475bae
mov edi, dword [edi]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.wininet.dll_InternetOpenW]
mov dword [esi], eax
test eax, eax
je 0x475acc
push 0x487350
push eax
call dword [sym.imp.wininet.dll_InternetSetStatusCallbackW]
mov ecx, dword [ebp + 0x18]
mov edx, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x475bde
mov edx, dword [ecx]
mov eax, dword [ecx + 0x10]
add eax, edx
cmp dword [ecx + 0x14], 0x10
jb 0x475beb
mov ecx, dword [ecx]
push dword [ebp - 0x5c]
mov dword [ebp - 0x58], ebx
push eax
push ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 7
call fcn.004752b2
lea eax, [ebp - 0x58]
push eax
lea ecx, [esi + 0x78]
call fcn.00417604
lea ecx, [ebp - 0x58]
call fcn.0046d98d
mov al, 1
call fcn.0049f9de
ret 0x14