Function at 0x1003cf80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
in al, dx
mov ah, 0
add byte [eax], al
mov eax, dword [0x10098070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [0x10099910]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x1009a350]
cmp eax, dword [edx + 4]
jle 0x1003cfe1
push 0x1009a350
call fcn.10068753
add esp, 4
cmp dword [0x1009a350], 0xffffffff
jne 0x1003cfe1
mov ecx, dword [0x1009a360]
mov dword [0x1009a360], ecx
push 0x1009a350
call fcn.10068714
add esp, 4
mov edx, dword [ebp + 8]
mov dword [ebp - 0x48], edx
jmp 0x1003cff2
mov eax, dword [ebp - 0x48]
add eax, 0x2f
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 8]
add ecx, 0x37d
cmp dword [ebp - 0x48], ecx
ja 0x1003da6e
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x4aed
ja 0x1003d119
cmp dword [ebp - 0x1c], 0x4aed
je 0x1003da14
cmp dword [ebp - 0x1c], 0x387b
ja 0x1003d0a8
cmp dword [ebp - 0x1c], 0x387b
je 0x1003d3b4
cmp dword [ebp - 0x1c], 0x37bf
ja 0x1003d07c
cmp dword [ebp - 0x1c], 0x37bf
je 0x1003d5b0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
sub dword [ebp - 0x28], 0x7e
je 0x1003d9ad
sub dword [ebp - 0x28], 0x2f
je 0x1003d56d
sub dword [ebp - 0x28], 0x36e3
je 0x1003d933
jmp 0x1003da69
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
sub dword [ebp - 0x2c], 0x37ee
je 0x1003d20b
sub dword [ebp - 0x2c], 0x2f
je 0x1003d3c2
sub dword [ebp - 0x2c], 0x2f
je 0x1003d738
jmp 0x1003da69
cmp dword [ebp - 0x1c], 0x3937
ja 0x1003d0ea
cmp dword [ebp - 0x1c], 0x3937
je 0x1003d51d
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
sub dword [ebp - 0x30], 0x38aa
je 0x1003d993
sub dword [ebp - 0x30], 0x2f
je 0x1003d435
sub dword [ebp - 0x30], 0x2f
je 0x1003d221
jmp 0x1003da69
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
sub dword [ebp - 0x34], 0x3966
je 0x1003d2ce
sub dword [ebp - 0x34], 0x1129
je 0x1003d280
sub dword [ebp - 0x34], 0x2f
je 0x1003d3e2
jmp 0x1003da69
cmp dword [ebp - 0x1c], 0x4c65
ja 0x1003d19d
cmp dword [ebp - 0x1c], 0x4c65
je 0x1003d8bb
cmp dword [ebp - 0x1c], 0x4ba9
ja 0x1003d171
cmp dword [ebp - 0x1c], 0x4ba9
je 0x1003d467
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], ecx
sub dword [ebp - 0x38], 0x4b1c
je 0x1003d9d0
sub dword [ebp - 0x38], 0x2f
je 0x1003d579
sub dword [ebp - 0x38], 0x2f
je 0x1003d940
jmp 0x1003da69
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], edx
sub dword [ebp - 0x3c], 0x4bd8
je 0x1003d45b
sub dword [ebp - 0x3c], 0x2f
je 0x1003d3fb
sub dword [ebp - 0x3c], 0x2f
je 0x1003d8f7
jmp 0x1003da69
cmp dword [ebp - 0x1c], 0x4d21
ja 0x1003d1df
cmp dword [ebp - 0x1c], 0x4d21
je 0x1003d2ad
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
sub dword [ebp - 0x40], 0x4c94
je 0x1003d4d0
sub dword [ebp - 0x40], 0x2f
je 0x1003d49b
sub dword [ebp - 0x40], 0x2f
je 0x1003d4e4
jmp 0x1003da69
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], ecx
sub dword [ebp - 0x44], 0x4d50
je 0x1003d5b9
sub dword [ebp - 0x44], 0x2f
je 0x1003d4bd
sub dword [ebp - 0x44], 0x2f
je 0x1003d742
jmp 0x1003da69
je 0x1003d2ce
inc dword [eax + 4]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 4], ecx
test ecx, ecx
jmp 0x1003da69
mov eax, 0x1003d364
mov dword [esi + 0x38], eax
mov eax, esi
pop esi
pop ebp
ret 0x14
push 2
push 0x1008e508
push 0x1009a2f0
call fcn.10069cf0
add esp, 0xc
push 2
push 0x10090780
push 0x1009a2f1
call fcn.1006fed0
add esp, 0xc
jmp 0x1003da69
mov ecx, dword [ebp + 0xc]
call fcn.1005b120
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp + 0x10]
call fcn.1005b120
mov dword [ebp - 0x18], eax
jmp 0x1003da69
mov dword [ebp - 0x48], 0x3966
in al, dx
adc eax, 0xec8b5510
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 4]
push 2
and esi, 0xfffffffc
xor ecx, ecx
pop edx
lea eax, [esi + 4]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x1017e529
lea ecx, [edi + edi]
neg esi
mov dword [eax + 4], ecx
mov dword [eax], esi
xor ecx, ecx
mov word [eax + edi*2 + 8], cx
pop edi
pop esi
pop ebx
pop ebp
ret 4
push eax
lea ecx, [esi + 0x14]
call fcn.1000d0d0
jmp 0x1003da69
je 0x1003d64d
xor eax, eax
inc eax
lock xadd dword [ecx], eax
and dword [esi + 8], 0
mov eax, dword [ebp + 8]
and dword [esi + 0xc], 0
mov dword [esi + 0x10], eax
jmp 0x1003da69
push 4
push 0x10090784
push 0x1009a2f2
call fcn.10069cf0
add esp, 0xc
jmp 0x1003da69
push str.z012
push 0x1009a323
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0xa
push 0x1009a327
push 0x159
call fcn.100702cc
add esp, 0xc
push 0xa
push 0x1009a32a
push 6
call fcn.100702cc
add esp, 0xc
jmp 0x1003da69
mov dword [esi + 0x20], eax
mov eax, 0x1003d319
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x30], eax
mov byte [esi + 0x34], 2
jmp 0x1003da69
mov byte [0x1009a323], 0
jmp 0x1003da69
push 4
push 0x10090790
push 0x1009a31e
call fcn.10069cf0
add esp, 0xc
push 2
push 0x10090794
push 0x1009a321
call fcn.10069cf0
add esp, 0xc
mov byte [0x1009a322], 0x79
jmp 0x1003da69
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edx
jmp 0x1003da69
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.GDI32.dll_RectVisible]
jmp 0x1003da69
mov edx, dword [ebp - 0xa8]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.1005b0f0
jmp 0x1003da69
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 0
je 0x1003d518
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [ebp - 0x5c], 0
jmp 0x1003da69
mov dword [ebp - 0x48], 0x3937
in al, dx
adc eax, 0xec8b5510
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 4]
push 2
and esi, 0xfffffffc
xor ecx, ecx
pop edx
lea eax, [esi + 4]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x1017e778
lea ecx, [edi + edi]
neg esi
mov dword [eax + 4], ecx
mov dword [eax], esi
xor ecx, ecx
mov word [eax + edi*2 + 8], cx
pop edi
pop esi
pop ebx
pop ebp
ret 4
call edx
pop ebx
pop ebp
ret 4
mov cx, word [0x10090798]
mov word [0x1009a30f], cx
mov dl, byte [0x1009079a]
mov byte [0x1009a311], dl
mov ax, word [0x1009079c]
mov word [0x1009a311], ax
mov cl, byte [0x1009079e]
mov byte [0x1009a313], cl
jmp 0x1003da69
mov dword [esi], eax
test eax, eax
jmp 0x1003da69
mov ecx, dword [ebp + 0xc]
call fcn.1005ad60
xor edx, edx
mov ecx, 3
div ecx
imul edx, eax, 3
mov dword [ebp - 0x88], edx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x58], 0
jmp 0x1003d5f3
mov ecx, dword [ebp - 0x58]
add ecx, 3
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x88]
jae 0x1003d733
mov dword [ebp - 0x60], 0x6065
jmp 0x1003d614
mov eax, dword [ebp - 0x60]
add eax, 0x22
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x60a9
ja 0x1003d72e
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x4c], edx
sub dword [ebp - 0x4c], 0x6065
je 0x1003d688
sub dword [ebp - 0x4c], 0x22
je 0x1003d64d
sub dword [ebp - 0x4c], 0x22
je 0x1003d67a
jmp 0x1003d729
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + eax]
and edx, 0x3f
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x1009a360]
mov dl, byte [ecx + edx]
mov byte [eax], dl
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x1003d729
mov ecx, dword [ebp - 0x24]
add ecx, 3
mov dword [ebp - 0x24], ecx
jmp 0x1003d729
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + eax]
sar edx, 2
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x1009a360]
mov dl, byte [ecx + edx]
mov byte [eax], dl
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + edx]
and ecx, 3
shl ecx, 4
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x24]
movzx edx, byte [eax + edx]
sar edx, 4
add edx, dword [0x1009a360]
mov eax, dword [ebp - 0x18]
mov cl, byte [edx + ecx]
mov byte [eax], cl
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + eax]
and edx, 0xf
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 0x24]
movzx eax, byte [ecx + eax]
sar eax, 6
add eax, dword [0x1009a360]
mov ecx, dword [ebp - 0x18]
mov dl, byte [eax + edx*4]
mov byte [ecx], dl
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x1003d60b
jmp 0x1003d5ea
jmp 0x1003da69
call fcn.10052bf0
jmp 0x1003da69
mov ecx, dword [ebp + 0xc]
call fcn.1005ad60
cmp dword [ebp - 0x58], eax
jae 0x1003d8b6
mov dword [ebp - 0x64], 0x3cd2
jmp 0x1003d765
mov ecx, dword [ebp - 0x64]
add ecx, 0x24
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x3d1a
ja 0x1003d8b6
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x50], eax
sub dword [ebp - 0x50], 0x3cd2
je 0x1003d854
sub dword [ebp - 0x50], 0x24
je 0x1003d7fa
sub dword [ebp - 0x50], 0x24
je 0x1003d7a2
jmp 0x1003d8b1
mov esi, dword [ebp - 0x58]
add esi, 1
mov ecx, dword [ebp + 0xc]
call fcn.1005ad60
cmp esi, eax
jae 0x1003d7d1
mov ecx, dword [ebp - 0x74]
and ecx, 0xf
mov edx, dword [ebp - 0x98]
shr edx, 6
add edx, dword [0x1009a360]
mov al, byte [edx + ecx*4]
mov byte [ebp - 0x1d], al
jmp 0x1003d7d5
mov byte [ebp - 0x1d], 0x3d
mov ecx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x1d]
mov byte [ecx], dl
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 0x3d
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
jmp 0x1003d8b1
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x78]
shr ecx, 2
mov edx, dword [ebp - 0x18]
mov eax, dword [0x1009a360]
mov cl, byte [eax + ecx]
mov byte [edx], cl
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x78]
and eax, 3
shl eax, 4
mov ecx, dword [ebp - 0x74]
shr ecx, 4
add ecx, dword [0x1009a360]
mov edx, dword [ebp - 0x18]
mov al, byte [ecx + eax]
mov byte [edx], al
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x1003d8b1
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + eax]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x78], eax
mov esi, dword [ebp - 0x58]
add esi, 1
mov ecx, dword [ebp + 0xc]
call fcn.1005ad60
cmp esi, eax
jae 0x1003d898
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx + ecx]
mov dword [ebp - 0x70], eax
jmp 0x1003d89f
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x74], edx
jmp 0x1003d75c
jmp 0x1003da69
mov ecx, dword [ebp + 0xc]
call fcn.1005ad60
add eax, 2
xor edx, edx
mov ecx, 3
div ecx
shl eax, 2
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], edx
xor eax, eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
jmp 0x1003da69
push 0xa
push 0x1009a32b
push 7
call fcn.10070295
add esp, 0xc
push str.89_
push 0x1009a32c
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0xac], 0x1009a2f0
mov ecx, dword [ebp - 0xac]
mov dword [0x1009a360], ecx
jmp 0x1003da69
push esi
mov esi, ecx
call fcn.10020300
jmp 0x1003da69
mov dx, word [0x100907a8]
mov word [0x1009a313], dx
mov al, byte [0x100907aa]
mov byte [0x1009a315], al
mov ecx, dword [str.lmnopqrs]
mov dword [0x1009a315], ecx
mov edx, dword [0x100907b0]
mov dword [0x1009a319], edx
mov al, byte [0x100907b4]
mov byte [0x1009a31d], al
push 2
push 0x1008e4e0
push 0x1009a31d
call fcn.10069cf0
add esp, 0xc
jmp 0x1003da69
mov eax, 0x1003d230
mov dword [esi + 0x18], eax
mov eax, 0x1003d51d
mov dword [esi + 0x1c], eax
mov eax, 0x1003d2ce
jmp 0x1003da69
insd dword es:[edi], dx
test byte [ecx], al
jge 0x1003d9f1
mov al, byte [ecx + 0x82]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push ebx
xor ebx, ebx
and al, 0x3f
cmp al, 2
sete bl
push ebx
jmp 0x1003da69
push 0xa
push str.RSTUVWXYZa
push 0x1009a2f0
call fcn.100706f0
add esp, 0xc
mov cx, word [0x100907c4]
mov word [0x1009a30b], cx
mov dl, byte [0x100907c6]
mov byte [0x1009a30d], dl
push 3
adc byte [edx + 0x907c615], cl
adc byte [eax + 0x9a30d15], cl
adc byte [edx + 3], ch
push 0x100907c8
push 0x1009a30d
call fcn.10069cf0
add esp, 0xc
jmp 0x1003da69
push str.FGHI
push 0x1009a2f0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, 0x1009a2f0
add eax, 0xffffffff
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x51], dl
add dword [ebp - 0x68], 1
cmp byte [ebp - 0x51], 0
jne 0x1003da2f
mov edi, dword [ebp - 0x68]
mov eax, dword [str.JKLM]
mov dword [edi], eax
mov cl, byte [0x100907d8]
mov byte [edi + 4], cl
push 4
push str.NOPQ
push 0x1009a2f0
call fcn.100706f0
add esp, 0xc
jmp 0x1003cfe9
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100685c5
mov esp, ebp
pop ebp
ret