Function at 0x412c70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f556
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], 0
push 0x40
mov dword [ebp - 0x34], 0
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.004060e0
mov dword [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp + 8]
xor edi, edi
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x44], 1
test eax, eax
je 0x412eeb
dec eax
mov dword [ebp + 8], eax
mov al, byte [ebx]
inc ebx
mov byte [ebp + edi - 0x18], al
inc edi
mov ah, byte [ebp - 0x16]
mov ch, byte [ebp - 0x17]
mov cl, byte [ebp - 0x18]
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x3f], ah
mov byte [ebp - 0x3d], ch
mov byte [ebp - 0x3e], cl
cmp edi, 3
jne 0x412dce
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x38], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x37], cl
and ah, 0x3f
mov cl, ch
shr al, 6
and cl, 0xf
mov byte [ebp - 0x35], ah
shl cl, 2
add cl, al
xor edi, edi
mov byte [ebp - 0x36], cl
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
movzx eax, byte [ebp + edi - 0x38]
cmovae ecx, edx
mov edx, dword [esi + 0x14]
mov bl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x1c], bl
cmp ecx, edx
jae 0x412da8
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x412d9e
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x412dba
push dword [ebp - 0x1c]
mov byte [ebp - 0x48], 0
push dword [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.00413d50
mov edx, dword [ebp - 0x34]
inc edi
cmp edi, 4
jl 0x412d70
mov ebx, dword [ebp - 0x3c]
xor edi, edi
mov ch, byte [ebp - 0x3d]
mov cl, byte [ebp - 0x3e]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x412d10
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x412eeb
mov eax, edi
cmp edi, 3
jge 0x412e0a
cmp eax, 3
jae 0x412f3b
mov byte [ebp + eax - 0x18], 0
inc eax
cmp eax, 3
jl 0x412dee
mov bl, byte [ebp - 0x16]
mov ch, byte [ebp - 0x17]
mov cl, byte [ebp - 0x18]
jmp 0x412e0d
mov bl, byte [ebp - 0x3f]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x38], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, bl
mov byte [ebp - 0x37], cl
shr al, 6
and bl, 0x3f
add ch, al
mov byte [ebp - 0x35], bl
lea eax, [edi + 1]
mov byte [ebp - 0x36], ch
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x412ea8
mov edi, eax
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
movzx eax, byte [ebp + ebx - 0x38]
cmovae ecx, edx
mov edx, dword [esi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x18], al
cmp ecx, edx
jae 0x412e8b
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x412e7e
mov eax, dword [esi]
mov dl, byte [ebp - 0x18]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x412e9d
push dword [ebp - 0x18]
mov byte [ebp - 0x3c], 0
push dword [ebp - 0x3c]
push ecx
mov ecx, esi
call fcn.00413d50
mov edx, dword [ebp - 0x34]
inc ebx
cmp ebx, edi
jl 0x412e50
mov edi, dword [ebp - 0x1c]
cmp edi, 3
jge 0x412eeb
mov ebx, 3
sub ebx, edi
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x412ed5
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x412ecd
mov eax, dword [esi]
mov word [eax + ecx], 0x3d
jmp 0x412ee6
push 0x3d
mov byte [ebp - 0x3c], 0
push dword [ebp - 0x3c]
push ecx
mov ecx, esi
call fcn.00413d50
sub ebx, 1
jne 0x412eb4
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x412f1d
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x412f13
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f40
push ecx
push edx
call fcn.0043d19d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
call fcn.0043d2f0
call fcn.00446380
int3