Function at 0x440524
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x7c
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], 0xf
mov esi, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov byte [esi + 4], 0
mov dword [ebp - 0x64], 0x53474c
mov dword [ebp - 0x60], 0x53e7c8
mov dword [ebp - 0x5c], ebp
mov dword [ebp - 0x54], esp
mov dword [ebp - 0x5c], 0x440a1f
lea eax, [ebp - 0x80]
call fcn.005353b5
mov eax, esi
test edi, edi
je 0x4409b4
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
add eax, 4
mov dword [ebp - 0x2c], eax
lea eax, [ecx + 4]
mov dword [ebp - 0x1c], eax
mov cl, byte [ebp - 0x17]
mov dl, byte [ebp - 0x16]
xor ebx, ebx
nop word cs:[eax + eax]
movzx eax, byte [esi]
mov byte [ebp + ebx - 0x1f], al
inc ebx
cmp ebx, 3
jne 0x44081f
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
movzx eax, byte [ebp - 0x1f]
movzx ecx, byte [ebp - 0x1e]
mov edx, eax
shr dl, 2
mov byte [ebp - 0x11], dl
shl al, 4
and al, 0x30
mov edx, ecx
shr dl, 4
or dl, al
mov byte [ebp - 0x12], dl
shl cl, 2
and cl, 0x3c
movzx eax, byte [ebp - 0x1d]
mov edx, eax
shr dl, 6
or dl, cl
mov byte [ebp - 0x24], dl
mov byte [ebp - 0x15], dl
and al, 0x3f
mov byte [ebp - 0x28], al
mov byte [ebp - 0x14], al
movzx eax, byte [ebp - 0x11]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 0x10
mov ecx, dword [ebp - 0x1c]
jb 0x44060e
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
cmp ecx, 0xfffffffe
jae 0x4409ce
inc ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x78], 2
sub esp, 4
push 0
mov dword [ebp - 0x30], ecx
push ecx
push eax
call fcn.004039a0
add esp, 0x10
test al, al
mov edx, dword [ebp - 0x2c]
je 0x44067c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x18], 0x10
mov ecx, edx
jb 0x44065b
mov ecx, dword [edx]
movzx ebx, byte [ebp - 0x13]
mov byte [ecx + eax], bl
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0x10
mov eax, edx
jb 0x44066f
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x14], edx
mov byte [eax + edx], 0
movzx eax, byte [ebp - 0x12]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 0xf
mov ecx, dword [ebp - 0x1c]
jbe 0x440691
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
cmp ecx, 0xfffffffd
ja 0x4409ce
inc ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x78], 7
sub esp, 4
push 0
mov dword [ebp - 0x30], ecx
push ecx
push eax
call fcn.004039a0
add esp, 0x10
test al, al
mov edx, dword [ebp - 0x2c]
je 0x4406ff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x18], 0x10
mov ecx, edx
jb 0x4406de
mov ecx, dword [edx]
movzx ebx, byte [ebp - 0x13]
mov byte [ecx + eax], bl
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0x10
mov eax, edx
jb 0x4406f2
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x14], edx
mov byte [eax + edx], 0
movzx eax, byte [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 0x10
mov ecx, dword [ebp - 0x1c]
jb 0x440714
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
cmp ecx, 0xfffffffd
ja 0x4409ce
inc ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x78], 8
sub esp, 4
push 0
mov dword [ebp - 0x24], ecx
push ecx
push eax
call fcn.004039a0
add esp, 0x10
test al, al
je 0x440782
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x18], 0x10
mov edx, dword [ebp - 0x2c]
mov ecx, edx
jb 0x440761
mov ecx, dword [edx]
movzx ebx, byte [ebp - 0x30]
mov byte [ecx + eax], bl
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0x10
mov eax, edx
jb 0x440775
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x14], edx
mov byte [eax + edx], 0
movzx eax, byte [ebp - 0x28]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 0x10
mov ecx, dword [ebp - 0x1c]
jb 0x440797
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
cmp ecx, 0xfffffffd
ja 0x4409ce
inc ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x78], 9
sub esp, 4
push 0
mov dword [ebp - 0x24], ecx
push ecx
push eax
call fcn.004039a0
add esp, 0x10
movzx ecx, byte [ebp - 0x11]
xor ebx, ebx
movzx edx, byte [ebp - 0x12]
test al, al
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
je 0x44081f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x18], 0x10
mov edx, dword [ebp - 0x2c]
mov ecx, edx
jb 0x4407f4
mov ecx, dword [edx]
movzx ebx, byte [ebp - 0x28]
mov byte [ecx + eax], bl
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0x10
mov eax, edx
jb 0x440808
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x14], edx
mov byte [eax + edx], 0
movzx ecx, byte [ebp - 0x11]
xor ebx, ebx
movzx edx, byte [ebp - 0x12]
dec edi
inc esi
test edi, edi
jne 0x4405a4
mov byte [ebp - 0x17], cl
mov byte [ebp - 0x16], dl
test ebx, ebx
je 0x4409b4
cmp ebx, 2
jg 0x440856
lea eax, [ebp + ebx - 0x1f]
mov ecx, 3
sub ecx, ebx
sub esp, 4
push ecx
push 0
push eax
call fcn.00524727
add esp, 0x10
mov cl, byte [ebp - 0x1f]
mov dl, byte [ebp - 0x1e]
mov eax, ecx
shr al, 2
mov byte [ebp - 0x17], al
shl cl, 4
and cl, 0x30
mov ah, dl
shr ah, 4
or ah, cl
mov byte [ebp - 0x16], ah
shl dl, 2
and dl, 0x3c
mov cl, byte [ebp - 0x1d]
shr cl, 6
or cl, dl
mov byte [ebp - 0x15], cl
test ebx, ebx
js 0x44093d
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], ebx
jmp 0x4408ad
movzx eax, byte [ebp + ecx - 0x16]
inc ecx
mov dword [ebp - 0x28], ecx
movzx eax, al
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 0x10
mov ecx, dword [ebp - 0x1c]
jb 0x4408c1
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
cmp ecx, 0xfffffffe
jae 0x4409f1
inc ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x78], 4
sub esp, 4
push 0
mov dword [ebp - 0x38], ecx
push ecx
push eax
call fcn.004039a0
add esp, 0x10
test al, al
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x24]
je 0x440932
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x18], 0x10
mov ecx, edx
jb 0x440911
mov ecx, dword [edx]
movzx eax, byte [ebp - 0x34]
mov byte [ecx + esi], al
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0x10
mov eax, edx
jb 0x440925
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x14], edx
mov byte [eax + edx], 0
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
jl 0x4408a4
cmp ebx, 2
jg 0x4409b4
dec ebx
nop
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
cmp ecx, 0xfffffffe
jae 0x440a08
inc ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x78], 6
sub esp, 4
push 0
mov dword [ebp - 0x1c], ecx
push ecx
push eax
call fcn.004039a0
add esp, 0x10
test al, al
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x24]
je 0x4409ae
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x18], 0x10
mov ecx, edx
jb 0x440990
mov ecx, dword [edx]
mov byte [ecx + eax], 0x3d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0x10
mov eax, edx
jb 0x4409a1
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], edx
mov byte [eax + edx], 0
inc ebx
cmp ebx, 2
jl 0x440944
sub esp, 0xc
lea eax, [ebp - 0x80]
push eax
call fcn.005353d6
add esp, 0x10
mov eax, dword [ebp + 8]
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x12]
mov byte [ebp - 0x16], al
mov dword [ebp - 0x78], 1
sub esp, 0xc
push 0x53e77d
call fcn.0051fe94
add esp, 0xc
mov dword [ebp - 0x78], 3
sub esp, 0xc
push 0x53e77d
call fcn.0051fe94
add esp, 0xc
mov dword [ebp - 0x78], 5
sub esp, 0xc
push 0x53e77d
call fcn.0051fe94
add esp, 0xc
mov eax, dword [ebp - 0x7c]
cmp eax, 9
jbe 0x440a2b
ud2
sub eax, 1
jmp dword [eax*4 + 0x440acc]
jmp case.0x440a30.5
jmp case.0x440a30.5
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
mov dl, byte [ebp - 0x11]
mov byte [ebp - 0x17], dl
mov dl, byte [ebp - 0x12]
mov byte [ebp - 0x16], dl
jmp 0x440a55
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x440a95
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
inc eax
cmp eax, 0x1000
mov eax, dword [ebp - 0x40]
jb 0x440a89
mov eax, dword [ebp - 0x40]
mov eax, dword [eax - 4]
sub esp, 0xc
push eax
call fcn.0051a4c8
add esp, 0x10
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0xf
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 4], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x78], 0xffffffff
sub esp, 0xc
push eax
call fcn.00535354
add esp, 0xc
nop dword [eax]
aaa
or al, byte [eax + eax + 59]
or al, byte [eax + eax + 0x37]
or al, byte [eax + eax + 0x39]
or al, byte [eax + eax + 0x37]
or al, byte [eax + eax + 0x4f]
or al, byte [eax + eax + 0x3b]
or al, byte [eax + eax + 0x3b]
or al, byte [eax + eax + 0x3b]
or al, byte [eax + eax + 0x55]
push ebp