Function at 0x4d0b0c
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [0xd80dfc]
sub esp, 0x10
mov ecx, dword [eax + 0x22c]
push ebx
push ebp
push esi
xor esi, esi
push edi
cmp ecx, esi
jne 0x4d10b0
mov edi, dword [eax + 0x20]
inc edi
mov dword [eax + 0x20], edi
mov eax, dword [0xd80dfc]
mov ecx, dword [eax + 0x20]
cmp ecx, 0x18
jge 0x4d0b5b
mov dword [eax + ecx*4 + 0x24], 0x4b
mov eax, dword [0xd80dfc]
cmp dword [eax + 0x244], esi
je 0x4d0b5b
call fcn.004ce81c
mov eax, dword [0xd80dfc]
mov ecx, dword [eax + 8]
cmp ecx, esi
je 0x4d109e
cmp ecx, 0x100
ja 0x4d109e
cmp dword [eax + 0x90], esi
jne 0x4d0b81
push 0x12
jmp 0x4d10a0
mov edi, dword [esp + 0x24]
xor ebp, ebp
push edi
mov dword [esp + 0x18], ebp
call fcn.004cf23c
push edi
push 1
mov dword [esp + 0x28], eax
call fcn.004cf25c
mov ebx, dword [edi]
mov eax, dword [0xd80dfc]
add esp, 0xc
cmp ebx, esi
mov ecx, 0x3c
jne 0x4d0c08
cmp dword [eax + 8], ecx
ja 0x4d0c08
cmp dword [eax + 0x88], esi
jne 0x4d0bca
mov eax, dword [esp + 0x28]
mov byte [eax], 0x30
mov byte [eax + 1], 0
jmp 0x4d0bef
mov eax, dword [eax + 0x98]
push eax
push 0x30
call fcn.004d4464
mov ecx, dword [0xd80dfc]
mov edx, dword [ecx + 0x98]
push edx
push 0xa
call fcn.004d4464
add esp, 0x10
mov eax, dword [0xd80dfc]
pop edi
pop esi
pop ebp
mov ecx, dword [eax + 0x20]
pop ebx
dec ecx
mov dword [eax + 0x20], ecx
mov eax, 1
add esp, 0x10
ret
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
cmp edx, 0xffffffff
jne 0x4d0c4a
cmp dword [eax + 8], ecx
ja 0x4d0c4a
cmp dword [eax + 0x88], esi
jne 0x4d0c2b
mov eax, dword [esp + 0x28]
mov byte [eax], 0x2d
jmp 0x4d0c3c
mov ecx, dword [eax + 0x98]
push ecx
push 0x2d
call fcn.004d4464
add esp, 8
mov eax, dword [0xd80dfc]
mov ebp, 1
mov dword [esp + 0x14], ebp
mov edx, dword [eax + 0x1ec]
mov dword [esp + 0x18], esi
push edx
push edi
call fcn.004cf92c
mov eax, dword [0xd80dfc]
add esp, 8
cmp dword [eax + 0x240], esi
je 0x4d0db4
mov eax, dword [eax + 0x1e8]
push eax
push edi
call fcn.004cfa2c
mov ecx, dword [0xd80dfc]
mov edx, dword [ecx + 0x1e8]
push edx
call fcn.004cf6cc
add esp, 0xc
cmp eax, 1
jle 0x4d0daf
mov edi, ebx
and edi, 0xffff
shr ebx, 0x10
cmp edi, esi
jne 0x4d0cae
mov edi, 1
mov eax, dword [0xd80dfc]
cmp ebx, edi
mov ecx, dword [eax + 0x84]
mov dword [eax + 0x84], esi
mov dword [esp + 0x10], ecx
jge 0x4d0ce4
mov edx, dword [0xd80dfc]
mov ecx, edi
sub ecx, ebx
mov eax, dword [edx + 0x1e8]
push eax
push ecx
push eax
call fcn.004cf55c
add esp, 0xc
cmp ebx, edi
jle 0x4d0d01
mov edx, dword [0xd80dfc]
mov ecx, ebx
sub ecx, edi
mov eax, dword [edx + 0x1ec]
push eax
push ecx
push eax
call fcn.004cf55c
add esp, 0xc
mov eax, dword [0xd80dfc]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x1e8]
mov eax, dword [eax + 0x1ec]
push edx
push eax
call fcn.004cf70c
add esp, 8
test eax, eax
jl 0x4d0d24
dec esi
mov eax, dword [0xd80dfc]
mov ecx, dword [eax + 0x1d4]
mov edx, dword [eax + 0x1ec]
push ecx
push edx
call fcn.004cf48c
mov eax, dword [0xd80dfc]
add esp, 8
mov ecx, dword [eax + 0x1d4]
mov eax, dword [eax + 0x1c]
shl eax, 1
mov edx, dword [ecx]
lea ebp, [edx + esi]
cmp ebp, eax
jle 0x4d0d5c
sub eax, edx
mov esi, eax
push ecx
push esi
push ecx
call fcn.004cf55c
mov eax, dword [0xd80dfc]
mov ecx, dword [eax + 0x1ec]
mov edx, dword [eax + 0x1e8]
mov eax, dword [eax + 0x1d4]
push ecx
push edx
push eax
call fcn.004d237c
mov ecx, dword [0xd80dfc]
mov edx, dword [esp + 0x28]
sub esi, edi
mov ebp, dword [esp + 0x2c]
mov dword [ecx + 0x84], edx
mov eax, dword [0xd80dfc]
add esi, ebx
add esp, 0x18
imul esi, dword [eax + 0xc]
mov dword [esp + 0x10], esi
xor esi, esi
jmp 0x4d0db4
mov eax, dword [0xd80dfc]
mov eax, dword [eax + 0x1ec]
mov edi, dword [esp + 0x10]
push eax
call fcn.004cf32c
add esp, 4
cmp edi, eax
mov dword [esp + 0x14], eax
jle 0x4d0dd1
mov eax, edi
cmp eax, esi
mov edi, eax
jle 0x4d0f36
mov ecx, dword [0xd80dfc]
mov eax, dword [ecx + 0x88]
cmp eax, esi
jne 0x4d0e0a
mov edx, dword [esp + 0x28]
mov ebx, dword [ecx + 0x24c]
cmp edx, ebx
jne 0x4d0e0a
mov edx, dword [ecx + 0x224]
sub edx, 5
cmp ebp, edx
jge 0x4d0fd0
cmp edi, dword [esp + 0x10]
jne 0x4d0e3c
cmp dword [ecx + 8], 0x3c
ja 0x4d0e3c
cmp eax, esi
jne 0x4d0e24
mov eax, dword [esp + 0x28]
mov byte [eax + ebp], 0x2e
jmp 0x4d0e35
mov ecx, dword [ecx + 0x98]
push ecx
push 0x2e
call fcn.004d4464
add esp, 8
mov ecx, dword [0xd80dfc]
inc ebp
cmp edi, dword [esp + 0x14]
jle 0x4d0e4c
mov ebx, 0x30
jmp 0x4d0edb
mov edx, dword [ecx + 0x1ec]
push edi
push edx
call fcn.004cf2cc
mov ebx, eax
mov eax, dword [0xd80dfc]
push edi
mov dword [eax + 0x84], esi
mov ecx, dword [0xd80dfc]
mov edx, dword [ecx + 0x1ec]
push edx
push esi
call fcn.004cf37c
mov ecx, dword [0xd80dfc]
add esp, 0x14
mov eax, dword [ecx + 8]
cmp eax, 0x3c
ja 0x4d0e9e
add ebx, 0x30
cmp ebx, 0x3a
jl 0x4d0e96
add ebx, 7
cmp ebx, 0x5b
jl 0x4d0e9e
add ebx, 6
cmp eax, 0x40
jne 0x4d0edb
cmp ebx, 0x1a
jge 0x4d0eb0
add ebx, 0x41
cmp ebx, 0x1a
jl 0x4d0eb8
cmp ebx, 0x34
jge 0x4d0ebd
add ebx, 0x47
cmp ebx, 0x34
jl 0x4d0ec5
cmp ebx, 0x3e
jge 0x4d0ec8
sub ebx, 4
cmp ebx, 0x3e
jne 0x4d0ed1
mov ebx, 0x2b
jmp 0x4d0edb
cmp ebx, 0x3f
jne 0x4d0edb
mov ebx, 0x2f
cmp edi, dword [esp + 0x10]
jge 0x4d0f05
cmp dword [ecx + 8], 0x3c
ja 0x4d0f05
cmp ebx, 0x30
jne 0x4d0f05
mov eax, dword [ecx + 0x1ec]
push eax
call fcn.004cf6cc
add esp, 4
test eax, eax
je 0x4d0f36
mov ecx, dword [0xd80dfc]
cmp dword [ecx + 0x88], esi
jne 0x4d0f16
mov ecx, dword [esp + 0x28]
mov byte [ecx + ebp], bl
jmp 0x4d0f2c
mov edx, dword [ecx + 0x98]
and ebx, 0xff
push edx
push ebx
call fcn.004d4464
add esp, 8
inc ebp
dec edi
cmp edi, esi
jg 0x4d0ddb
cmp dword [esp + 0x18], esi
jne 0x4d0ff0
mov ecx, dword [0xd80dfc]
cmp dword [ecx + 0x240], esi
jne 0x4d0ff6
mov eax, dword [ecx + 0x1ec]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.004cfa2c
mov edx, dword [0xd80dfc]
mov eax, dword [edx + 0x1ec]
push eax
call fcn.004cf6cc
add esp, 0xc
cmp eax, 1
je 0x4d0ff0
mov eax, dword [0xd80dfc]
cmp dword [eax + 8], 0x3c
ja 0x4d0fc3
cmp dword [eax + 0x88], esi
jne 0x4d0fac
mov ecx, dword [esp + 0x28]
inc ebp
mov dword [esp + 0x18], 1
mov byte [ecx + ebp - 1], 0x2f
mov eax, dword [0xd80dfc]
jmp 0x4d0db4
mov edx, dword [eax + 0x98]
push edx
push 0x2f
call fcn.004d4464
mov eax, dword [0xd80dfc]
add esp, 8
inc ebp
mov dword [esp + 0x18], 1
jmp 0x4d0db4
push 0x11
call fcn.004ce5ac
mov eax, dword [0xd80dfc]
add esp, 4
mov ecx, dword [eax + 0x20]
pop edi
dec ecx
pop esi
mov dword [eax + 0x20], ecx
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [0xd80dfc]
cmp dword [ecx + 8], 0x40
jne 0x4d1044
mov eax, ebp
mov esi, 3
cdq
idiv esi
test edx, edx
je 0x4d1044
mov esi, dword [esp + 0x28]
mov eax, dword [ecx + 0x88]
test eax, eax
jne 0x4d101e
mov byte [esi + ebp], 0x3d
jmp 0x4d102f
mov eax, dword [ecx + 0x98]
push eax
push 0x3d
call fcn.004d4464
add esp, 8
inc ebp
mov ecx, 3
mov eax, ebp
cdq
idiv ecx
mov ecx, dword [0xd80dfc]
test edx, edx
jne 0x4d100e
mov eax, dword [ecx + 0x88]
test eax, eax
jne 0x4d1058
mov edx, dword [esp + 0x28]
mov byte [edx + ebp], 0
jmp 0x4d1076
mov eax, dword [ecx + 8]
cmp eax, 0x3c
jbe 0x4d1065
cmp eax, 0x40
jne 0x4d1076
mov eax, dword [ecx + 0x98]
push eax
push 0xa
call fcn.004d4464
add esp, 8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call fcn.004cf25c
mov eax, dword [0xd80dfc]
add esp, 8
mov ecx, dword [eax + 0x20]
pop edi
dec ecx
pop esi
mov dword [eax + 0x20], ecx
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret
push 1
call fcn.004ce5ac
mov eax, dword [0xd80dfc]
add esp, 4
dec dword [eax + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret