Function at 0x492cc0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x492f48
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x60], eax
lea ecx, [ebp + 0x18]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x48], 0x9c1
cmp dword [ebp - 0x48], 0x1585
jle 0x492ddd
mov ebx, 0xe13af7dd
mov esi, 0x506abebc
push esi
jle 0x492d5e
add eax, 0x10684000
dec ecx
add byte [eax], al
mov edx, dword [ebp + 0x30]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x78]
movzx edx, byte [ecx]
test edx, edx
je 0x492ef8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0x6c4a87fc
je 0x492ed4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
cmp dword [eax], edx
jge 0x492e7c
mov dword [ebp - 0x14], 1
jmp 0x492e83
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
cmp dword [ebp - 0x14], ecx
jl 0x492e96
mov dword [ebp - 0x24], 1
jmp 0x492e9d
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x2c]
cmp dword [edx], 0
jne 0x492eb6
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x492eb6
mov dword [ebp - 0x18], 0
jmp 0x492ebd
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0xfffffffa
jle 0x492ed4
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0
je 0x492ed4
mov dword [ebp - 0x10], 1
jmp 0x492edb
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
sub edx, dword [ecx]
imul eax, edx, 0xb3bf
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
jmp 0x492f46
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x492f28
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
cmp dword [ecx], 4
jge 0x492f46
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.004281c0
mov dword [eax], 0x5bb08661
jmp 0x492f1b
jmp 0x492f66
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp + 0x34]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
push 0
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.00494f50
add esp, 0xc
mov esp, ebp
pop ebp
ret