Function at 0x43499f
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax]
movzx eax, byte [edx + 1]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
inc edx
shr esi, 0xb
and esi, 1
inc edx
push edi
test esi, esi
je 0x434a02
cmp eax, 0xc0
jl 0x434a02
mov ecx, eax
and ecx, 0x3f
movzx edi, byte [ecx + 0x480670]
mov ebx, dword [edi*4 + 0x480654]
lea ecx, [edi + edi*2]
and ebx, eax
add ecx, ecx
shl ebx, cl
mov eax, ebx
test edi, edi
jle 0x434a02
jmp 0x4349ef
movzx ebx, byte [edx]
sub ecx, 6
and ebx, 0x3f
shl ebx, cl
dec edi
inc edx
or eax, ebx
test edi, edi
jg 0x4349ef
dec edx
test eax, eax
jne 0x434a1c
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx], 1
mov ecx, dword [esp + 0xc]
pop ebp
mov dword [ecx], edx
pop ebx
ret
lea ecx, [eax - 0x30]
cmp ecx, 0x4a
ja 0x434d58
movsx ebx, word [ecx*2 + 0x481010]
test ebx, ebx
je 0x434a41
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword [ecx], edx
pop ebx
ret
cmp ecx, 0x48
ja case.0x434a51.10
movzx edi, byte [ecx + 0x434d7f]
jmp dword [edi*4 + 0x434d63]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx], 0x25
mov ecx, dword [esp + 0xc]
pop ebp
mov dword [ecx], edx
pop ebx
ret
mov al, byte [edx + 1]
cmp al, 0x3c
je 0x434b7e
cmp al, 0x27
je 0x434b7e
cmp al, 0x7b
jne 0x434ace
mov al, byte [edx + 2]
lea ecx, [edx + 2]
test al, al
je 0x434aab
nop
cmp al, 0x7d
je 0x434ab3
cmp al, 0x2d
je 0x434aa3
movzx eax, al
test byte [eax + 0x481b48], 4
je 0x434ab3
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x434a8f
mov esi, 1
inc edx
jmp 0x434ad0
mov cl, byte [ecx]
test cl, cl
je 0x434aab
cmp cl, 0x7d
je 0x434aab
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, 0xffffffe4
mov dword [ecx], edx
pop ebx
ret
xor esi, esi
cmp byte [edx + 1], 0x2d
jne 0x434ade
mov ecx, 1
inc edx
jmp 0x434ae0
xor ecx, ecx
movzx edi, byte [edx + 1]
xor eax, eax
test byte [edi + 0x481b48], 4
je 0x434b10
movzx edi, byte [edx + 1]
inc edx
lea eax, [eax + eax*4]
lea eax, [edi + eax*2 - 0x30]
movzx edi, byte [edx + 1]
test byte [edi + 0x481b48], 4
jne 0x434aef
test eax, eax
jl 0x434bc3
test esi, esi
je 0x434b2f
inc edx
cmp byte [edx], 0x7d
je 0x434b2f
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx], 0x39
mov ecx, dword [esp + 0xc]
pop ebp
mov dword [ecx], edx
pop ebx
ret
test eax, eax
jne 0x434b48
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx], 0x3a
mov ecx, dword [esp + 0xc]
pop ebp
mov dword [ecx], edx
pop ebx
ret
test ecx, ecx
je 0x434b6a
cmp eax, ebp
jle 0x434b65
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx], 0xf
mov ecx, dword [esp + 0xc]
pop ebp
mov dword [ecx], edx
pop ebx
ret
sub ebp, eax
inc ebp
mov eax, ebp
pop edi
mov ecx, 0xffffffe3
sub ecx, eax
pop esi
mov eax, ecx
mov ecx, dword [esp + 0xc]
pop ebp
mov dword [ecx], edx
pop ebx
ret
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, 0xffffffe5
mov dword [ecx], edx
pop ebx
ret
cmp dword [esp + 0x24], 0
jne 0x434be3
mov eax, ecx
movzx ecx, byte [edx + 1]
test byte [ecx + 0x481b48], 4
mov edi, edx
je 0x434bbf
movzx ecx, byte [edx + 1]
inc edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2 - 0x30]
movzx ecx, byte [edx + 1]
test byte [ecx + 0x481b48], 4
jne 0x434ba6
test eax, eax
jge 0x434bd8
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx], 0x3d
mov ecx, dword [esp + 0xc]
pop ebp
mov dword [ecx], edx
pop ebx
ret
cmp eax, 0xa
jl 0x434b6a
cmp eax, ebp
jle 0x434b6a
mov edx, edi
movzx eax, byte [edx]
cmp eax, 0x38
jl case.0x434a51.0
mov ecx, dword [esp + 0x14]
pop edi
pop esi
dec edx
pop ebp
xor eax, eax
mov dword [ecx], edx
pop ebx
ret
sub eax, 0x30
lea ecx, [ecx]
mov cl, byte [edx + 1]
inc ebx
cmp cl, 0x30
jb 0x434c1b
cmp cl, 0x37
ja 0x434c1b
movzx ecx, byte [edx + 1]
inc edx
cmp ebx, 2
lea eax, [ecx + eax*8 - 0x30]
jl 0x434bff
test esi, esi
jne 0x434d58
cmp eax, 0xff
jle 0x434d58
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx], 0x33
mov ecx, dword [esp + 0xc]
pop ebp
mov dword [ecx], edx
pop ebx
ret
cmp byte [edx + 1], 0x7b
jne 0x434ccc
movzx edi, byte [edx + 2]
lea ebp, [edx + 2]
xor ecx, ecx
xor eax, eax
test byte [edi + 0x481b48], 8
je 0x434c9f
inc ebp
test eax, eax
jne 0x434c6b
cmp edi, 0x30
je 0x434c92
inc ecx
cmp edi, 0x61
mov dword [esp + 0x20], ecx
jl 0x434c78
sub edi, 0x20
xor ecx, ecx
cmp edi, 0x41
setge cl
shl eax, 4
dec ecx
and ecx, 0xfffffff9
add ecx, 0x37
sub eax, ecx
mov ecx, dword [esp + 0x20]
add eax, edi
movzx edi, byte [ebp]
test byte [edi + 0x481b48], 8
jne 0x434c61
cmp byte [ebp], 0x7d
jne 0x434ccc
test eax, eax
jl 0x434cb7
neg esi
sbb esi, esi
and esi, 6
add esi, 2
cmp ecx, esi
jle 0x434cc1
mov edx, dword [esp + 0x18]
mov dword [edx], 0x22
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword [ecx], ebp
pop ebp
pop ebx
ret
xor eax, eax
nop
movzx ecx, byte [edx + 1]
inc ebx
test byte [ecx + 0x481b48], 8
je 0x434d58
movzx esi, byte [edx + 1]
inc edx
cmp esi, 0x61
jl 0x434cea
sub esi, 0x20
xor ecx, ecx
cmp esi, 0x41
setge cl
shl eax, 4
dec ecx
and ecx, 0xfffffff9
add ecx, 0x37
sub eax, ecx
add eax, esi
cmp ebx, 2
jl 0x434ccf
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
ret
movzx eax, byte [edx + 1]
inc edx
test eax, eax
jne 0x434d2e
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx], 2
mov ecx, dword [esp + 0xc]
pop ebp
mov dword [ecx], edx
pop ebx
ret
lea ecx, [eax - 0x61]
cmp ecx, 0x19
ja 0x434d39
sub eax, 0x20
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
xor eax, 0x40
mov dword [ecx], edx
pop ebx
ret
test byte [esp + 0x20], 0x40
je 0x434d58
mov ecx, dword [esp + 0x18]
mov dword [ecx], 3
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
ret