Function at 0x420120
Capabilities:
Encode data using base64
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
push ebx
sub esp, 0xac
mov eax, dword [eax + 0x24]
mov dword [esp + 0x54], edx
mov dword [esp + 0x40], ecx
test byte [eax + 8], 2
je 0x420153
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x421265
mov edx, dword [eax + 8]
test edx, edx
je 0x421290
mov eax, dword [0x4908ec]
test eax, eax
jne 0x420330
test byte [ebp + 0x34], 4
jne 0x4202c0
mov eax, dword [ebp + 0x24]
mov edx, 0x481715
mov ecx, dword [eax + 0x10]
cmp byte [ecx], 0
cmovne edx, ecx
movzx ecx, word [eax + 0x14]
mov dword [esp + 0x58], edx
test cx, cx
mov edx, 0x50
cmovne edx, ecx
mov word [esp + 0x62], dx
test byte [eax + 8], 2
jne 0x420360
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x420280
mov eax, dword [esp + 0xc0]
cmp byte [eax], 0
je 0x420280
mov dword [esp], 0
lea ebx, [esp + 0x7c]
mov edx, dword [esp + 0xc0]
xor ecx, ecx
mov eax, ebx
call fcn.0041e710
mov esi, eax
cmp ax, 0x2f
je 0x420d38
test esi, esi
jne 0x420240
mov eax, dword [esp + 0x7c]
mov ecx, 5
mov edi, 0x481591
mov edx, dword [eax + 4]
mov esi, edx
repe cmpsb byte [esi], byte es:[edi]
seta cl
sbb cl, 0
test cl, cl
je 0x420de5
mov ecx, 7
mov edi, str.socks4
mov esi, edx
mov eax, dword [0x490b20]
repe cmpsb byte [esi], byte es:[edi]
seta cl
sbb cl, 0
shl eax, 0x18
and eax, 0x7f000000
test cl, cl
jne 0x4212a0
or eax, 0x45
mov esi, eax
lea esi, [esi]
nop
mov dword [esp], esi
call sub.libgpg_error_0.dll_gpg_strerror
mov dword [esp], str.invalid_HTTP_proxy___s_:__s_n
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
call fcn.0044dbb0
mov eax, dword [0x490b20]
shl eax, 0x18
and eax, 0x7f000000
or eax, 0x73
mov dword [esp + 0x3c], eax
jmp 0x420b6a
mov ecx, dword [ebp + 0x34]
test cl, 1
je 0x4203d0
mov dword [esp], str.http_proxy
call sub.msvcrt.dll_getenv
mov edi, eax
test eax, eax
je 0x420ce5
cmp byte [eax], 0
jne 0x420d00
mov ecx, dword [ebp + 0x34]
mov dword [esp + 0xc0], eax
jmp 0x4203db
lea ebx, [esp + 0x7c]
mov dword [esp + 4], str.tor_mode
mov dword [esp + 8], ebx
mov dword [esp], 0xffffffff
call sub.libassuan_0.dll_assuan_sock_get_flag
test eax, eax
jne 0x4202f7
mov dword [esp + 0xc8], 0
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x42016a
mov dword [esp], str.Tor_support_is_not_available_n
call fcn.0044dbb0
mov eax, dword [0x490b20]
shl eax, 0x18
and eax, 0x7f000000
or eax, 0x45
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0
call fcn.00467740
mov dword [esp + 4], str.NTBTLS
mov dword [esp + 8], eax
mov dword [esp], str.Using_TLS_library:__s__s_n
call fcn.0044ddd0
jmp 0x420160
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_free
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov ebx, dword [ebp + 0x20]
test ecx, ecx
cmovne eax, ecx
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_strdup
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x20]
mov edx, dword [eax + 0x18]
test edx, edx
je 0x420f6b
mov dword [esp + 4], edx
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.004677f0
mov dword [esp + 0x3c], eax
test eax, eax
je 0x42019d
mov dword [esp], eax
call sub.libgpg_error_0.dll_gpg_strerror
mov dword [esp], str.ntbtls_set_hostname_failed:__s_n
mov dword [esp + 4], eax
call fcn.0044da60
jmp 0x420b6a
mov dword [esp + 0xc0], 0
lea eax, [esp + 0x78]
movzx edx, word [esp + 0x62]
xor ebx, ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
call fcn.0041da50
mov dword [esp + 0x5c], 0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x420b5e
mov dword [esp], 8
mov edi, dword [esp + 0x78]
call sub.libgcrypt_20.dll_gcry_malloc
mov esi, eax
test eax, eax
je 0x420f40
mov dword [eax], edi
mov dword [eax + 4], 1
mov eax, dword [0x4908ec]
test eax, eax
jne 0x421140
mov eax, dword [ebp + 0x24]
mov dword [ebp + 8], esi
movzx eax, byte [eax + 8]
and eax, 2
test ebx, ebx
je 0x4205f0
test al, al
je 0x4205f8
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov eax, 0x48171f
mov dword [esp], str.CONNECT__s:_hu_HTTP_1.0_r_nHost:__s:_hu_r_n_s
mov edi, dword [esp + 0x58]
movzx esi, word [esp + 0x62]
test edx, edx
cmovne eax, edx
test ecx, ecx
mov dword [esp + 0x10], esi
cmovne edi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edi
mov dword [esp + 4], edi
call sub.libgpg_error_0.dll_gpgrt_bsprintf
mov edx, dword [esp + 0x5c]
mov ebx, eax
mov dword [esp], edx
call sub.libgcrypt_20.dll_gcry_free
test ebx, ebx
je 0x420f6b
mov ecx, dword [0x4908ec]
test ecx, ecx
jne 0x420dd0
test byte [ebp + 0x34], 8
jne 0x420dd0
mov dword [esp + 4], 0x20
mov dword [esp], 1
call sub.libgcrypt_20.dll_gcry_calloc
mov ecx, eax
test eax, eax
je 0x421470
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
add edx, 1
cmp dword [0x4908ec], 1
mov dword [eax + 4], edx
jg 0x4212d0
mov dword [ecx], eax
mov eax, dword [0x481cf8]
mov dword [ebp + 0x18], ecx
mov dword [esp + 8], eax
mov eax, dword [0x481cfc]
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov eax, dword [0x481d00]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x10], eax
mov eax, dword [0x481d04]
mov dword [esp + 4], 0x4816b7
mov dword [esp + 0x14], eax
call sub.libgpg_error_0.dll_gpgrt_fopencookie
mov ecx, dword [esp + 0x44]
test eax, eax
mov dword [ebp + 0x14], eax
je 0x421585
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpgrt_fputs
test eax, eax
je 0x421310
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
mov dword [esp], ebx
call sub.libgcrypt_20.dll_gcry_free
mov ebx, dword [ebp + 0x34]
mov eax, ebx
and eax, 0xfffffffd
mov dword [ebp + 0x34], eax
mov dword [esp], ebp
call fcn.0041f800
mov dword [ebp + 0x34], ebx
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sub.libgpg_error_0.dll_gpgrt_fclose
mov edx, dword [esp + 0x44]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x1c], 0
and byte [ebp + 0xc], 0xfe
test edx, edx
jne 0x421400
cmp dword [ebp + 4], 0xc8
jne 0x4216b0
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x5c], 0
mov dword [esp + 0xc0], 0
movzx eax, byte [eax + 8]
and eax, 2
lea esi, [esi]
test al, al
jne 0x420b80
mov eax, dword [esp + 0x40]
test eax, eax
je 0x420ca5
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_strdup
mov ebx, eax
test eax, eax
je 0x420f5f
call fcn.0041d400
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, ebx
mov ecx, eax
mov eax, str.Authorization:_Basic
call fcn.0041ecf0
mov dword [esp], ebx
mov dword [esp + 0x68], eax
call sub.libgcrypt_20.dll_gcry_free
mov eax, dword [esp + 0x68]
test eax, eax
je 0x420f5f
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x50], eax
mov ebx, dword [eax + 0x1c]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
test eax, eax
je 0x4213f4
add eax, ebx
xor esi, esi
mov dword [esp + 0x40], ebp
mov edi, eax
jmp 0x42067d
add ebx, 1
add esi, 3
cmp edi, ebx
je 0x4206b2
movzx ebp, byte [ebx]
mov dword [esp], str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890_________._:_______
mov dword [esp + 4], ebp
call sub.msvcrt.dll_strchr
test eax, eax
je 0x420673
mov dword [esp + 4], ebp
mov dword [esp], 0x48191d
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x420673
add ebx, 1
add esi, 1
cmp edi, ebx
jne 0x42067d
mov ebp, dword [esp + 0x40]
mov eax, esi
lea edx, [esi + 1]
mov ecx, dword [esp + 0x50]
mov esi, dword [ecx + 0x24]
test esi, esi
je 0x42075c
mov dword [esp + 0x48], ebp
lea edi, [eax + 1]
mov ebp, dword [esi + 4]
mov ebx, edi
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
test eax, eax
je 0x42073e
add eax, ebp
xor ebx, ebx
mov dword [esp + 0x40], eax
jmp 0x4206fc
add ebx, 3
add ebp, 1
cmp dword [esp + 0x40], ebp
je 0x42073c
movzx edx, byte [ebp]
mov dword [esp], str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890_________._:_______
mov dword [esp + 4], edx
mov dword [esp + 0x44], edx
call sub.msvcrt.dll_strchr
test eax, eax
je 0x4206f0
mov edx, dword [esp + 0x44]
mov dword [esp], 0x481461
mov dword [esp + 4], edx
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x4206f0
add ebx, 1
add ebp, 1
cmp dword [esp + 0x40], ebp
jne 0x4206fc
add ebx, edi
mov ebp, dword [esi + 0x10]
lea edi, [ebx + 1]
mov edx, edi
test ebp, ebp
je 0x420ec2
mov esi, dword [esi]
test esi, esi
jne 0x4206d1
mov ebp, dword [esp + 0x48]
mov dword [esp], edx
call sub.libgcrypt_20.dll_gcry_malloc
mov dword [esp + 0x64], eax
test eax, eax
je 0x420f6b
mov eax, dword [esp + 0x50]
mov ebx, dword [eax + 0x1c]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
test eax, eax
je 0x421430
add eax, ebx
mov dword [esp + 0x48], ebp
mov esi, dword [esp + 0x64]
mov dword [esp + 0x44], eax
xor eax, eax
mov ebp, eax
jmp 0x4207cf
test esi, esi
je 0x4207c3
mov dword [esp], esi
add esi, 3
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x4814c7
mov dword [esp + 4], 4
call sub.libgpg_error_0.dll_gpgrt_snprintf
add ebp, 3
add ebx, 1
cmp dword [esp + 0x44], ebx
je 0x42081b
movzx edi, byte [ebx]
mov dword [esp], str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890_________._:_______
mov dword [esp + 4], edi
mov eax, edi
mov byte [esp + 0x40], al
call sub.msvcrt.dll_strchr
test eax, eax
je 0x4207a0
mov dword [esp + 4], edi
mov dword [esp], 0x48191d
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x4207a0
test esi, esi
je 0x42080f
movzx eax, byte [esp + 0x40]
add esi, 1
mov byte [esi - 1], al
add ebp, 1
add ebx, 1
cmp dword [esp + 0x44], ebx
jne 0x4207cf
mov eax, ebp
mov ebp, dword [esp + 0x48]
add eax, dword [esp + 0x64]
mov ebx, eax
mov eax, dword [esp + 0x50]
mov edi, dword [eax + 0x24]
mov eax, 0x3f
test edi, edi
je 0x420924
mov dword [esp + 0x6c], ebp
nop
mov byte [ebx], al
mov esi, dword [edi + 4]
lea ebp, [ebx + 1]
mov dword [esp + 0x40], ebp
mov dword [esp], esi
call sub.msvcrt.dll_strlen
test eax, eax
je 0x421130
add eax, esi
xor ebx, ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], eax
jmp 0x42089f
test ebp, ebp
je 0x420893
mov dword [esp], ebp
add ebp, 3
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x4814c7
mov dword [esp + 4], 4
call sub.libgpg_error_0.dll_gpgrt_snprintf
add ebx, 3
add esi, 1
cmp esi, dword [esp + 0x48]
je 0x4208eb
movzx edi, byte [esi]
mov dword [esp], str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890_________._:_______
mov dword [esp + 4], edi
mov eax, edi
mov byte [esp + 0x44], al
call sub.msvcrt.dll_strchr
test eax, eax
je 0x420870
mov dword [esp + 4], edi
mov dword [esp], 0x481461
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x420870
test ebp, ebp
je 0x4208df
movzx eax, byte [esp + 0x44]
add ebp, 1
mov byte [ebp - 1], al
add ebx, 1
add esi, 1
cmp esi, dword [esp + 0x48]
jne 0x42089f
mov edi, dword [esp + 0x4c]
add ebx, dword [esp + 0x40]
mov esi, dword [edi + 0x10]
test esi, esi
je 0x420f95
mov edi, dword [edi]
test edi, edi
je 0x420920
mov eax, dword [esp + 0x50]
mov ecx, 0x3f
cmp edi, dword [eax + 0x24]
mov eax, 0x26
cmove eax, ecx
jmp 0x420840
mov ebp, dword [esp + 0x6c]
mov byte [ebx], 0
mov ebx, dword [esp + 0xc0]
test ebx, ebx
je 0x421161
mov eax, dword [esp + 0xc0]
cmp byte [eax], 0
je 0x421161
mov edx, dword [esp + 0x5c]
mov eax, 0x48171f
mov ecx, dword [esp + 0x64]
mov edi, dword [ebp + 0x28]
movzx ebx, word [esp + 0x62]
test edx, edx
mov esi, edx
mov edx, dword [esp + 0x68]
cmove esi, eax
test edx, edx
cmove edx, eax
cmp byte [ecx], 0x2f
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], edx
mov edx, 0x48172c
cmovne eax, edx
mov edx, dword [esp + 0x54]
test edx, edx
cmovne ecx, edx
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x54], ecx
test byte [edx + 8], 2
mov ecx, 0x48159a
mov edx, 0x481591
cmovne edx, ecx
mov ecx, 0x48172e
cmp edi, 1
je 0x4209c3
mov ecx, str.HEAD
cmp edi, 2
je 0x4209c3
cmp edi, 3
mov ecx, str.OOPS
mov edi, str.POST
cmove ecx, edi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], str._s__s:___s:_hu_s_s_HTTP_1.0_r_n_s_s
call sub.libgpg_error_0.dll_gpgrt_bsprintf
mov ebx, eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_free
test ebx, ebx
je 0x421440
mov ecx, dword [0x4908ec]
test ecx, ecx
jne 0x420a21
test byte [ebp + 0x34], 8
je 0x420a31
mov dword [esp + 4], str.http.c:request:
mov dword [esp], ebx
call fcn.0044df20
mov dword [esp + 4], 0x20
mov dword [esp], 1
call sub.libgcrypt_20.dll_gcry_calloc
mov esi, eax
test eax, eax
je 0x421105
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
add eax, 1
cmp dword [0x4908ec], 1
mov dword [edi + 4], eax
jle 0x420a86
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x8d2
mov dword [esp], str.http.c:_d:socket_ref:_object__p_for_fd__d_refcount_now__d_n
call fcn.0044ddd0
mov eax, dword [ebp + 0x24]
mov dword [esi], edi
mov edi, dword [ebp + 0x20]
mov dword [ebp + 0x18], esi
movzx eax, byte [eax + 8]
shr al, 1
and eax, 1
mov dword [esi + 8], eax
test edi, edi
je 0x420ac7
mov eax, dword [edi + 4]
add eax, 1
cmp dword [0x4908ec], 1
mov dword [edi + 4], eax
jle 0x420ac7
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], str.http.c:session_ref:_sess__p_ref_now__d_n
call fcn.0044ddd0
mov eax, dword [0x481cf8]
mov dword [esi + 4], edi
mov dword [esp + 4], 0x4816b7
mov dword [esp + 8], eax
mov eax, dword [0x481cfc]
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [0x481d00]
mov dword [esp + 0x10], eax
mov eax, dword [0x481d04]
mov dword [esp + 0x14], eax
call sub.libgpg_error_0.dll_gpgrt_fopencookie
mov dword [ebp + 0x14], eax
test eax, eax
je 0x421360
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpgrt_fputs
test eax, eax
je 0x421060
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
test eax, eax
je 0x421073
mov edi, dword [0x490b20]
movzx eax, ax
shl edi, 0x18
and edi, 0x7f000000
or edi, eax
test edi, edi
je 0x421073
mov dword [esp + 0x3c], edi
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpgrt_free
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_free
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_free
mov eax, dword [esp + 0x3c]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [0x4908ec], 1
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ecx, dword [eax]
mov dword [eax + 4], edx
jle 0x420bbc
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 0x10], edx
mov dword [esp + 4], 0x7d3
mov dword [esp], str.http.c:_d:socket_ref:_object__p_for_fd__d_refcount_now__d_n
call fcn.0044ddd0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [0x481ce8]
mov edi, dword [0x481cec]
mov dword [esp], ecx
mov esi, dword [0x481cf0]
mov dword [esp + 4], 0x48189a
mov dword [esp + 8], eax
mov eax, dword [0x481cf4]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
call sub.libgpg_error_0.dll_gpgrt_fopencookie
mov ebx, eax
test eax, eax
je 0x421410
mov eax, dword [0x481ce8]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
mov dword [esp + 8], eax
mov eax, dword [0x481cf4]
mov dword [esp + 4], 0x48189d
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call sub.libgpg_error_0.dll_gpgrt_fopencookie
test eax, eax
je 0x4214a2
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.004677d0
mov ebx, eax
test eax, eax
jne 0x4214d0
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + 8]
mov edx, dword [edx + 0x24]
test edx, edx
je 0x420c84
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x41d340
mov dword [esp], eax
call fcn.00467820
mov ebx, eax
test eax, eax
jne 0x421704
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.00467810
mov ebx, eax
test eax, eax
jne 0x42168a
mov eax, dword [ebp + 0x20]
mov dword [eax + 0xc], 0
jmp 0x4205f8
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x50], eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x68], eax
test eax, eax
je 0x421330
call fcn.0041d400
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax + 0xc]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, ebx
mov ecx, eax
mov eax, str.Authorization:_Basic
call fcn.0041ecf0
mov dword [esp + 0x68], eax
jmp 0x420641
mov dword [esp + 0xc0], 0
mov ecx, dword [ebp + 0x34]
jmp 0x4203db
mov eax, dword [esp + 0xc0]
test eax, eax
jne 0x4201bc
mov dword [esp], 0
lea ebx, [esp + 0x7c]
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.0041e710
mov dword [esp + 0xc0], edi
mov esi, eax
cmp ax, 0x2f
jne 0x4201e3
mov eax, dword [esp + 0xc0]
movsx eax, byte [eax]
test al, al
je 0x420240
xor ecx, ecx
mov dword [esp + 0x3c], ebx
mov edi, dword [esp + 0xc0]
mov ebx, ecx
jmp 0x420d91
test ebx, ebx
jne 0x421340
mov dword [esp + 4], eax
mov dword [esp], str.__t_f_n_v_____
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x420240
mov edx, edi
movsx eax, byte [edx + 1]
lea edi, [edx + 1]
test al, al
je 0x421631
cmp al, 0x3a
jne 0x420d60
test ebx, ebx
jne 0x420240
movzx eax, byte [edi + 1]
test al, al
je 0x420240
cmp al, 0x3a
je 0x420240
lea edx, [edi + 1]
sub eax, 0x30
cmp al, 9
ja 0x420240
mov ebx, 1
jmp 0x420d82
mov dword [esp + 4], str.http.c:request:
mov dword [esp], ebx
call fcn.0044df20
jmp 0x4204db
mov edx, dword [eax + 0xc]
mov dword [esp + 0x5c], edx
test edx, edx
je 0x420e24
mov eax, edx
call fcn.0041d400
mov eax, dword [esp + 0x7c]
mov ebx, dword [eax + 0xc]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, ebx
mov ecx, eax
mov eax, str.Proxy_Authorization:_Basic
call fcn.0041ecf0
mov dword [esp + 0x5c], eax
test eax, eax
je 0x421510
mov eax, dword [esp + 0x7c]
movzx edx, word [eax + 0x14]
mov eax, dword [eax + 0x10]
mov ebx, 0x50
mov edi, dword [esp + 0xc8]
mov ecx, dword [ebp + 0x34]
test dx, dx
cmove edx, ebx
cmp byte [eax], 0
mov ebx, 0x481715
mov dword [esp + 4], edi
cmove eax, ebx
lea ebx, [esp + 0x78]
mov dword [esp], 0
mov dword [esp + 8], ebx
call fcn.0041da50
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x3c], eax
test esi, esi
je 0x420eb8
mov eax, dword [esi + 0x20]
test eax, eax
je 0x420e90
lea esi, [esi]
lea esi, [esi]
mov ebx, dword [eax]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_free
mov eax, ebx
test ebx, ebx
jne 0x420e80
mov eax, dword [esi + 0x24]
test eax, eax
je 0x420eb0
lea esi, [esi]
nop
mov ebx, dword [eax]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_free
mov eax, ebx
test ebx, ebx
jne 0x420ea0
mov dword [esp], esi
call sub.libgcrypt_20.dll_gcry_free
mov ebx, 1
jmp 0x420414
mov ebp, dword [esi + 8]
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
test eax, eax
je 0x421230
add eax, ebp
xor ebx, ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], eax
jmp 0x420eef
add ebx, 3
add ebp, 1
cmp ebp, dword [esp + 0x40]
je 0x420f27
movzx esi, byte [ebp]
mov dword [esp], str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890_________._:_______
mov dword [esp + 4], esi
call sub.msvcrt.dll_strchr
test eax, eax
je 0x420ee3
mov dword [esp + 4], esi
mov dword [esp], 0x481461
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x420ee3
add ebx, 1
add ebp, 1
cmp ebp, dword [esp + 0x40]
jne 0x420eef
mov esi, dword [esp + 0x44]
add ebx, edi
lea edi, [ebx + 1]
mov edx, edi
jmp 0x42074e
call dword [sym.imp.msvcrt.dll__errno]
mov ebx, dword [eax]
mov dword [esp], edi
call sub.libassuan_0.dll_assuan_sock_close
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpg_err_set_errno
mov dword [ebp + 8], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_free
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
test eax, eax
je 0x421220
mov edx, dword [0x490b20]
movzx eax, ax
shl edx, 0x18
and edx, 0x7f000000
or edx, eax
mov dword [esp + 0x3c], edx
jmp 0x420b6a
mov byte [ebx], 0x3d
mov esi, dword [edi + 8]
lea ebp, [ebx + 1]
mov dword [esp + 0x48], ebp
mov dword [esp], esi
call sub.msvcrt.dll_strlen
test eax, eax
je 0x421350
add eax, esi
mov dword [esp + 0x4c], edi
mov edi, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0
jmp 0x421001
test edi, edi
je 0x420ff3
mov dword [esp], edi
add edi, 3
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x4814c7
mov dword [esp + 4], 4
call sub.libgpg_error_0.dll_gpgrt_snprintf
add dword [esp + 0x40], 3
add esi, 1
cmp dword [esp + 0x44], esi
je 0x421045
movzx ebp, byte [esi]
mov dword [esp], str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890_________._:_______
mov dword [esp + 4], ebp
mov ebx, ebp
call sub.msvcrt.dll_strchr
test eax, eax
je 0x420fd0
mov dword [esp + 4], ebp
mov dword [esp], 0x481461
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x420fd0
test edi, edi
je 0x421037
mov byte [edi], bl
add edi, 1
add dword [esp + 0x40], 1
add esi, 1
cmp dword [esp + 0x44], esi
jne 0x421001
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
add ebx, dword [esp + 0x40]
jmp 0x4208fe
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.00467268
test eax, eax
jne 0x420b1d
mov eax, dword [esp + 0xcc]
mov esi, dword [esp + 0xcc]
test eax, eax
jne 0x4210cf
jmp 0x420b4a
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.00467268
test eax, eax
jne 0x421105
mov eax, dword [ebp + 0x14]
mov dword [esp], 0x4816d2
mov dword [esp + 4], eax
call sub.libgpg_error_0.dll_gpgrt_fputs
test eax, eax
jne 0x421105
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.00467268
test eax, eax
jne 0x421105
mov esi, dword [esi]
test esi, esi
je 0x420b4a
mov edx, dword [0x4908ec]
lea edi, [esi + 8]
test edx, edx
jne 0x4210e2
test byte [ebp + 0x34], 8
je 0x4210f2
mov dword [esp + 4], str.http.c:request_header:
mov dword [esp], edi
call fcn.0044df20
mov eax, dword [ebp + 0x14]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.libgpg_error_0.dll_gpgrt_fputs
test eax, eax
je 0x421090
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
test eax, eax
je 0x420b4a
mov edx, dword [0x490b20]
movzx eax, ax
shl edx, 0x18
and edx, 0x7f000000
or edx, eax
mov dword [esp + 0x3c], edx
jmp 0x420b4a
mov ebx, ebp
jmp 0x4208f3
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], 0x76e
mov dword [esp], str.http.c:_d:socket_new:_object__p_for_fd__d_created_n
call fcn.0044ddd0
jmp 0x420450
mov eax, dword [ebp + 0x24]
movzx edx, word [esp + 0x62]
movzx eax, byte [eax + 8]
and eax, 2
cmp al, 1
sbb eax, eax
and eax, 0xfffffe95
add eax, 0x1bb
cmp edx, eax
jne 0x421240
mov byte [esp + 0x7c], 0
lea ebx, [esp + 0x7c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
mov eax, 0x48171f
mov esi, dword [esp + 0x58]
test ecx, ecx
cmove ecx, eax
test edx, edx
cmovne esi, edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x54], esi
mov esi, dword [ebp + 0x28]
cmp byte [edx], 0x2f
mov edx, 0x48172c
cmovne eax, edx
mov edx, 0x48172e
cmp esi, 1
je 0x4211e4
mov edx, str.HEAD
cmp esi, 2
je 0x4211e4
cmp esi, 3
mov edx, str.OOPS
mov esi, str.POST
cmove edx, esi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
mov dword [esp], str._s__s_s_HTTP_1.0_r_nHost:__s_s_r_n_s
call sub.libgpg_error_0.dll_gpgrt_bsprintf
mov ebx, eax
jmp 0x4209fd
mov dword [esp + 0x3c], 0
jmp 0x420b6a
mov ebx, edi
jmp 0x420f2d
lea ebx, [esp + 0x7c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x481946
mov dword [esp + 4], 0x23
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpgrt_snprintf
jmp 0x42118f
mov dword [esp], str.TLS_requested_but_no_session_object_provided_n
call fcn.0044dbb0
mov eax, dword [0x490b20]
shl eax, 0x18
and eax, 0x7f000000
or eax, 0x3f
mov dword [esp + 0x3c], eax
jmp 0x420b6a
mov dword [esp], str.TLS_requested_but_no_TLS_context_available_n
jmp 0x42126c
mov esi, edx
mov edi, str.socks5h
mov ecx, 8
repe cmpsb byte [esi], byte es:[edi]
mov esi, eax
seta dl
sbb dl, 0
or esi, 0x2f
test dl, dl
jne 0x420240
jmp 0x420233
mov dword [esp + 0x10], edx
mov edx, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x793
mov dword [esp], str.http.c:_d:socket_ref:_object__p_for_fd__d_refcount_now__d_n
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
call fcn.0044ddd0
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
jmp 0x420512
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.00467268
test eax, eax
jne 0x420572
jmp 0x420577
mov eax, dword [esp + 0x50]
jmp 0x420654
mov edx, edi
jmp 0x420db4
mov ebx, ebp
jmp 0x4208fe
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
mov edi, eax
mov eax, dword [0x490b20]
test edi, edi
je 0x42137d
shl eax, 0x18
movzx edi, di
and eax, 0x7f000000
or edi, eax
mov edx, dword [esi]
test edx, edx
je 0x4213e0
mov eax, dword [edx + 4]
sub eax, 1
cmp dword [0x4908ec], 1
mov dword [edx + 4], eax
jle 0x4213c2
mov dword [esp + 0x10], eax
mov eax, dword [edx]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x8db
mov dword [esp], str.http.c:_d:socket_unref:_object__p_for_fd__d_ref_now__d_n
mov dword [esp + 0x40], edx
call fcn.0044ddd0
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
test eax, eax
jne 0x4213e0
mov eax, dword [edx]
mov dword [esp + 0x40], edx
mov dword [esp], eax
call sub.libassuan_0.dll_assuan_sock_close
mov edx, dword [esp + 0x40]
mov dword [esp], edx
call sub.libgcrypt_20.dll_gcry_free
mov dword [esp], esi
call sub.libgcrypt_20.dll_gcry_free
mov dword [ebp + 0x18], 0
jmp 0x420b3e
mov edx, 1
xor eax, eax
jmp 0x4206bb
mov dword [esp + 0x3c], edx
jmp 0x420b6a
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
movzx eax, ax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_free
jmp 0x420b6a
mov ebx, dword [esp + 0x64]
jmp 0x420827
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
mov ecx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [0x490b20]
test ecx, ecx
je 0x420b52
shl eax, 0x18
movzx edx, cx
and eax, 0x7f000000
or eax, edx
mov dword [esp + 0x3c], eax
jmp 0x420b52
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
mov ecx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [0x490b20]
test ecx, ecx
je 0x421495
shl eax, 0x18
movzx edx, cx
and eax, 0x7f000000
or eax, edx
mov dword [esp + 0x3c], eax
mov dword [esp], ebx
call sub.libgcrypt_20.dll_gcry_free
jmp 0x420b6a
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
mov dword [esp], ebx
movzx eax, ax
mov dword [esp + 0x3c], eax
call sub.libgpg_error_0.dll_gpgrt_fclose
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_free
jmp 0x420b6a
mov dword [esp], eax
call sub.libgpg_error_0.dll_gpg_strsource
mov dword [esp], ebx
mov esi, eax
call sub.libgpg_error_0.dll_gpg_strerror
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], str.TLS_set_transport_failed:__s___s__n
call fcn.0044da60
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_free
mov dword [esp + 0x3c], ebx
jmp 0x420b6a
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
mov ecx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [0x490b20]
test ecx, ecx
je 0x421535
shl eax, 0x18
movzx edx, cx
and eax, 0x7f000000
or eax, edx
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x7c]
test ebx, ebx
je 0x420b6a
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x421560
lea esi, [esi]
nop
mov esi, dword [eax]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_free
mov eax, esi
test esi, esi
jne 0x421550
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x421495
lea esi, [esi]
nop
mov esi, dword [eax]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_free
mov eax, esi
test esi, esi
jne 0x421570
jmp 0x421495
mov dword [esp + 0x40], ecx
call sub.libgpg_error_0.dll_gpg_err_code_from_syserror
mov ecx, dword [esp + 0x40]
mov edx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [0x490b20]
test edx, edx
je 0x4215b2
shl eax, 0x18
movzx edx, dx
and eax, 0x7f000000
or eax, edx
mov dword [esp + 0x3c], eax
mov esi, dword [ecx]
test esi, esi
je 0x421615
mov eax, dword [esi + 4]
sub eax, 1
cmp dword [0x4908ec], 1
mov dword [esi + 4], eax
jle 0x4215f7
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x79a
mov dword [esp], str.http.c:_d:socket_unref:_object__p_for_fd__d_ref_now__d_n
mov dword [esp + 0x40], ecx
call fcn.0044ddd0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x40]
test eax, eax
jne 0x421615
mov eax, dword [esi]
mov dword [esp + 0x40], ecx
mov dword [esp], eax
call sub.libassuan_0.dll_assuan_sock_close
mov dword [esp], esi
call sub.libgcrypt_20.dll_gcry_free
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
call sub.libgcrypt_20.dll_gcry_free
mov dword [esp], ebx
call sub.libgcrypt_20.dll_gcry_free
mov dword [ebp + 0x18], 0
jmp 0x420b6a
mov eax, dword [esp + 0xc0]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], 0
mov dword [esp], str.http:__
mov dword [esp + 4], eax
call fcn.00447780
mov edi, eax
test eax, eax
je 0x42167d
mov dword [esp], 0
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.0041e710
test eax, eax
jne 0x42167d
mov dword [esp], edi
call sub.libgcrypt_20.dll_gcry_free
jmp 0x4201e7
mov dword [esp], edi
call sub.libgcrypt_20.dll_gcry_free
jmp 0x420240
mov dword [esp], ebx
call sub.libgpg_error_0.dll_gpg_strsource
mov dword [esp], ebx
mov esi, eax
call sub.libgpg_error_0.dll_gpg_strerror
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], str.TLS_handshake_failed:__s___s__n
jmp 0x4214f1
mov dword [esp + 8], esi
mov esi, 0x481720
mov dword [esp + 4], edi
mov dword [esp], str.CONNECT__s:_hu
call sub.libgpg_error_0.dll_gpgrt_bsprintf
mov edi, dword [ebp + 4]
mov dword [esp], 0x481874
test eax, eax
mov ebx, eax
cmovne esi, eax
call sub.libgpg_error_0.dll__gpg_w32_gettext
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0044dbb0
mov dword [esp], ebx
call sub.libgcrypt_20.dll_gcry_free
mov dword [esp + 0x3c], 0x3a
jmp 0x420b6a
mov dword [esp], eax
call sub.libgpg_error_0.dll_gpg_strerror
mov dword [esp], str.ntbtls_set_verify_cb_failed:__s_n
mov dword [esp + 4], eax
call fcn.0044dbb0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sub.libgcrypt_20.dll_gcry_free
mov dword [esp + 0x3c], ebx
jmp 0x420b6a