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

Disassembly:
sub esp, 0x420
mov eax, dword [0x5af710]
mov ecx, dword [esp + 0x430]
push ebp
xor ebp, ebp
mov dword [esp + 0x420], eax
mov eax, dword [esp + 0x430]
push esi
mov esi, dword [esp + 0x42c]
mov dword [eax], ebp
mov byte [ecx], 0
cmp dword [esi + 0x1b8], ebp
push edi
mov edi, dword [esp + 0x434]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
jne 0x519073
pop edi
pop esi
mov eax, 3
pop ebp
mov ecx, dword [esp + 0x41c]
call fcn.0053aaae
add esp, 0x420
ret
push ebx
push 1
push 0x350
call dword [0x5ae5f8]
mov ebx, eax
add esp, 8
cmp ebx, ebp
jne 0x5190a8
mov dword [edi], ebp
mov eax, 0x1b
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x41c]
call fcn.0053aaae
add esp, 0x420
ret
mov dword [edi], ebx
or edi, 0xffffffff
mov dword [ebx], esi
mov dword [ebx + 0xa0], edi
mov dword [ebx + 0xa4], edi
mov dword [ebx + 4], edi
mov eax, dword [esi + 0x1c0]
cmp eax, ebp
je 0x5190dc
cmp byte [eax], 0
je 0x5190dc
cmp dword [esi + 0x158], ebp
jne 0x5190dc
mov ecx, 1
jmp 0x5190de
xor ecx, ecx
lea eax, [ebx + 0xe7]
mov dword [esp + 0x1c], eax
mov byte [eax], cl
mov byte [ebx + 0xe4], 1
mov dword [ebx + 0xa8], edi
mov dword [ebx + 0xac], edi
call fcn.005221e0
mov dword [ebx + 0x9c], edx
mov dword [ebx + 0x98], eax
cmp dword [esi + 0x48], ebp
setne dl
mov byte [ebx + 0xec], dl
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x70], eax
mov ecx, dword [esi + 0xb8]
mov dword [ebx + 0x78], ecx
mov edx, dword [esi + 0xbc]
mov dword [ebx + 0x7c], edx
cmp dword [esi + 0x3c], ebp
setne al
mov byte [ebx + 0xe8], al
cmp dword [esi + 0x1c], ebp
setne cl
mov byte [ebx + 0xe9], cl
mov dl, byte [esi + 0x193]
mov byte [ebx + 0xf5], dl
mov al, byte [esi + 0x186]
mov byte [ebx + 0xf6], al
mov cl, byte [esi + 0x1a5]
mov byte [ebx + 0xf9], cl
mov dl, byte [esi + 0x1a6]
mov byte [ebx + 0xfa], dl
mov al, byte [esi + 0x1a7]
mov byte [ebx + 0xfb], al
mov eax, dword [esi + 0x1b8]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x519190
sub eax, edx
cmp eax, 0x100
jae 0x5191a5
mov eax, 0x100
lea edi, [eax + 2]
push edi
call dword [0x5ae5e8]
add esp, 4
cmp eax, ebp
mov dword [ebx + 0x4c], eax
je 0x51908c
push edi
mov dword [ebx + 0x50], eax
call dword [0x5ae5e8]
add esp, 4
cmp eax, ebp
mov dword [ebx + 0x2c], eax
je 0x51908c
mov dword [ebx + 0x34], eax
mov byte [eax], 0
mov ecx, dword [ebx + 0x50]
mov edx, dword [esi + 0x1b8]
push ecx
lea edi, [ebx + 0x18]
push edi
push str._15_:_:___n_
push edx
call fcn.0053ecb1
add esp, 0x10
cmp eax, 2
jne 0x5192a1
push str.file
push edi
call fcn.0051fb70
add esp, 8
test eax, eax
je 0x5192a1
mov edi, dword [ebx + 0x50]
cmp byte [edi], 0x2f
jne 0x519245
cmp byte [edi + 1], 0x2f
jne 0x519245
lea edx, [edi + 2]
mov eax, edx
lea ebp, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x519230
sub eax, ebp
inc eax
push eax
push edx
push edi
call fcn.0053ab10
add esp, 0xc
mov eax, dword [ebx + 0x50]
cmp byte [eax], 0x2f
je 0x519288
push 0x2f
push eax
call fcn.0053dc90
mov edi, eax
add esp, 8
test edi, edi
je 0x519288
mov al, byte [edi + 1]
test al, al
je 0x51926a
cmp al, 0x2f
jne 0x51926a
inc edi
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x519270
mov eax, dword [ebx + 0x50]
sub ecx, edx
inc ecx
push ecx
push edi
push eax
call fcn.0053ab10
add esp, 0xc
mov ecx, dword [str.file]
lea eax, [ebx + 0x18]
mov dword [eax], ecx
mov dl, byte [0x57e690]
mov byte [eax + 4], dl
jmp 0x51940c
mov eax, dword [ebx + 0x50]
mov byte [eax], 0
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x34]
mov eax, dword [esi + 0x1b8]
push ecx
push edx
push edi
push str._15__n:_:_____n_____n_
push eax
call fcn.0053ecb1
add esp, 0x14
cmp eax, 2
jge 0x51940c
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x34]
mov eax, dword [esi + 0x1b8]
push ecx
push edx
push str.___n_____n_
push eax
call fcn.0053ecb1
add esp, 0x10
cmp eax, 1
jge 0x519318
push str._url__malformed
push esi
call fcn.00521d00
add esp, 8
pop ebx
pop edi
pop esi
mov eax, 3
pop ebp
mov ecx, dword [esp + 0x41c]
call fcn.0053aaae
add esp, 0x420
ret
mov ecx, dword [ebx + 0x34]
push 7
push ecx
push str.GOPHER.
call fcn.0051fb90
add esp, 0xc
test eax, eax
je 0x51934f
mov edx, dword [str.gopher]
mov dword [edi], edx
mov ax, word [0x583388]
mov word [edi + 4], ax
mov cl, byte [0x58338a]
mov byte [edi + 6], cl
jmp 0x519408
mov edx, dword [ebx + 0x34]
push 4
push edx
push str.FTP.
call fcn.0051fb90
add esp, 0xc
test eax, eax
je 0x519371
mov dword [edi], 0x707466
jmp 0x519408
mov eax, dword [ebx + 0x34]
push 7
push eax
push str.TELNET.
call fcn.0051fb90
add esp, 0xc
test eax, eax
je 0x5193a5
mov ecx, dword [str.telnet]
mov dword [edi], ecx
mov dx, word [0x583370]
mov word [edi + 4], dx
mov al, byte [0x583372]
mov byte [edi + 6], al
jmp 0x519408
mov ecx, dword [ebx + 0x34]
push 5
push ecx
push str.DICT.
call fcn.0051fb90
add esp, 0xc
test eax, eax
je 0x5193ce
mov edx, dword [str.DICT]
mov dword [edi], edx
mov al, byte [0x583360]
mov byte [edi + 4], al
jmp 0x519408
mov ecx, dword [ebx + 0x34]
push 5
push ecx
push str.LDAP.
call fcn.0051fb90
add esp, 0xc
test eax, eax
je 0x5193f7
mov edx, dword [str.LDAP]
mov dword [edi], edx
mov al, byte [0x583350]
mov byte [edi + 4], al
jmp 0x519408
mov ecx, dword [str.http]
mov dword [edi], ecx
mov dl, byte [0x583348]
mov byte [edi + 4], dl
or dword [ebx + 8], 1
mov eax, dword [ebx + 0x34]
push 0x40
push eax
call fcn.0053dc90
add esp, 8
test eax, eax
push 0x3f
je 0x519424
inc eax
push eax
jmp 0x519428
mov ecx, dword [ebx + 0x34]
push ecx
call fcn.0053dc90
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x519495
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x519440
mov esi, dword [ebx + 0x50]
sub eax, edx
mov edi, eax
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x519453
sub eax, ecx
inc eax
push eax
lea edx, [esi + edi + 1]
push esi
push edx
call fcn.0053ab10
mov ecx, edi
mov edi, dword [ebx + 0x50]
mov eax, ecx
shr ecx, 2
add esp, 0xc
inc edi
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x50]
mov esi, dword [esp + 0x434]
mov byte [ecx], 0x2f
mov byte [ebp], 0
jmp 0x5194a2
mov eax, dword [ebx + 0x50]
cmp byte [eax], 0
jne 0x5194a2
mov word [eax], 0x2f
mov edi, dword [ebx + 0x50]
cmp byte [edi], 0x3f
jne 0x5194cc
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5194b0
sub eax, edx
inc eax
push eax
push edi
inc edi
push edi
call fcn.0053ab10
mov edx, dword [ebx + 0x50]
add esp, 0xc
mov byte [edx], 0x2f
mov al, byte [ebx + 0xe9]
test al, al
je 0x519562
xor eax, eax
mov byte [esp + 0x2c], 0
mov ecx, 0x3f
lea edi, [esp + 0x2d]
rep stosd dword es:[edi], eax
mov edx, dword [esi + 0x1c]
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x32c], 0
mov ecx, 0x3f
lea edi, [esp + 0x32d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x32c]
push eax
lea ecx, [esp + 0x30]
push ecx
push str._255_:_:_255__n_
push edx
call fcn.0053ecb1
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.0052d5d0
add esp, 0x18
test eax, eax
mov dword [ebx + 0x88], eax
je 0x51908c
lea ecx, [esp + 0x32c]
push 0
push ecx
call fcn.0052d5d0
add esp, 8
test eax, eax
mov dword [ebx + 0x8c], eax
je 0x51908c
mov eax, dword [esi + 0x1c0]
test eax, eax
jne 0x519786
push str.no_proxy
call fcn.0052d5c0
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x10], ebp
jne 0x5195a2
push str.NO_PROXY
call fcn.0052d5c0
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x519678
push ebp
push 0x574530
call fcn.0051fb70
add esp, 8
test eax, eax
jne 0x519778
test ebp, ebp
je 0x519678
lea edx, [esp + 0x24]
push edx
push 0x583314
push ebp
call fcn.0052d4b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x519678
lea ecx, [ecx]
mov eax, dword [ebx + 0x34]
push 0x3a
push eax
call fcn.0053dc90
mov esi, dword [ebx + 0x34]
add esp, 8
test eax, eax
je 0x5195f9
sub eax, esi
jmp 0x519609
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x519600
sub eax, edx
mov edx, eax
mov eax, edi
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x519610
sub eax, ebp
cmp eax, edx
ja 0x51964c
mov eax, edi
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x519622
sub eax, ebp
sub esi, eax
mov eax, edi
add esi, edx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x519634
sub eax, edx
push eax
push esi
push edi
call fcn.0051fb90
add esp, 0xc
test eax, eax
jne 0x51966c
lea ecx, [esp + 0x24]
push ecx
push 0x583314
push 0
call fcn.0052d4b0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x5195e0
jmp 0x519674
test edi, edi
jne 0x519774
mov ebp, dword [esp + 0x10]
mov al, byte [ebx + 0x18]
test al, al
lea edi, [ebx + 0x18]
lea esi, [esp + 0x2c]
je 0x5196a7
mov edx, esi
sub edi, edx
lea ebx, [ebx]
movsx eax, al
push eax
call fcn.0053ec79
add esp, 4
mov byte [esi], al
mov al, byte [edi + esi + 1]
inc esi
test al, al
jne 0x519690
mov eax, dword [str._proxy]
mov cx, word [0x583310]
mov dl, byte [0x583312]
mov dword [esi], eax
lea eax, [esp + 0x2c]
mov word [esi + 4], cx
push eax
mov byte [esi + 6], dl
call fcn.0052d5c0
add esp, 4
test eax, eax
jne 0x51971c
lea ecx, [esp + 0x2c]
push ecx
push str.http_proxy
call fcn.0051fb70
add esp, 8
test eax, eax
jne 0x519721
mov al, byte [esp + 0x2c]
test al, al
lea esi, [esp + 0x2c]
je 0x51970b
movsx edx, byte [esi]
push edx
call fcn.0053edae
add esp, 4
mov byte [esi], al
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x5196f5
lea eax, [esp + 0x2c]
push eax
call fcn.0052d5c0
add esp, 4
test eax, eax
je 0x519721
cmp byte [eax], 0
jne 0x51973f
push str.all_proxy
call fcn.0052d5c0
add esp, 4
test eax, eax
jne 0x519743
push str.ALL_PROXY
call fcn.0052d5c0
add esp, 4
test eax, eax
je 0x519778
cmp byte [eax], 0
je 0x519778
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x434]
mov dword [edx + 0x1c0], eax
mov byte [edx + 0x1c4], 1
mov edx, dword [esp + 0x1c]
and ecx, 0x408
or ecx, 4
mov byte [edx], 1
mov dword [ebx + 8], ecx
jmp 0x519778
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x519786
push ebp
call dword [0x5ae5ec]
add esp, 4
test byte [ebx + 8], 1
je 0x5197c4
mov esi, dword [esp + 0x434]
mov eax, dword [esi + 0x1b8]
push eax
lea eax, [ebx + 0x18]
push eax
push str._s:___s
call fcn.00520e70
add esp, 0xc
test eax, eax
je 0x51908c
mov dword [esi + 0x1b8], eax
mov byte [esi + 0x1bc], 1
and dword [ebx + 8], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
mov ebp, dword [esp + 0x434]
mov edx, eax
xor edi, edi
or edx, ecx
je 0x51980b
mov dl, byte [ebx + 0xec]
test dl, dl
jne 0x51980b
push ecx
push eax
push str._lld_
call fcn.00520e70
add esp, 0xc
cmp eax, edi
mov dword [ebx + 0x70], eax
je 0x51908c
mov byte [ebx + 0xed], 1
mov byte [ebx + 0xec], 1
push str.HTTP
lea esi, [ebx + 0x18]
push esi
mov dword [ebx + 0x28], 1
call fcn.0051fb70
add esp, 8
test eax, eax
je 0x519860
mov eax, 0x50
mov dword [ebx + 0x54], eax
mov word [ebx + 0x58], ax
or dword [ebx + 8], 4
mov dword [ebx + 0x100], 0x52bc80
mov dword [ebx + 0x108], edi
mov dword [ebx + 0x104], 0x52b880
mov dword [ebx + 0x10c], 0x52d430
jmp 0x519c6c
push str.HTTPS
push esi
call fcn.0051fb70
add esp, 8
test eax, eax
je 0x51989c
push str.libcurl_was_built_with_SSL_disabled__https:_not_supported_
push ebp
call fcn.00521d00
add esp, 8
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x41c]
call fcn.0053aaae
add esp, 0x420
ret
push str.GOPHER
push esi
call fcn.0051fb70
add esp, 8
test eax, eax
je 0x51990d
mov eax, 0x46
mov dword [ebx + 0x54], eax
mov word [ebx + 0x58], ax
mov eax, dword [ebx + 0x50]
movsx ecx, byte [eax + 1]
push ecx
call fcn.0053eabf
add esp, 4
test eax, eax
je 0x5198ea
mov edx, dword [ebx + 0x50]
inc edx
push 0x2f
push edx
call fcn.0053dc90
add esp, 8
cmp eax, edi
mov dword [ebx + 0x50], eax
jne 0x5198ea
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x50], eax
or dword [ebx + 8], 2
mov dword [ebx + 0x100], 0x52bc80
mov dword [ebx + 0x108], edi
mov dword [ebx + 0x104], 0x52b880
jmp 0x519c6c
push 0x583280
push esi
call fcn.0051fb70
add esp, 8
test eax, eax
jne 0x519b2d
push str.FTPS
push esi
call fcn.0051fb70
add esp, 8
test eax, eax
jne 0x519b2d
push str.TELNET
push esi
call fcn.0051fb70
add esp, 8
test eax, eax
je 0x519974
or dword [ebx + 8], 0x20
mov eax, 0x17
mov dword [ebx + 0x54], eax
mov word [ebx + 0x58], ax
mov dword [ebx + 0x100], 0x52a9d0
mov dword [ebx + 0x104], 0x52a820
jmp 0x519c6c
push str.DICT
push esi
call fcn.0051fb70
add esp, 8
test eax, eax
je 0x5199ab
or dword [ebx + 8], 0x40
mov eax, 0xa44
mov dword [ebx + 0x54], eax
mov word [ebx + 0x58], ax
mov dword [ebx + 0x100], 0x5294d0
mov dword [ebx + 0x104], edi
jmp 0x519c6c
push str.LDAP
push esi
call fcn.0051fb70
add esp, 8
test eax, eax
je 0x5199e5
or dword [ebx + 8], 0x80
mov eax, 0x185
mov dword [ebx + 0x54], eax
mov word [ebx + 0x58], ax
mov dword [ebx + 0x100], 0x528ed0
mov dword [ebx + 0x104], edi
jmp 0x519c6c
push str.FILE
push esi
call fcn.0051fb70
add esp, 8
test eax, eax
je 0x519a5a
mov ebp, dword [ebx + 8]
or ebp, 0x100
push ebx
mov dword [ebx + 8], ebp
mov dword [ebx + 0x100], 0x5286b0
mov dword [ebx + 0x104], 0x528500
call fcn.00528970
add esp, 4
cmp eax, edi
jne 0x519091
push edi
push 0xffffffffffffffff
push edi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
mov byte [ebx + 0xf2], 1
call fcn.0051e210
add esp, 0x20
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x41c]
call fcn.0053aaae
add esp, 0x420
ret
push str.TFTP
push esi
call fcn.0051fb70
add esp, 8
test eax, eax
je 0x519b02
or dword [ebx + 8], 0x800
mov ecx, dword [ebx + 0x50]
mov eax, 0x45
push str._mode
push ecx
mov dword [ebx + 0x28], 2
mov dword [ebx + 0x54], eax
mov word [ebx + 0x58], ax
mov dword [ebx + 0x10c], 0x527e80
mov dword [ebx + 0x100], 0x5281c0
mov dword [ebx + 0x104], 0x527f30
call fcn.0053c3a0
add esp, 8
cmp eax, edi
jne 0x519ad6
mov edx, dword [ebx + 0x2c]
push str._mode
push edx
call fcn.0053c3a0
add esp, 8
cmp eax, edi
je 0x519c6c
mov byte [eax], 0
movsx eax, byte [eax + 6]
push eax
call fcn.0053edae
add esp, 4
cmp al, 0x41
je 0x519c65
cmp al, 0x4e
je 0x519c65
mov byte [ebp + 0x188], 0
jmp 0x519c6c
push esi
push str.Unsupported_protocol:__s
push ebp
call fcn.00521d00
add esp, 0xc
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x41c]
call fcn.0053aaae
add esp, 0x420
ret
push str.FTPS
push esi
call fcn.0051fb70
add esp, 8
test eax, eax
je 0x519b69
push str.libcurl_was_built_with_SSL_disabled__ftps:_not_supported_
push ebp
call fcn.00521d00
add esp, 8
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x41c]
call fcn.0053aaae
add esp, 0x420
ret
mov edx, dword [ebx + 8]
mov eax, 0x15
or edx, 0x10
mov dword [ebx + 0x54], eax
mov word [ebx + 0x58], ax
mov dword [ebx + 8], edx
mov eax, dword [ebp + 0x1c0]
cmp eax, edi
je 0x519bb4
cmp byte [eax], 0
je 0x519bb4
mov al, byte [ebp + 0x186]
test al, al
jne 0x519bb4
mov dword [ebx + 0x100], 0x52bc80
mov dword [ebx + 0x104], 0x52b880
mov dword [ebx + 8], 4
jmp 0x519c0b
mov eax, 0x524100
mov dword [ebx + 0x100], 0x5279e0
mov dword [ebx + 0x108], fcn.00527620
mov dword [ebx + 0x104], fcn.00526980
mov dword [ebx + 0x10c], 0x5274d0
mov dword [ebx + 0x110], fcn.00527370
mov dword [ebx + 0x114], 0x5278e0
mov dword [ebx + 0x118], eax
mov dword [ebx + 0x11c], eax
mov dword [ebx + 0x120], 0x5277d0
mov edx, dword [ebx + 0x50]
inc edx
mov eax, edx
push str._type
push eax
mov dword [ebx + 0x50], edx
call fcn.0053c3a0
add esp, 8
cmp eax, edi
jne 0x519c3b
mov ecx, dword [ebx + 0x2c]
push str._type
push ecx
call fcn.0053c3a0
add esp, 8
cmp eax, edi
je 0x519c6c
movsx edx, byte [eax + 6]
push edx
mov byte [eax], 0
call fcn.0053edae
add esp, 4
cmp al, 0x41
je 0x519c65
cmp al, 0x44
je 0x519c5c
mov byte [ebp + 0x188], 0
jmp 0x519c6c
mov byte [ebp + 0x189], 1
jmp 0x519c6c
mov byte [ebp + 0x188], 1
mov eax, dword [ebp + 0x1c0]
cmp eax, edi
je 0x519e1c
cmp byte [eax], 0
je 0x519e1c
push eax
call dword [0x5ae5f4]
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x10], ebp
mov edi, ebp
jne 0x519cb3
mov eax, dword [esp + 0x434]
push str.memory_shortage
push eax
call fcn.00521d00
add esp, 8
jmp 0x51908c
push 0x5831ec
push ebp
call fcn.0053c3a0
add esp, 8
test eax, eax
je 0x519cc8
lea edi, [eax + 3]
push 0x40
push edi
call fcn.0053dc90
mov esi, eax
add esp, 8
test esi, esi
je 0x519d78
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x330]
push edx
push str._255_:_:_255___
push edi
call fcn.0053ecb1
add esp, 0x10
cmp eax, 2
jne 0x519d78
mov eax, dword [ebx + 0x88]
push eax
call fcn.00518310
lea ecx, [esp + 0x330]
push 0
push ecx
call fcn.0052d5d0
add esp, 0xc
test eax, eax
mov dword [ebx + 0x88], eax
je 0x519dd6
mov edx, dword [ebx + 0x8c]
push edx
call fcn.00518310
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0052d5d0
add esp, 0xc
test eax, eax
mov dword [ebx + 0x8c], eax
je 0x519dd6
inc esi
push esi
mov byte [ebx + 0xe9], 1
call dword [0x5ae5f4]
mov edi, eax
add esp, 4
test edi, edi
je 0x519dd6
push ebp
call dword [0x5ae5ec]
add esp, 4
mov dword [esp + 0x10], edi
cmp byte [edi], 0x5b
mov ebp, edi
jne 0x519db8
mov al, byte [edi + 1]
inc edi
test al, al
mov esi, edi
je 0x519dad
lea esp, [esp]
movsx ecx, byte [esi]
push ecx
call fcn.0053eaf9
add esp, 4
test eax, eax
jne 0x519da5
cmp byte [esi], 0x3a
jne 0x519dad
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x519d90
cmp byte [esi], 0x5d
jne 0x519db8
mov byte [esi], 0
lea ebp, [esi + 1]
push 0x3a
push ebp
call fcn.0053dc90
add esp, 8
test eax, eax
je 0x519de5
mov byte [eax], 0
inc eax
push eax
call fcn.0053c6a5
add esp, 4
jmp 0x519df3
push ebp
call dword [0x5ae5ec]
add esp, 4
jmp 0x51908c
mov edx, dword [esp + 0x434]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x519df6
mov dword [ebx + 0x54], eax
push edi
call dword [0x5ae5f4]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x14]
push eax
call dword [0x5ae5ec]
mov eax, dword [ebx + 0x3c]
add esp, 8
test eax, eax
je 0x51908c
mov eax, dword [ebx + 8]
test ah, 4
je 0x519e34
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], 0
je 0x519e34
mov byte [ebx + 0xf6], 1
mov byte [esp + 0x22c], 0
mov byte [esp + 0x12c], 0
test byte [ebx + 8], 0x14
je 0x519f74
mov edx, dword [ebx + 0x34]
push 0x40
push edx
call fcn.0053dc90
mov ecx, dword [ebx + 0x34]
add esp, 8
test eax, eax
je 0x519f74
inc eax
mov dword [ebx + 0x34], eax
mov eax, dword [esp + 0x434]
cmp dword [eax + 0x198], 2
je 0x519f74
mov byte [ebx + 0xe8], 1
cmp byte [ecx], 0x3a
lea edx, [esp + 0x12c]
push edx
je 0x519eab
lea eax, [esp + 0x230]
push eax
push str._127_:__:_127___
push ecx
call fcn.0053ecb1
add esp, 0x10
jmp 0x519eb9
push str.:_127___
push ecx
call fcn.0053ecb1
add esp, 0xc
mov al, byte [esp + 0x22c]
test al, al
je 0x519f14
lea eax, [esp + 0x22c]
push 0
push eax
call fcn.0052d5d0
add esp, 8
test eax, eax
je 0x51908c
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x519ee3
sub ecx, esi
cmp ecx, 0x100
jae 0x519f0a
lea esi, [esp + 0x22c]
mov ecx, eax
sub esi, eax
nop
mov dl, byte [ecx]
mov byte [ecx + esi], dl
inc ecx
test dl, dl
jne 0x519f00
push eax
call dword [0x5ae5ec]
add esp, 4
mov al, byte [esp + 0x12c]
test al, al
je 0x519f74
lea ecx, [esp + 0x12c]
push 0
push ecx
call fcn.0052d5d0
add esp, 8
test eax, eax
je 0x51908c
mov ecx, eax
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x519f40
sub ecx, esi
cmp ecx, 0x100
jae 0x519f6a
lea esi, [esp + 0x12c]
mov ecx, eax
sub esi, eax
lea esp, [esp]
mov dl, byte [ecx]
mov byte [ecx + esi], dl
inc ecx
test dl, dl
jne 0x519f60
push eax
call dword [0x5ae5ec]
add esp, 4
mov eax, dword [ebx + 0x34]
lea edx, [esp + 0x17]
push edx
push str.__39_0_9a_fA_F:.__c
push eax
call fcn.0053ecb1
add esp, 0xc
cmp eax, 1
jne 0x519fc2
cmp byte [esp + 0x17], 0x5d
jne 0x519fc2
mov ebp, dword [ebx + 0x34]
inc ebp
mov eax, ebp
push 0x5d
push eax
mov byte [ebx + 0xea], 1
mov dword [ebx + 0x34], ebp
call fcn.0053dc90
mov esi, eax
add esp, 8
mov byte [esi], 0
mov al, byte [esi + 1]
inc esi
cmp al, 0x3a
je 0x519fd2
xor esi, esi
jmp 0x519fd2
mov ecx, dword [ebx + 0x34]
push 0x3a
push ecx
call fcn.0053d750
add esp, 8
mov esi, eax
mov ebp, dword [esp + 0x434]
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x51a053
mov al, byte [ebp + 0x8314]
test al, al
je 0x51a053
test esi, esi
mov dx, word [ebp + 0x38]
mov word [ebx + 0x58], dx
je 0x519ff9
mov byte [esi], 0
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x51a0b0
mov ecx, dword [ebx + 0x50]
movzx edx, word [ebx + 0x58]
mov eax, dword [ebx + 0x34]
push ecx
push edx
push eax
push str.http:___s:_d_s
call fcn.00520e70
mov esi, eax
add esp, 0x10
test esi, esi
je 0x51908c
mov al, byte [ebp + 0x1bc]
test al, al
je 0x51a044
mov ecx, dword [ebp + 0x1b8]
push ecx
call dword [0x5ae5ec]
add esp, 4
mov dword [ebp + 0x1b8], esi
mov byte [ebp + 0x1bc], 1
jmp 0x51a0b0
test esi, esi
je 0x51a0b0
push 0xa
lea edx, [esp + 0x28]
push edx
lea edi, [esi + 1]
push edi
call fcn.00540451
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp ecx, edi
je 0x51a0b0
cmp byte [ecx], 0
jne 0x51a0b0
cmp eax, 0xffff
jbe 0x51a0a9
push eax
push str.Port_number_too_large:__lu
push ebp
call fcn.00521d00
add esp, 0xc
pop ebx
pop edi
pop esi
mov eax, 3
pop ebp
mov ecx, dword [esp + 0x41c]
call fcn.0053aaae
add esp, 0x420
ret
mov byte [esi], 0
mov word [ebx + 0x58], ax
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x51a0d5
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x230]
push edx
push str._255_:_:_255__n_
push eax
call fcn.0053ecb1
add esp, 0x10
mov byte [ebx + 0xfc], 0
mov eax, dword [ebp + 0x198]
test eax, eax
je 0x51a12f
mov eax, dword [ebp + 0x19c]
push eax
mov eax, dword [ebx + 0x34]
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x234]
push edx
push eax
call fcn.00523550
add esp, 0x10
test eax, eax
je 0x51a121
mov ecx, dword [ebx + 0x34]
push ecx
push str.Couldnt_find_host__s_in_the__netrc_file__using_defaults_n
push ebp
call fcn.00521c20
add esp, 0xc
jmp 0x51a12f
mov byte [ebx + 0xfc], 1
mov byte [ebx + 0xe8], 1
test byte [ebx + 8], 0x10
je 0x51a157
mov al, byte [ebx + 0xe8]
test al, al
jne 0x51a157
push str.anonymous
call dword [0x5ae5f4]
mov dword [ebx + 0x80], eax
push str.curl_by_daniel_haxx.se
jmp 0x51a173
lea edx, [esp + 0x22c]
push edx
call dword [0x5ae5f4]
mov dword [ebx + 0x80], eax
lea eax, [esp + 0x130]
push eax
call dword [0x5ae5f4]
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x80]
add esp, 8
test eax, eax
je 0x51908c
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x51908c
mov esi, dword [esp + 0x434]
lea ebp, [ebx + 0xb4]
lea ecx, [esi + 0x128]
push ebp
push ecx
call fcn.00517d80
add esp, 8
test al, al
je 0x51908c
mov al, byte [esi + 0x1a3]
test al, al
je 0x51a1db
mov al, byte [esi + 0x82f8]
test al, al
je 0x51a456
lea edx, [esp + 0x28]
push edx
push esi
mov edi, ebx
call fcn.00518720
add esp, 8
test al, al
je 0x51a456
mov esi, ebx
mov ebx, dword [ebx + 0x3c]
xor edi, edi
cmp ebx, edi
je 0x51a208
push ebx
call dword [0x5ae5ec]
add esp, 4
push ebp
call fcn.00517e20
mov al, byte [esi + 0xe8]
mov ebx, dword [esp + 0x2c]
add esp, 4
test al, al
mov byte [ebx + 0xe8], al
je 0x51a264
mov eax, dword [ebx + 0x80]
push eax
call fcn.00518310
mov ecx, dword [ebx + 0x84]
push ecx
call fcn.00518310
mov edx, dword [esi + 0x80]
mov dword [ebx + 0x80], edx
mov eax, dword [esi + 0x84]
mov dword [ebx + 0x84], eax
add esp, 8
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov al, byte [esi + 0xe9]
test al, al
mov byte [ebx + 0xe9], al
je 0x51a2b3
mov ecx, dword [ebx + 0x88]
push ecx
call fcn.00518310
mov edx, dword [ebx + 0x8c]
push edx
call fcn.00518310
mov eax, dword [esi + 0x88]
mov dword [ebx + 0x88], eax
mov ecx, dword [esi + 0x8c]
mov dword [ebx + 0x8c], ecx
add esp, 8
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov al, byte [ebx + 0xe7]
test al, al
lea ebp, [ebx + 0xe7]
je 0x51a2ea
mov edx, dword [ebx + 0x2c]
push edx
call dword [0x5ae5ec]
lea eax, [esi + 0x2c]
mov ecx, dword [eax]
mov dword [ebx + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x34], ecx
mov edx, dword [eax + 0xc]
add esp, 4
mov dword [ebx + 0x38], edx
mov al, byte [esi + 0xf5]
mov byte [ebx + 0xf5], al
cmp byte [ebp], 0
jne 0x51a309
mov ecx, dword [esi + 0x2c]
push ecx
call dword [0x5ae5ec]
add esp, 4
mov edx, dword [ebx + 0x4c]
push edx
call dword [0x5ae5ec]
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x4c], eax
mov ecx, dword [esi + 0x50]
or eax, 0xffffffff
mov dword [ebx + 0x50], ecx
mov byte [ebx + 0xe5], 1
mov byte [ebx + 0xe6], 0
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
mov edx, dword [esi + 0x80]
push edx
call fcn.00518310
mov eax, dword [esi + 0x84]
push eax
call fcn.00518310
mov ecx, dword [esi + 0x88]
push ecx
call fcn.00518310
mov edx, dword [esi + 0x8c]
push edx
call fcn.00518310
mov al, byte [esi + 0xed]
add esp, 0x14
test al, al
je 0x51a386
mov eax, dword [esi + 0x70]
push eax
call dword [0x5ae5ec]
add esp, 4
push esi
call dword [0x5ae5ec]
mov esi, dword [esp + 0x438]
mov ecx, dword [esi + 0xb8]
mov dword [ebx + 0x78], ecx
mov edx, dword [esi + 0xbc]
mov eax, ecx
mov ecx, edx
add esp, 4
or eax, ecx
mov dword [ebx + 0x7c], edx
je 0x51a3f7
cmp byte [ebx + 0xed], 1
jne 0x51a3c7
mov ecx, dword [ebx + 0x70]
push ecx
call dword [0x5ae5ec]
add esp, 4
mov edx, dword [ebx + 0x7c]
mov eax, dword [ebx + 0x78]
push edx
push eax
push str._lld_
call fcn.00520e70
add esp, 0xc
cmp eax, edi
mov dword [ebx + 0x70], eax
je 0x51908c
mov byte [ebx + 0xec], 1
mov byte [ebx + 0xed], 1
jmp 0x51a42a
mov eax, dword [esi + 0x48]
cmp eax, edi
je 0x51a423
push eax
call dword [0x5ae5f4]
add esp, 4
cmp eax, edi
mov dword [ebx + 0x70], eax
je 0x51908c
mov byte [ebx + 0xed], 1
mov byte [ebx + 0xec], 1
jmp 0x51a42a
mov byte [ebx + 0xec], 0
mov ecx, dword [esp + 0x438]
mov dword [ecx], ebx
cmp byte [ebp], 0
je 0x51a43e
mov eax, dword [ebx + 0x48]
jmp 0x51a441
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 4]
push eax
push edx
push str.Re_using_existing_connection____ld__with_host__s_n
push esi
call fcn.00521c20
add esp, 0x10
jmp 0x51a46a
mov eax, esi
call fcn.005189a0
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x434]
xor edi, edi
mov eax, dword [esi + 0x80]
mov dword [ebx + 0x200], eax
test byte [ebx + 8], 4
mov ecx, dword [esi + 0x28]
mov dword [ebx + 0x204], ecx
je 0x51a4af
mov al, byte [esi + 0x195]
test al, al
je 0x51a4af
mov edx, dword [esi + 0xa8]
and edx, dword [esi + 0xac]
cmp edx, 0xffffffff
jne 0x51a4af
mov ecx, dword [esi + 0x11c]
mov eax, 1
cmp ecx, eax
jne 0x51a4b1
xor eax, eax
mov byte [ebx + 0xef], al
mov al, byte [ebx + 0xe5]
test al, al
je 0x51a4fd
mov dword [esp + 0x18], edi
cmp byte [ebp], 0
je 0x51a626
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x43c]
mov ecx, dword [esp + 0x18]
pop ebx
pop edi
pop esi
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
pop ebp
mov ecx, dword [esp + 0x41c]
call fcn.0053aaae
add esp, 0x420
ret
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x38], ecx
mov eax, dword [esi + 0x1c0]
cmp eax, edi
je 0x51a5b6
cmp byte [eax], 0
je 0x51a5b6
mov edx, dword [ebx + 0x44]
lea eax, [esp + 0x18]
push eax
mov dword [ebx + 0x48], edx
mov ecx, dword [ebx + 0x54]
push ecx
push edx
push ebx
call fcn.00518090
add esp, 0x10
cmp eax, 1
jne 0x51a56a
mov eax, dword [esp + 0x440]
mov ecx, dword [esp + 0x18]
pop ebx
mov byte [eax], 1
mov eax, dword [esp + 0x438]
pop edi
pop esi
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
pop ebp
mov ecx, dword [esp + 0x41c]
call fcn.0053aaae
add esp, 0x420
ret
cmp dword [esp + 0x18], edi
jne 0x51a626
mov ecx, dword [ebx + 0x48]
push ecx
push str.Couldnt_resolve_proxy__s
push esi
call fcn.00521d00
mov eax, dword [esp + 0x448]
mov ecx, dword [esp + 0x24]
add esp, 0xc
pop ebx
pop edi
mov dword [esp + 0x18], 5
pop esi
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
pop ebp
mov ecx, dword [esp + 0x41c]
call fcn.0053aaae
add esp, 0x420
ret
movzx eax, word [ebx + 0x58]
lea edx, [esp + 0x18]
push edx
push eax
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0x34]
push eax
push ebx
call fcn.00518090
add esp, 0x10
cmp eax, 1
jne 0x51a606
mov ecx, dword [esp + 0x440]
pop ebx
mov byte [ecx], al
mov eax, dword [esp + 0x438]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
pop ebp
mov ecx, dword [esp + 0x41c]
call fcn.0053aaae
add esp, 0x420
ret
cmp dword [esp + 0x18], edi
jne 0x51a626
mov edx, dword [ebx + 0x38]
push edx
push str.Couldnt_resolve_host__s
push esi
call fcn.00521d00
mov dword [esp + 0x2c], 6
add esp, 0xc
mov eax, dword [esp + 0x43c]
mov ecx, dword [esp + 0x18]
pop ebx
pop edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x424]
mov eax, dword [esp + 0x18]
pop esi
pop ebp
call fcn.0053aaae
add esp, 0x420
ret