Function at 0x4ec64a
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
mov ecx, dword [eax]
and dword [eax], 0
mov eax, dword [ecx + 8]
and dword [ecx + 8], 0
test eax, eax
je 0x4ec622
call eax
mov edi, dword [edi + 4]
mov esi, eax
mov ecx, dword [edi]
cmp dword [ecx], 0
je 0x4ec618
call fcn.004b4569
mov ecx, dword [edi]
mov dword [ecx], esi
mov al, 1
add esp, 0x18
pop esi
pop edi
ret
mov ecx, esp
mov edx, 0x62d128
mov dword [ecx], 0x62d0b8
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
and dword [ecx + 0xc], 0
call fcn.0059ede0
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x170
lea esi, [esp + 0x28]
mov edx, 0x623246
mov ecx, esi
push 0x3b
call fcn.004ee516
pop eax
lea eax, [esp + 0xc8]
mov esi, dword [esi + 4]
and dword [eax], 0
push eax
push 0x20019
push 0
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4ec6a2
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.00422a66
test edi, edi
je 0x4ec6c3
mov edx, dword [esp + 0x10]
xor ecx, ecx
call fcn.004b0ade
mov esi, eax
jmp 0x4ec77b
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x28]
mov ecx, esi
mov edx, edi
push 0x623281
call fcn.004ee41d
pop eax
cmp dword [esi], 0x80000000
jne 0x4ec6f6
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov esi, ebx
mov dword [esp + 0x18], eax
shrd esi, eax, 8
jmp 0x4ec720
xor esi, esi
cmp byte [esp + 0x34], 4
jne 0x4ec70d
mov eax, dword [esp + 0x2c]
mov bl, 4
mov eax, dword [eax]
mov dword [esp + 0x18], eax
jmp 0x4ec717
mov dword [esp + 0x18], 0xde
xor ebx, ebx
lea ecx, [esp + 0x28]
call fcn.004ee4f7
cmp bl, 4
jne 0x4ec757
lea esi, [esp + 0xc8]
mov edx, edi
mov ecx, esi
push 0x62328c
call fcn.004ee41d
pop eax
cmp dword [esi], 0x80000000
jne 0x4ecba7
mov eax, dword [esp + 0xcc]
mov ebx, dword [esp + 0xd0]
jmp 0x4ec763
movzx eax, bl
mov ebx, dword [esp + 0x18]
shl esi, 8
or eax, esi
mov dword [esp + 4], eax
mov ecx, dword [esp + 4]
mov edx, ebx
call fcn.004b0ade
mov ecx, edi
mov esi, eax
call fcn.00523cf3
mov ecx, 0x80000001
call fcn.00523cf3
push esi
call fcn.0043fc78
pop eax
push 4
pop edx
mov ecx, esi
call fcn.00407480
mov edi, 0x80000000
lea ecx, [esp + 0x28]
call fcn.004ed0d8
lea esi, [esp + 0xc8]
mov edx, 0x623238
mov ecx, esi
push 0xe
call fcn.005048d0
pop eax
mov ecx, dword [esi]
cmp ecx, 0x80000000
jne 0x4ec7fe
lea ecx, [esp + 0x28]
mov edx, 0x650187
push 0xa
push str.HTTP_PROXYhttp_proxyHTTPS_PROXYhttps_proxyALL_PROXYall_proxyREQUEST_METHODSoftwareMicrosoftWindowsCurrentVersionInternet_SettingsProxyEnableProxyServer
push 4
call fcn.004ed134
add esp, 0xc
test al, al
jne 0x4ec80a
lea ecx, [esp + 0x28]
mov edx, 0x650187
push 0xa
push 0x623206
push 4
call fcn.004ed134
add esp, 0xc
jmp 0x4ec80a
mov edx, dword [esp + 0xcc]
call fcn.00422701
lea ecx, [esp + 0x28]
mov edx, 0x65018b
push 0xb
push 0x623210
push 5
call fcn.004ed134
add esp, 0xc
test al, al
jne 0x4ec842
lea ecx, [esp + 0x28]
mov edx, 0x65018b
push 0xb
push 0x62321b
push 5
call fcn.004ed134
add esp, 0xc
lea ecx, [esp + 0x28]
mov edx, 0x650187
push 9
push 0x623226
push 4
call fcn.004ed134
add esp, 0xc
test al, al
je 0x4ec87e
lea ecx, [esp + 0x28]
mov edx, 0x65018b
push 9
push 0x623226
push 5
call fcn.004ed134
add esp, 0xc
test al, al
jne 0x4ec8b5
push 9
pop esi
mov eax, 0x62322f
lea ecx, [esp + 0x28]
mov edx, 0x650187
push esi
push eax
push 4
call fcn.004ed134
add esp, 0xc
lea ecx, [esp + 0x28]
mov edx, 0x65018b
push esi
mov eax, 0x62322f
push eax
push 5
call fcn.004ed134
add esp, 0xc
movsd xmm1, qword [esp + 0x38]
movsd xmm0, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x28]
cmp edi, 0x80000000
movsd qword [esp + 0xb8], xmm1
movsd xmm1, qword [esp + 0x30]
movsd qword [esp + 0xc0], xmm0
movsd qword [esp + 0xa8], xmm2
movsd qword [esp + 0xb0], xmm1
je 0x4ec945
cmp dword [esp + 0xb4], 0
jne 0x4ec945
mov eax, dword [esp + 4]
lea ecx, [esp + 0x88]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
call fcn.004ed0d8
cmp ebx, 2
jb 0x4ec991
push 0x3d
pop ecx
cmp ebx, 8
jae 0x4ecb57
mov edx, dword [esp + 4]
push ebx
call fcn.0043dad4
jmp 0x4ecb61
movsd xmm1, qword [esp + 0xb8]
movsd xmm0, qword [esp + 0xc0]
movsd xmm2, qword [esp + 0xa8]
mov edx, dword [esp + 4]
mov ecx, edi
movsd qword [esp + 0x38], xmm1
movsd xmm1, qword [esp + 0xb0]
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x28], xmm2
movsd qword [esp + 0x30], xmm1
call fcn.0040272a
jmp 0x4ecee3
xor edx, edx
mov ecx, 0x623297
inc edx
push ebx
push dword [esp + 8]
call fcn.0044f299
pop ecx
pop edx
test al, al
je 0x4ecb6b
mov edx, dword [esp + 4]
lea ecx, [esp + 0x118]
push 0x62a8ab
push ebx
call fcn.004ed215
pop eax
pop ecx
lea ecx, [esp + 0x118]
lea ebx, [esp + 0xc8]
call fcn.004de9a1
test eax, eax
je 0x4ece8b
mov esi, edx
mov edx, eax
mov ecx, ebx
push 0x623297
push esi
call fcn.004ed215
pop eax
pop ecx
mov ecx, ebx
call fcn.004de9a1
test eax, eax
je 0x4ece58
mov esi, eax
mov edi, edx
call fcn.00514216
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], eax
mov dword [esp + 4], eax
mov dword [esp + 0x24], 1
push 0x14
pop ecx
lea eax, [esp + 0x28]
mov esi, ebx
xor ebx, ebx
mov edi, eax
inc ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
call fcn.004de9a1
test eax, eax
je 0x4eca74
cmp ebx, dword [esp + 0x1c]
mov esi, eax
mov edi, edx
jne 0x4eca5e
lea ecx, [esp + 0x1c]
call fcn.0051422e
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov dword [eax + ebx*8], esi
mov dword [eax + ebx*8 + 4], edi
inc ebx
lea eax, [esp + 0x28]
mov dword [esp + 0x24], ebx
jmp 0x4eca38
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
cmp ebx, 2
mov dword [esp + 4], eax
jne 0x4ece5f
lea eax, [edi + 8]
mov dword [esp + 0x78], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
call fcn.004ed17e
test eax, eax
je 0x4ecacd
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 8], ecx
mov ecx, ebx
call fcn.004f8aa4
mov esi, edx
mov dword [esp + 0x10], eax
push ebx
push dword [esp + 0xc]
push edx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4ecb22
lea eax, [esp + 0x78]
mov dword [esp + 0x28], 0x623098
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x20], 0x4f81f5
inc eax
mov dword [esp + 0x2c], eax
and dword [esp + 0x38], 0
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x34], eax
call fcn.0049da9c
mov ecx, dword [esp + 0xc8]
mov esi, dword [esp + 0xcc]
mov ebx, dword [esp + 0xd0]
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
lea esi, [esp + 0x28]
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x88]
push esi
push eax
call fcn.004ed23c
pop ecx
pop edx
mov ecx, dword [esp + 4]
mov edx, edi
call fcn.00514315
jmp 0x4ec9c5
mov edx, dword [esp + 4]
push ebx
call fcn.00420680
pop ecx
cmp eax, 1
je 0x4ec9ad
mov ecx, dword [esp + 4]
mov edx, ebx
call fcn.004ed17e
test eax, eax
je 0x4ecda9
mov esi, edx
mov edx, dword [esp + 4]
mov edi, ebx
lea ecx, [esp + 0x28]
mov ebx, eax
push edi
call fcn.00416890
pop eax
lea ecx, [esp + 0x88]
mov edx, ebx
lea eax, [esp + 0x28]
push eax
push esi
jmp 0x4ece4f
movzx eax, byte [esp + 0xd4]
mov ebx, 0xde
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0x80000000
cmp eax, 7
ja 0x4ed088
mov dword [esp + 0x14], eax
mov eax, 0x86
mov ecx, dword [esp + 0x14]
bt eax, ecx
jae 0x4ed088
mov eax, dword [esp + 0xd0]
mov edi, dword [esp + 0xcc]
mov ecx, eax
mov edx, eax
and ecx, 0xfffffffe
shr edx, 2
add ecx, edi
mov dword [esp + 8], ecx
lea ecx, [esp + 0x28]
and dword [ecx], 0
mov dword [ecx + 4], 1
and dword [ecx + 8], 0
bt eax, 1
adc edx, 0
call fcn.00513d03
xor esi, esi
test si, si
je 0x4ecc2d
movzx eax, word [esp + 4]
jmp 0x4ecc3d
cmp edi, dword [esp + 8]
je 0x4ecf2a
movzx eax, word [edi]
add edi, 2
mov ecx, eax
and ecx, 0xf800
cmp cx, 0xd800
jne 0x4ecc59
cmp ax, 0xdbff
jbe 0x4ecc89
xor esi, esi
jmp 0x4ecce7
movzx ebx, ax
cmp ax, 0x80
jae 0x4eccb2
mov edx, dword [esp + 0x30]
cmp edx, dword [esp + 0x28]
jne 0x4ecc79
lea ecx, [esp + 0x28]
call fcn.0044d526
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
xor esi, esi
mov byte [eax + edx], bl
inc edx
mov dword [esp + 0x30], edx
jmp 0x4ecc21
mov ecx, dword [esp + 8]
cmp edi, ecx
je 0x4ecce3
movzx ecx, word [edi]
add edi, 2
mov edx, ecx
add edx, 0x2000
cmp dx, 0xfc00
jae 0x4eccf6
xor esi, esi
mov eax, ecx
mov word [esp + 4], cx
inc esi
jmp 0x4ecce7
and dword [esp + 0x118], 0
cmp ebx, 0x800
jae 0x4ecd1a
mov eax, ebx
and bl, 0x3f
xor esi, esi
shr eax, 6
or bl, 0x80
or al, 0xc0
mov byte [esp + 0x118], al
mov byte [esp + 0x119], bl
push 2
jmp 0x4ecd49
xor esi, esi
mov edi, ecx
and dword [esp + 0x118], 0
mov ebx, 0xfffd
jmp 0x4ecd1c
movzx ebx, cx
mov ecx, 0x3ff
and dword [esp + 0x118], 0
and eax, ecx
and ebx, ecx
mov ecx, 0x10000
shl eax, 0xa
or ebx, eax
add ebx, ecx
cmp ebx, ecx
jae 0x4ecd68
xor esi, esi
mov eax, ebx
shr eax, 0xc
or al, 0xe0
mov byte [esp + 0x118], al
mov eax, ebx
and bl, 0x3f
shr eax, 6
or bl, 0x80
and al, 0x3f
or al, 0x80
mov byte [esp + 0x119], al
mov byte [esp + 0x11a], bl
push 3
pop eax
lea eax, [esp + eax + 0x118]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x118]
push eax
call fcn.00523ba7
pop eax
jmp 0x4ecc21
mov eax, ebx
xor esi, esi
shr eax, 0x12
or al, 0xf0
mov byte [esp + 0x118], al
mov eax, ebx
shr eax, 0xc
and al, 0x3f
or al, 0x80
mov byte [esp + 0x119], al
mov eax, ebx
and bl, 0x3f
shr eax, 6
or bl, 0x80
and al, 0x3f
or al, 0x80
mov byte [esp + 0x11a], al
mov byte [esp + 0x11b], bl
push 4
jmp 0x4ecd49
lea eax, [esp + 0x7c]
xor edi, edi
lea esi, [esp + 0x28]
lea ebx, [esp + 0x118]
mov dword [esp + 0xc8], eax
mov eax, fcn.00402e2c
inc edi
mov ecx, ebx
mov edx, esi
mov dword [esp + 0xcc], eax
mov eax, 0x623098
mov dword [esi], eax
mov dword [esi + 4], edi
and dword [esi + 0x10], 0
lea eax, [esp + 0xc8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
call fcn.0049da9c
lea ecx, [esp + 0x88]
mov edx, 0x650187
push ebx
push 4
call fcn.004ed23c
pop ecx
pop edx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x28]
mov dword [eax], ecx
mov ecx, fcn.00402e2c
mov dword [eax + 4], ecx
mov ecx, 0x623098
mov dword [esi], ecx
mov dword [esi + 4], edi
and dword [esi + 0x10], 0
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
lea esi, [esp + 0xc8]
mov ecx, esi
call fcn.0049da9c
lea ecx, [esp + 0x88]
mov edx, 0x65018b
push esi
push 5
call fcn.004ed23c
pop ecx
pop edx
jmp 0x4ece8b
xor ebx, ebx
push 4
pop edi
jmp 0x4ece63
mov ebx, dword [esp + 4]
cmp dword [esp + 0x94], 0
je 0x4ece82
lea esi, [esp + 0x88]
mov ecx, esi
call fcn.004b45b7
mov ecx, esi
call fcn.004c77f6
mov ecx, ebx
mov edx, edi
call fcn.00514315
movsd xmm1, qword [esp + 0x98]
movsd xmm0, qword [esp + 0xa0]
movsd xmm2, qword [esp + 0x88]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
movsd qword [esp + 0x38], xmm1
movsd xmm1, qword [esp + 0x90]
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x28], xmm2
movsd qword [esp + 0x30], xmm1
call fcn.00422701
lea ecx, [esp + 0xa8]
call fcn.004b4598
push 0x28
pop ecx
push 8
pop edx
call fcn.0049c41a
xor ecx, ecx
inc ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
movsd qword [eax + 8], xmm0
movsd qword [eax + 0x10], xmm1
movsd xmm0, qword [esp + 0x38]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [eax + 0x20], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 4]
inc eax
cmp eax, 1
je 0x4ecf5a
cmp byte [ecx + eax - 2], 0
lea ebx, [eax - 1]
mov eax, ebx
je 0x4ecf47
jmp 0x4ecf5c
xor ebx, ebx
cmp byte [esp + 0x14], 7
jne 0x4ed088
lea ecx, [esp + 0x118]
mov dword [esp + 8], ebx
mov dword [esp + 0x14], 0
and dword [ecx], 0
xor eax, eax
and dword [esp + 0x28], 0
inc eax
mov dword [ecx + 4], eax
and dword [ecx + 8], 0
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
and dword [esp + 0x40], 0
xor ecx, ecx
mov eax, dword [esp + 4]
mov esi, ecx
mov ebx, 0
lea edx, [eax + ecx]
mov eax, dword [esp + 8]
sub eax, ecx
mov ecx, edx
cmovb ecx, ebx
cmovae edi, eax
jb 0x4ed049
cmp eax, 7
ja 0x4ecfdf
xor eax, eax
xor ebx, ebx
cmp edi, ebx
je 0x4ecfec
cmp byte [ecx + ebx], 0
je 0x4ecff0
inc ebx
jmp 0x4ecfd2
xor ecx, ecx
push eax
call fcn.00420680
pop ecx
mov ebx, edx
jmp 0x4ecff3
mov ebx, edi
jmp 0x4ecff3
xor eax, eax
inc eax
cmp eax, 1
jne 0x4ed049
add ebx, esi
mov ecx, ebx
inc ecx
je 0x4ecfa7
cmp ecx, dword [esp + 8]
ja 0x4ecfa7
add ebx, dword [esp + 4]
cmp byte [ebx], 0
jne 0x4ecfa7
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x118]
mov esi, ecx
mov ecx, edi
add edx, dword [esp + 4]
push ebx
call fcn.00523ba7
pop eax
mov ecx, edi
lea eax, [0x652239]
mov edx, 0x652238
push eax
call fcn.00523ba7
mov ecx, esi
add esp, 4
mov dword [esp + 0x14], esi
jmp 0x4ecfa7
mov esi, dword [esp + 4]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
lea ebx, [esp + 0x118]
mov ecx, ebx
add eax, esi
add edx, esi
push eax
call fcn.00523ba7
pop eax
mov ecx, dword [esp + 0xc]
mov edx, esi
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
call fcn.00422701
mov dword [esp + 4], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xc8]
call fcn.004ee4f7
cmp dword [esp + 0xc], 0x80000000
je 0x4ec767
cmp dword [esp + 0x18], 1
je 0x4ed0be
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
call fcn.00422701
mov dword [esp + 0xc], 0x80000000
mov ecx, edi
call fcn.00523cf3
mov ecx, 0x80000001
call fcn.00523cf3
mov edi, dword [esp + 0xc]
jmp 0x4ec79b