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

Disassembly:
sub esp, 0xa10
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0xa0c], eax
mov eax, dword [esp + 0xa14]
mov ecx, dword [esp + 0xa18]
push ebp
push esi
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xa24]
mov esi, eax
mov eax, 0x40
mov ebp, 0x3f
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], 0x3e
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd8], 0x34
mov dword [esp + 0xdc], 0x35
mov dword [esp + 0xe0], 0x36
mov dword [esp + 0xe4], 0x37
mov dword [esp + 0xe8], 0x38
mov dword [esp + 0xec], 0x39
mov dword [esp + 0xf0], 0x3a
mov dword [esp + 0xf4], 0x3b
mov dword [esp + 0xf8], 0x3c
mov dword [esp + 0xfc], 0x3d
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 1
mov dword [esp + 0x124], 2
mov dword [esp + 0x128], 3
mov dword [esp + 0x12c], 4
mov dword [esp + 0x130], 5
mov dword [esp + 0x134], 6
mov dword [esp + 0x138], 7
mov dword [esp + 0x13c], 8
mov dword [esp + 0x140], 9
mov dword [esp + 0x144], 0xa
mov dword [esp + 0x148], 0xb
mov dword [esp + 0x14c], 0xc
mov dword [esp + 0x150], 0xd
mov dword [esp + 0x154], 0xe
mov dword [esp + 0x158], 0xf
mov dword [esp + 0x15c], 0x10
mov dword [esp + 0x160], 0x11
mov dword [esp + 0x164], 0x12
mov dword [esp + 0x168], 0x13
mov dword [esp + 0x16c], 0x14
mov dword [esp + 0x170], 0x15
mov dword [esp + 0x174], 0x16
mov dword [esp + 0x178], 0x17
mov dword [esp + 0x17c], 0x18
mov dword [esp + 0x180], 0x19
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], eax
mov dword [esp + 0x19c], 0x1a
mov dword [esp + 0x1a0], 0x1b
mov dword [esp + 0x1a4], 0x1c
mov dword [esp + 0x1a8], 0x1d
mov dword [esp + 0x1ac], 0x1e
mov dword [esp + 0x1b0], 0x1f
mov dword [esp + 0x1b4], 0x20
mov dword [esp + 0x1b8], 0x21
mov dword [esp + 0x1bc], 0x22
mov dword [esp + 0x1c0], 0x23
mov dword [esp + 0x1c4], 0x24
mov dword [esp + 0x1c8], 0x25
mov dword [esp + 0x1cc], 0x26
mov dword [esp + 0x1d0], 0x27
mov dword [esp + 0x1d4], 0x28
mov dword [esp + 0x1d8], 0x29
mov dword [esp + 0x1dc], 0x2a
mov dword [esp + 0x1e0], 0x2b
mov dword [esp + 0x1e4], 0x2c
mov dword [esp + 0x1e8], 0x2d
mov dword [esp + 0x1ec], 0x2e
mov dword [esp + 0x1f0], 0x2f
mov dword [esp + 0x1f4], 0x30
mov dword [esp + 0x1f8], 0x31
mov dword [esp + 0x1fc], 0x32
mov dword [esp + 0x200], 0x33
mov dword [esp + 0x204], eax
mov dword [esp + 0x208], eax
mov dword [esp + 0x20c], eax
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], eax
mov dword [esp + 0x218], eax
mov dword [esp + 0x21c], eax
mov dword [esp + 0x220], eax
mov dword [esp + 0x224], eax
mov dword [esp + 0x228], eax
mov dword [esp + 0x22c], eax
mov dword [esp + 0x230], eax
mov dword [esp + 0x234], eax
mov dword [esp + 0x238], eax
mov dword [esp + 0x23c], eax
mov dword [esp + 0x240], eax
mov dword [esp + 0x244], eax
mov dword [esp + 0x248], eax
mov dword [esp + 0x24c], eax
mov dword [esp + 0x250], eax
mov dword [esp + 0x254], eax
mov dword [esp + 0x258], eax
mov dword [esp + 0x25c], eax
mov dword [esp + 0x260], eax
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], eax
mov dword [esp + 0x26c], eax
mov dword [esp + 0x270], eax
mov dword [esp + 0x274], eax
mov dword [esp + 0x278], eax
mov dword [esp + 0x27c], eax
mov dword [esp + 0x280], eax
mov dword [esp + 0x284], eax
mov dword [esp + 0x288], eax
mov dword [esp + 0x28c], eax
mov dword [esp + 0x290], eax
mov dword [esp + 0x294], eax
mov dword [esp + 0x298], eax
mov dword [esp + 0x29c], eax
mov dword [esp + 0x2a0], eax
mov dword [esp + 0x2a4], eax
mov dword [esp + 0x2a8], eax
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x2b0], eax
mov dword [esp + 0x2b4], eax
mov dword [esp + 0x2b8], eax
mov dword [esp + 0x2bc], eax
mov dword [esp + 0x2c0], eax
mov dword [esp + 0x2c4], eax
mov dword [esp + 0x2c8], eax
mov dword [esp + 0x2cc], eax
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x2d4], eax
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], eax
mov dword [esp + 0x2e0], eax
mov dword [esp + 0x2e4], eax
mov dword [esp + 0x2e8], eax
mov dword [esp + 0x2ec], eax
mov dword [esp + 0x2f0], eax
mov dword [esp + 0x2f4], eax
mov dword [esp + 0x2f8], eax
mov dword [esp + 0x2fc], eax
mov dword [esp + 0x300], eax
mov dword [esp + 0x304], eax
mov dword [esp + 0x308], eax
mov dword [esp + 0x30c], eax
mov dword [esp + 0x310], eax
mov dword [esp + 0x314], eax
mov dword [esp + 0x318], eax
mov dword [esp + 0x31c], eax
mov dword [esp + 0x320], eax
mov dword [esp + 0x324], eax
mov dword [esp + 0x328], eax
mov dword [esp + 0x32c], eax
mov dword [esp + 0x330], eax
mov dword [esp + 0x334], eax
mov dword [esp + 0x338], eax
mov dword [esp + 0x33c], eax
mov dword [esp + 0x340], eax
mov dword [esp + 0x344], eax
mov dword [esp + 0x348], eax
mov dword [esp + 0x34c], eax
mov dword [esp + 0x350], eax
mov dword [esp + 0x354], eax
mov dword [esp + 0x358], eax
mov dword [esp + 0x35c], eax
mov dword [esp + 0x360], eax
mov dword [esp + 0x364], eax
mov dword [esp + 0x368], eax
mov dword [esp + 0x36c], eax
mov dword [esp + 0x370], eax
mov dword [esp + 0x374], eax
mov dword [esp + 0x378], eax
mov dword [esp + 0x37c], eax
mov dword [esp + 0x380], eax
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], eax
mov dword [esp + 0x38c], eax
mov dword [esp + 0x390], eax
mov dword [esp + 0x394], eax
mov dword [esp + 0x398], eax
mov dword [esp + 0x39c], eax
mov dword [esp + 0x3a0], eax
mov dword [esp + 0x3a4], eax
mov dword [esp + 0x3a8], eax
mov dword [esp + 0x3ac], eax
mov dword [esp + 0x3b0], eax
mov dword [esp + 0x3b4], eax
mov dword [esp + 0x3b8], eax
mov dword [esp + 0x3bc], eax
mov dword [esp + 0x3c0], eax
mov dword [esp + 0x3c4], eax
mov dword [esp + 0x3c8], eax
mov dword [esp + 0x3cc], eax
mov dword [esp + 0x3d0], eax
mov dword [esp + 0x3d4], eax
mov dword [esp + 0x3d8], eax
mov dword [esp + 0x3dc], eax
mov dword [esp + 0x3e0], eax
mov dword [esp + 0x3e4], eax
mov dword [esp + 0x3e8], eax
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], eax
mov dword [esp + 0x3f4], eax
mov dword [esp + 0x3f8], eax
mov dword [esp + 0x3fc], eax
mov dword [esp + 0x400], eax
mov dword [esp + 0x404], eax
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], eax
mov dword [esp + 0x410], eax
mov dword [esp + 0x414], eax
test ecx, ecx
jbe 0x4175f6
movsx edx, byte [esi]
push edx
call fcn.004e786c
add esp, 4
test eax, eax
je 0x4175f6
inc esi
sub edi, 1
jne 0x4175e0
cmp edi, 0x3fc
jbe 0x417608
mov eax, 1
jmp 0x417775
cmp edi, 0x7ffffffe
jbe 0x41761a
mov byte [esp + 0x418], 0
jmp 0x417654
lea eax, [esp + 0x418]
mov ecx, eax
mov edx, 0x400
sub esi, ecx
lea ebx, [ebx]
lea ecx, [edx + edi - 0x400]
test ecx, ecx
je 0x41764c
mov cl, byte [eax + esi]
test cl, cl
je 0x41764c
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x417630
jmp 0x417650
test edx, edx
jne 0x417651
dec eax
mov byte [eax], 0
mov byte [esp + edi + 0x41b], 0
mov byte [esp + edi + 0x41a], 0
mov byte [esp + edi + 0x419], 0
mov byte [esp + edi + 0x418], 0
lea eax, [esp + 0x418]
jmp 0x417680
movsx edx, byte [eax]
inc eax
cmp dword [esp + edx*4 + 0x18], ebp
jle 0x417680
lea ecx, [esp + 0x418]
sub eax, ecx
dec eax
push ebx
mov ebx, eax
lea eax, [ebx + 3]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edi, [eax + eax*2]
cmp dword [esp + 0xa30], edi
mov dword [esp + 0x18], edi
jge 0x4176bd
mov eax, 2
jmp 0x417774
lea eax, [esp + 0x81c]
lea esi, [esp + 0x41c]
test ebx, ebx
jle 0x41773f
lea ecx, [ebx - 1]
shr ecx, 2
inc ecx
mov edx, ecx
neg edx
lea edx, [ebx + edx*4]
mov dword [esp + 0x14], edx
movsx edx, byte [esi]
mov dl, byte [esp + edx*4 + 0x1c]
movsx edi, byte [esi + 1]
mov ebx, dword [esp + edi*4 + 0x1c]
movsx ebp, byte [esi + 2]
add dl, dl
sar ebx, 4
lea edi, [esp + edi*4 + 0x1c]
add dl, dl
or dl, bl
movzx ebx, byte [edi]
mov byte [eax], dl
mov edx, dword [esp + ebp*4 + 0x1c]
lea ebp, [esp + ebp*4 + 0x1c]
shl bl, 4
sar edx, 2
or dl, bl
movzx ebx, byte [ebp]
inc eax
mov byte [eax], dl
movsx edx, byte [esi + 3]
shl bl, 6
or bl, byte [esp + edx*4 + 0x1c]
inc eax
mov byte [eax], bl
inc eax
add esi, 4
sub ecx, 1
jne 0x4176e1
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ebp, [ecx + 0x3f]
test bl, 3
je 0x417754
movsx eax, byte [esi - 2]
cmp dword [esp + eax*4 + 0x1c], ebp
jle 0x417753
sub edi, 2
jmp 0x417754
dec edi
mov edx, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x820]
push ecx
push edx
mov byte [esp + edi + 0x828], 0
call fcn.004e7bd0
add esp, 0xc
mov eax, edi
pop ebx
mov ecx, dword [esp + 0xa18]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004e5fb0
add esp, 0xa10
ret 0x10