Function at 0x422334
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x568
lea eax, [ebp - 0xb8]
push edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x248]
xor edi, edi
mov dword [ebp - 0x10], eax
cmp dword [sym.ruby187c.exc_ruby_yydebug], edi
lea eax, [ebp - 0x568]
mov dword [ebp - 0x28], 0x80
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0xc8
je 0x42238d
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push str.Starting_parse_n
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
pop ecx
pop ecx
push ebx
lea ebx, [ebp - 0x248]
push esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
mov dword [sym.ruby187c.exc_yynerrs], edi
mov dword [sym.ruby187c.exc_ruby_yychar], 0xfffffffe
mov dword [ebp - 8], ebx
lea esi, [ebp - 0x568]
mov ax, word [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov word [ebx], ax
mov eax, dword [ebp - 0x14]
lea eax, [ecx + eax*2 - 2]
cmp eax, ebx
ja 0x4224b7
mov ebx, dword [ebp - 8]
sub ebx, ecx
sar ebx, 1
inc ebx
cmp dword [ebp - 0x14], 0x2710
jae 0x424644
mov eax, dword [ebp - 0x14]
add eax, eax
mov dword [ebp - 0x14], eax
mov eax, 0x2710
cmp dword [ebp - 0x14], eax
jbe 0x4223f7
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
lea eax, [eax + eax + 3]
push eax
call fcn.0042ab44
cmp eax, edi
pop ecx
je 0x424644
cmp ebx, edi
jbe 0x422432
mov edx, dword [ebp - 0x10]
mov ecx, eax
sub edx, eax
mov dword [ebp - 0xc], ebx
mov si, word [edx + ecx]
mov word [ecx], si
inc ecx
inc ecx
dec dword [ebp - 0xc]
jne 0x422424
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
lea ecx, [ecx + ecx + 3]
shr ecx, 2
cmp ebx, edi
lea esi, [eax + ecx*4]
jbe 0x42245d
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
mov dword [ebp - 0xc], ebx
mov edx, dword [ecx + eax]
mov dword [eax], edx
add eax, 4
dec dword [ebp - 0xc]
jne 0x422450
lea eax, [ebp - 0x248]
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x20], eax
je 0x422474
push dword [ebp - 0x20]
call fcn.0042ab78
pop ecx
mov eax, dword [ebp - 0x10]
cmp dword [sym.ruby187c.exc_ruby_yydebug], edi
lea esi, [esi + ebx*4 - 4]
lea eax, [eax + ebx*2 - 2]
mov dword [ebp - 8], eax
je 0x4224a4
push dword [ebp - 0x14]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push str.Stack_size_increased_to__lu_n
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax*2 - 2]
cmp eax, dword [ebp - 8]
jbe 0x424658
cmp dword [sym.ruby187c.exc_ruby_yydebug], edi
je 0x4224d9
push dword [ebp - 0x18]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push str.Entering_state__d_n
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
cmp eax, 3
je 0x42463f
add eax, eax
mov dword [ebp - 0x20], eax
movsx eax, word [eax + 0x46ad6c]
cmp eax, 0xfffffd81
mov dword [ebp - 0xc], eax
je 0x4226ee
mov eax, dword [sym.ruby187c.exc_ruby_yychar]
cmp eax, 0xfffffffe
jne 0x422533
cmp dword [sym.ruby187c.exc_ruby_yydebug], edi
je 0x422529
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push str.Reading_a_token:
add eax, 0x40
push eax
call ebx
pop ecx
pop ecx
call fcn.0042576e
mov dword [sym.ruby187c.exc_ruby_yychar], eax
cmp eax, edi
jg 0x42255c
cmp dword [sym.ruby187c.exc_ruby_yydebug], edi
mov dword [ebp - 0x1c], edi
mov dword [sym.ruby187c.exc_ruby_yychar], edi
je 0x4225bc
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push str.Now_at_end_of_input._n
add eax, 0x40
push eax
call ebx
pop ecx
pop ecx
jmp 0x4225bc
cmp eax, 0x167
ja 0x42256f
movzx eax, byte [eax + 0x4684b0]
mov dword [ebp - 0x1c], eax
jmp 0x422576
mov dword [ebp - 0x1c], 2
cmp dword [sym.ruby187c.exc_ruby_yydebug], edi
je 0x4225bc
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push str.Next_token_is
add eax, 0x40
push 0x482eec
push eax
call ebx
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push sym.ruby187c.exc_ruby_yylval
push dword [ebp - 0x1c]
add eax, 0x40
push eax
call fcn.00424eff
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push 0x480114
add eax, 0x40
push eax
call ebx
add esp, 0x20
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x1c]
js 0x4226ee
cmp eax, 0x273a
jg 0x4226ee
movsx ecx, word [eax + eax + 0x470438]
add eax, eax
cmp ecx, dword [ebp - 0x1c]
jne 0x4226ee
movsx ebx, word [eax + 0x46b5c0]
cmp ebx, edi
jg 0x42267c
je 0x422703
cmp ebx, 0xfffffdfc
je 0x422703
neg ebx
mov ecx, ebx
mov dword [ebp - 0xc], ecx
movzx eax, byte [ecx + 0x46a314]
mov edx, eax
mov dword [ebp - 0x30], eax
shl edx, 2
mov eax, esi
sub eax, edx
cmp dword [sym.ruby187c.exc_ruby_yydebug], edi
mov dword [ebp - 0x20], eax
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
je 0x422640
push dword [ebp - 0xc]
push esi
call fcn.00424fa1
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffffe
cmp ecx, 0x201
ja 0x422a3c
jmp dword [ecx*4 + 0x4246f7]
cmp dword [ebp - 0x24], edi
je 0x422684
dec dword [ebp - 0x24]
cmp dword [sym.ruby187c.exc_ruby_yydebug], edi
je 0x4226d2
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push str.Shifting
add eax, 0x40
push 0x482eec
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push sym.ruby187c.exc_ruby_yylval
push dword [ebp - 0x1c]
add eax, 0x40
push eax
call fcn.00424eff
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push 0x480114
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x20
mov eax, dword [sym.ruby187c.exc_ruby_yylval]
add esi, 4
mov dword [sym.ruby187c.exc_ruby_yychar], 0xfffffffe
mov dword [ebp - 0x18], ebx
mov dword [esi], eax
jmp 0x4228ca
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 0x46a518]
cmp ecx, edi
mov dword [ebp - 0xc], ecx
jne 0x42260e
cmp dword [ebp - 0x24], edi
jne 0x4227b5
push dword [sym.ruby187c.exc_ruby_yychar]
inc dword [sym.ruby187c.exc_yynerrs]
push dword [ebp - 0x18]
push edi
call fcn.00425054
add esp, 0xc
cmp dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
jae 0x422778
cmp dword [ebp - 0x28], 0xffffffff
jae 0x422778
lea ebx, [eax + eax]
cmp eax, ebx
ja 0x42273e
cmp ebx, 0xffffffff
jbe 0x422741
or ebx, 0xffffffff
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0x2c], eax
je 0x422755
push dword [ebp - 0x2c]
call fcn.0042ab78
pop ecx
push ebx
call fcn.0042ab44
cmp eax, edi
pop ecx
mov dword [ebp - 0x2c], eax
je 0x422768
mov dword [ebp - 0x28], ebx
jmp 0x422778
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x28], 0x80
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x20]
cmp ebx, edi
jbe 0x4227a2
cmp ebx, dword [ebp - 0x28]
ja 0x4227a2
push dword [sym.ruby187c.exc_ruby_yychar]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
call fcn.00425054
push dword [ebp - 0x2c]
call fcn.00425305
add esp, 0x10
jmp 0x4227eb
push str.syntax_error
call fcn.00425305
cmp ebx, edi
pop ecx
jne 0x424644
cmp dword [ebp - 0x24], 3
jne 0x4227eb
mov eax, dword [sym.ruby187c.exc_ruby_yychar]
cmp eax, edi
jg 0x4227cc
je 0x424658
jmp 0x4227eb
push sym.ruby187c.exc_ruby_yylval
push dword [ebp - 0x1c]
push str.Error:_discarding
call fcn.004252a8
add esp, 0xc
mov dword [sym.ruby187c.exc_ruby_yychar], 0xfffffffe
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], 3
lea eax, [ebx + ebx]
movsx ecx, word [eax + 0x46ad6c]
cmp ecx, 0xfffffd81
je 0x422829
inc ecx
js 0x422829
cmp ecx, 0x273a
jg 0x422829
add ecx, ecx
cmp word [ecx + 0x470438], 1
jne 0x422829
movsx ebx, word [ecx + 0x46b5c0]
cmp ebx, edi
jg 0x42286d
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
je 0x424658
movzx eax, word [eax + 0x4752b0]
push esi
push eax
push str.Error:_popping
call fcn.004252a8
sub dword [ebp - 8], 2
add esp, 0xc
mov eax, dword [ebp - 8]
sub esi, 4
cmp dword [sym.ruby187c.exc_ruby_yydebug], edi
movsx ebx, word [eax]
je 0x4227f5
push eax
push dword [ebp - 0x10]
call fcn.00424f4d
pop ecx
pop ecx
jmp 0x4227f5
mov eax, dword [sym.ruby187c.exc_ruby_yylval]
add esi, 4
mov dword [esi], eax
cmp dword [sym.ruby187c.exc_ruby_yydebug], edi
je 0x4228c7
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push str.Shifting
add eax, 0x40
push 0x482eec
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
movzx eax, word [ebx*2 + 0x4752b0]
push esi
push eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
call fcn.00424eff
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push 0x480114
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x20
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
jmp 0x424635
cmp dword [sym.ruby187c.exc_ruby_yydebug], edi
je 0x422a90
mov eax, dword [sym.imp.MSVCRT.dll__iob]
mov esi, dword [sym.imp.MSVCRT.dll_fprintf]
push str.______
add eax, 0x40
push 0x482eec
push eax
call esi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax*2 + 0x469f0c]
push eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
call fcn.00424eff
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push 0x480114
add eax, 0x40
push eax
call esi
add esp, 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x30], edi
neg eax
cmp dword [sym.ruby187c.exc_ruby_yydebug], edi
lea ebx, [ecx + eax*2]
je 0x422ab4
push ebx
push dword [ebp - 0x10]
call fcn.00424f4d
pop ecx
pop ecx
mov eax, dword [ebp - 4]
add esi, 4
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dx, word [ebx]
movzx eax, word [eax*2 + 0x469f0c]
movsx edx, dx
lea ecx, [eax + eax - 0x108]
movsx eax, word [ecx + 0x46b49c]
add eax, edx
js 0x42462b
cmp eax, 0x273a
jg 0x42462b
mov dx, word [ebx]
add eax, eax
cmp word [eax + 0x470438], dx
jne 0x42462b
movsx eax, word [eax + 0x46b5c0]
jmp 0x424632
movsx eax, word [ecx + 0x46ac48]
mov dword [ebp - 0x18], eax
inc ebx
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4223b4
mov dword [ebp - 0x28], edi
jmp 0x42465f
push str.memory_exhausted
call fcn.00425305
pop ecx
mov dword [ebp - 0x28], 2
jmp 0x42465f
mov dword [ebp - 0x28], 1
cmp dword [sym.ruby187c.exc_ruby_yychar], 0xfffffffe
je 0x42467d
push sym.ruby187c.exc_ruby_yylval
push dword [ebp - 0x1c]
push str.Cleanup:_discarding_lookahead
call fcn.004252a8
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov ecx, eax
neg ecx
neg eax
cmp dword [sym.ruby187c.exc_ruby_yydebug], edi
lea ebx, [esi + ecx*4]
mov ecx, dword [ebp - 8]
lea esi, [ecx + eax*2]
je 0x4246a2
push esi
push dword [ebp - 0x10]
call fcn.00424f4d
pop ecx
pop ecx
mov edi, dword [ebp - 0x10]
cmp esi, edi
je 0x4246ca
movsx eax, word [esi]
push ebx
movzx eax, word [eax*2 + 0x4752b0]
push eax
push str.Cleanup:_popping
call fcn.004252a8
add esp, 0xc
sub ebx, 4
dec esi
dec esi
jmp 0x4246a5
lea eax, [ebp - 0x248]
pop esi
cmp edi, eax
pop ebx
je 0x4246dd
push edi
call fcn.0042ab78
pop ecx
lea eax, [ebp - 0xb8]
pop edi
cmp dword [ebp - 0x2c], eax
je 0x4246f2
push dword [ebp - 0x2c]
call fcn.0042ab78
pop ecx
mov eax, dword [ebp - 0x28]
leave
ret