Function at 0x409100
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43426e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x28], 0
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 1
test eax, eax
je 0x409663
push esi
nop word [eax + eax]
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + ebx - 0x14], al
inc ebx
mov dl, byte [ebp - 0x13]
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x10], ch
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xf], cl
cmp ebx, 3
jne 0x40933d
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
and ch, 0x3f
mov cl, dl
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ch
shl cl, 2
add cl, al
xor eax, eax
mov byte [ebp - 0x16], cl
mov dword [ebp - 0x24], eax
nop word [eax + eax]
cmp dword [0x445014], 0x10
mov ecx, section..data
movzx eax, byte [ebp + eax - 0x18]
cmovae ecx, dword [section..data]
mov ebx, dword [edi + 0x14]
mov dword [ebp - 0x20], ebx
mov dl, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0xd], dl
mov dword [ebp - 0x1c], ecx
cmp ecx, ebx
jae 0x40921a
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp ebx, 0x10
jb 0x40920d
mov eax, dword [edi]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x40931f
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x409675
lea esi, [ecx + 1]
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x409242
mov esi, 0x7fffffff
lea eax, [esi + 0x24]
jmp 0x409279
mov edx, ebx
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp ebx, eax
jbe 0x40925b
mov esi, 0x7fffffff
lea eax, [esi + 0x24]
jmp 0x409279
lea eax, [ebx + edx]
cmp esi, eax
cmovb esi, eax
lea edx, [esi + 1]
cmp edx, 0x1000
jb 0x409298
lea eax, [edx + 0x23]
cmp eax, edx
jbe 0x40967a
push eax
call fcn.00411ddb
add esp, 4
test eax, eax
je 0x40967f
mov ecx, dword [ebp - 0x1c]
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4092ae
test edx, edx
je 0x4092ac
push edx
call fcn.00411ddb
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov ebx, eax
jmp 0x4092ae
xor ebx, ebx
cmp dword [ebp - 0x20], 0x10
lea eax, [ecx + 1]
mov dword [edi + 0x14], esi
lea esi, [ebx + ecx]
mov dword [edi + 0x10], eax
mov dword [ebp - 0x1c], esi
push ecx
jb 0x40930a
mov esi, dword [edi]
push esi
push ebx
call fcn.00413370
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [eax], cl
mov ecx, dword [ebp - 0x20]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x4092fe
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x40967f
mov esi, edx
push ecx
push esi
call fcn.00411e0b
add esp, 8
jmp 0x40931d
push edi
push ebx
call fcn.00413370
mov cl, byte [ebp - 0xd]
add esp, 0xc
mov byte [esi], cl
mov byte [esi + 1], 0
mov dword [edi], ebx
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 4
jl 0x4091d0
mov dl, byte [ebp - 0xe]
xor ebx, ebx
mov cl, byte [ebp - 0xf]
mov ch, byte [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x409160
test ebx, ebx
je 0x409662
cmp ebx, 3
jge 0x409376
mov eax, 3
sub eax, ebx
push eax
lea eax, [ebp - 0x14]
add eax, ebx
push 0
push eax
call fcn.004138f0
mov ch, byte [ebp - 0x12]
add esp, 0xc
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
and ch, 0x3f
shr al, 6
add dl, al
mov byte [ebp - 0x15], ch
lea ecx, [ebx + 1]
mov byte [ebp - 0x16], dl
xor eax, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], eax
test ecx, ecx
jle 0x409522
nop word [eax + eax]
cmp dword [0x445014], 0x10
mov ecx, section..data
movzx eax, byte [ebp + eax - 0x18]
cmovae ecx, dword [section..data]
mov ebx, dword [edi + 0x14]
mov dword [ebp - 0x20], ebx
mov dl, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp + 0x13], dl
mov dword [ebp - 0x24], ecx
cmp ecx, ebx
jae 0x40940a
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp ebx, 0x10
jb 0x4093fd
mov eax, dword [edi]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x40950f
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x409675
lea esi, [ecx + 1]
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x409432
mov esi, 0x7fffffff
lea eax, [esi + 0x24]
jmp 0x409469
mov edx, ebx
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp ebx, eax
jbe 0x40944b
mov esi, 0x7fffffff
lea eax, [esi + 0x24]
jmp 0x409469
lea eax, [ebx + edx]
cmp esi, eax
cmovb esi, eax
lea edx, [esi + 1]
cmp edx, 0x1000
jb 0x409488
lea eax, [edx + 0x23]
cmp eax, edx
jbe 0x40967a
push eax
call fcn.00411ddb
add esp, 4
test eax, eax
je 0x40967f
mov ecx, dword [ebp - 0x24]
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x40949e
test edx, edx
je 0x40949c
push edx
call fcn.00411ddb
mov ecx, dword [ebp - 0x24]
add esp, 4
mov ebx, eax
jmp 0x40949e
xor ebx, ebx
cmp dword [ebp - 0x20], 0x10
lea eax, [ecx + 1]
mov dword [edi + 0x14], esi
lea esi, [ebx + ecx]
mov dword [edi + 0x10], eax
mov dword [ebp - 0x24], esi
push ecx
jb 0x4094fa
mov esi, dword [edi]
push esi
push ebx
call fcn.00413370
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov cl, byte [ebp + 0x13]
mov byte [eax], cl
mov ecx, dword [ebp - 0x20]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x4094ee
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x40967f
mov esi, edx
push ecx
push esi
call fcn.00411e0b
add esp, 8
jmp 0x40950d
push edi
push ebx
call fcn.00413370
mov cl, byte [ebp + 0x13]
add esp, 0xc
mov byte [esi], cl
mov byte [esi + 1], 0
mov dword [edi], ebx
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x2c]
jl 0x4093c0
mov ebx, dword [ebp - 0x1c]
cmp ebx, 3
jge 0x409662
nop dword [eax + eax]
mov ecx, dword [edi + 0x10]
inc ebx
mov dword [ebp - 0x1c], ebx
mov ebx, dword [edi + 0x14]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x24], ebx
cmp ecx, ebx
jae 0x40955e
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp ebx, 0x10
jb 0x409553
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x409656
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x409675
lea esi, [ecx + 1]
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x409586
mov esi, 0x7fffffff
lea ecx, [esi + 0x24]
jmp 0x4095bc
mov edx, ebx
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp ebx, eax
jbe 0x40959f
mov esi, 0x7fffffff
lea ecx, [esi + 0x24]
jmp 0x4095bc
lea eax, [ebx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x4095db
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x40967a
push ecx
call fcn.00411ddb
add esp, 4
test eax, eax
je 0x40967f
mov ecx, dword [ebp + 0x10]
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4095f1
test eax, eax
je 0x4095ef
push eax
call fcn.00411ddb
mov ecx, dword [ebp + 0x10]
add esp, 4
mov ebx, eax
jmp 0x4095f1
xor ebx, ebx
cmp dword [ebp - 0x24], 0x10
lea eax, [ecx + 1]
mov dword [edi + 0x14], esi
lea esi, [ebx + ecx]
mov dword [edi + 0x10], eax
mov dword [ebp + 0x10], esi
push ecx
jb 0x409645
mov esi, dword [edi]
push esi
push ebx
call fcn.00413370
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
inc ecx
mov word [eax], 0x3d
cmp ecx, 0x1000
jb 0x409639
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x40967f
mov esi, edx
push ecx
push esi
call fcn.00411e0b
add esp, 8
jmp 0x409654
push edi
push ebx
call fcn.00413370
add esp, 0xc
mov word [esi], 0x3d
mov dword [edi], ebx
mov ebx, dword [ebp - 0x1c]
cmp ebx, 3
jl 0x409530
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00408700
call fcn.004086e0
call fcn.00416200
int3