Function at 0x42d4d6
Capabilities:
Parse url
Send data
Send http request

Disassembly:
mov eax, 0x5913ab
call fcn.0058e54c
mov eax, 0x1774
call fcn.004acba0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
push edi
mov edi, edx
mov dword [ebp - 0x10], edi
test esi, esi
je 0x42d5d9
cmp byte [esi], 0
je 0x42d5d9
push 0x3c
xor ebx, ebx
lea eax, [ebp - 0x60]
push ebx
push eax
mov dword [ebp - 0x18], ebx
call fcn.004c3e40
add esp, 0xc
mov dword [ebp - 0x60], 0x3c
lea eax, [ebp - 0x1380]
mov ecx, 0x400
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x1780]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x30], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x42d5d9
movzx eax, word [ebp - 0x48]
push 0x3c
mov dword [ebp - 0x14], eax
call fcn.004ab800
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0042cf7a
or dword [ebp - 4], 0xffffffff
mov ebx, eax
test ebx, ebx
je 0x42d5d9
push edi
lea ecx, [ebp - 0x24]
call fcn.004377ba
mov ecx, dword [ebx + 0x34]
mov esi, eax
mov edx, dword [esi]
mov dword [esi], ecx
mov dword [ebx + 0x34], edx
mov ecx, dword [esi + 4]
mov eax, dword [ebx + 0x38]
mov dword [esi + 4], eax
mov dword [ebx + 0x38], ecx
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x42d5a8
call fcn.0040fc2e
mov ecx, dword [edi]
mov esi, 0x601298
cmp dword [0x6012ac], 0x10
cmovae esi, dword [0x601298]
mov eax, dword [ecx]
call dword [eax + 4]
mov dl, al
mov ecx, esi
call fcn.0042d41c
mov dword [ebx], eax
test eax, eax
jne 0x42d5ea
push ecx
mov ecx, ebx
call fcn.0042d3e1
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push dword [ebp - 0x14]
lea edx, [ebp - 0x1380]
mov ecx, ebx
call fcn.0042d468
mov dword [ebx + 4], eax
pop ecx
test eax, eax
je 0x42d5d1
xor eax, eax
mov ecx, 0x800000
cmp dword [ebp - 0x54], 4
push ebx
cmove eax, ecx
mov dword [ebx + 0x1c], 1
mov ecx, dword [edi]
or eax, 0x84000200
push eax
xor esi, esi
lea eax, [ebp - 0x1780]
push esi
push esi
push esi
push eax
mov eax, dword [ecx]
call dword [eax + 0x20]
push eax
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42d65a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42d5d1
push 0xffffffffffffffff
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x400
lea eax, [ebp - 0xf80]
push esi
push eax
call fcn.004c3e40
mov ecx, dword [edi]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x18]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x42d717
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 0x14]
test eax, eax
jne 0x42d6a9
push str.Content_Type:_text_html_n_n
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.0043577d
add esp, 0xc
jmp 0x42d6ca
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
push str.Content_Type:__s_n_n
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.0043577d
add esp, 0x10
push 0x400
lea edx, [ebp - 0x460]
lea ecx, [ebp - 0xf80]
call fcn.0043552a
mov ecx, esi
call fcn.004356c1
push eax
push str.Content_Length:__d_n
mov dword [ebp - 0x18], eax
mov esi, 0x400
lea eax, [ebp - 0x460]
push esi
push eax
call fcn.0043577d
push esi
lea edx, [ebp - 0x460]
lea ecx, [ebp - 0xf80]
call fcn.0043552a
add esp, 0x18
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, eax
mov esi, dword [edx]
mov ecx, esi
mov eax, dword [edx + 4]
and ecx, eax
cmp ecx, 0xffffffff
jne 0x42d73b
mov eax, dword [edx + 8]
and eax, dword [edx + 0xc]
cmp eax, ecx
je 0x42d783
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
cmp eax, edx
jl 0x42d753
jg 0x42d5d1
cmp esi, ecx
ja 0x42d5d1
push edx
push ecx
push eax
push esi
push str.Range:_bytes_lld__lld_n
mov esi, 0x400
lea eax, [ebp - 0x460]
push esi
push eax
call fcn.0043577d
push esi
lea edx, [ebp - 0x460]
lea ecx, [ebp - 0xf80]
call fcn.0043552a
add esp, 0x20
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x42d845
cmp byte [eax], 0
je 0x42d845
cmp dword [esi + 4], 0
je 0x42d845
push dword [esi + 4]
lea ecx, [ebp - 0xb80]
call fcn.0043580a
mov edi, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x920]
push dword [esi]
call fcn.0043580a
mov esi, eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c0]
mov byte [ebp - 4], 2
call fcn.0043580a
push dword [edi + 4]
push dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.WININET.dll_InternetSetCookieW]
lea eax, [ebp - 0x6b8]
cmp dword [ebp - 0x6bc], eax
je 0x42d80a
push dword [ebp - 0x6bc]
call fcn.004ab853
pop ecx
lea eax, [ebp - 0x918]
cmp dword [ebp - 0x91c], eax
je 0x42d824
push dword [ebp - 0x91c]
call fcn.004ab853
pop ecx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xb78]
cmp dword [ebp - 0xb7c], eax
je 0x42d842
push dword [ebp - 0xb7c]
call fcn.004ab853
pop ecx
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x42d8c1
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi]
mov esi, dword [eax]
mov eax, dword [ecx]
mov esi, dword [esi]
mov dword [ebp - 0x10], esi
call dword [eax + 0x10]
jmp 0x42d8bd
lea eax, [esi + 0x28]
cmp dword [eax + 0x14], 0x10
jb 0x42d872
mov eax, dword [eax]
add esi, 0x10
cmp dword [esi + 0x14], 0x10
jb 0x42d87d
mov esi, dword [esi]
push eax
push esi
push str._s:__s_n
mov esi, 0x400
lea eax, [ebp - 0x460]
push esi
push eax
call fcn.0043577d
push esi
lea edx, [ebp - 0x460]
lea ecx, [ebp - 0xf80]
call fcn.0043552a
add esp, 0x18
lea ecx, [ebp - 0x10]
call fcn.0040e300
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x10]
cmp esi, dword [eax]
jne 0x42d867
push dword [ebp - 0x18]
lea eax, [ebp - 0xf80]
push dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x42d8ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42d5d1
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x38]
test al, al
je 0x42d900
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 0x44]
mov al, 1
jmp 0x42d5db