Function at 0x4041f0
Capabilities:
Encode data using base64
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x5146d0]
test eax, eax
je 0x40421a
cmp eax, 5
mov dword [0x5146d0], 0
ja case.0x404213.0
jmp dword [eax*4 + 0x4c667c]
mov ebp, dword [0x50f218]
test ebp, ebp
je 0x404321
mov eax, dword [0x50f21c]
movzx ecx, byte [0x50f224]
mov esi, eax
mov dword [esp + 0x1c], eax
mov byte [eax], cl
mov eax, dword [0x50f214]
movsx edx, word [eax + eax + 0x4ca700]
mov ebp, dword [0x50f20c]
mov edi, dword [0x50f208]
cmp word [eax + eax + 0x4cba80], 0
movzx ecx, byte [ecx*4 + 0x4cb680]
cmovne edi, esi
cmovne ebp, eax
jmp 0x40428f
movsx eax, word [eax + eax + 0x4c98e0]
cmp eax, 0x6e5
jle 0x404287
movzx ecx, byte [ecx*4 + 0x4cb520]
movsx edx, word [eax + eax + 0x4ca700]
add edx, ecx
movsx ebx, word [edx + edx + 0x4c6ae0]
cmp ebx, eax
jne 0x404270
movsx eax, word [edx + edx + 0x4c81e0]
add esi, 1
movsx edx, word [eax + eax + 0x4ca700]
cmp dx, 0xb20
je 0x4042bc
movzx ecx, byte [esi]
jmp 0x404255
mov dword [0x50f208], edi
movsx eax, word [eax + eax + 0x4cba80]
mov edi, dword [esp + 0x1c]
mov dword [0x50f20c], ebp
test eax, eax
je 0x40430c
mov edx, esi
sub edx, edi
mov dword [0x5146d4], edi
mov dword [0x5146cc], edx
movzx edx, byte [esi]
mov dword [0x50f21c], esi
mov byte [esi], 0
mov byte [0x50f224], dl
cmp eax, 0xd1
ja case.default.0x404305
jmp dword [eax*4 + 0x4c6694]
mov eax, dword [0x50f20c]
mov esi, dword [0x50f208]
movsx eax, word [eax + eax + 0x4cba80]
jmp 0x4042d8
mov edi, dword [0x50f214]
mov dword [0x50f218], 1
test edi, edi
je 0x404371
mov esi, dword [0x50f0ac]
test esi, esi
je 0x404400
mov ebx, dword [0x50f0a8]
test ebx, ebx
je 0x40440f
mov eax, dword [0x50f228]
test eax, eax
je 0x4043c4
mov edx, dword [0x50f230]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x4043c4
call fcn.00403e70
jmp case.0x404305.135
mov dword [0x50f214], 1
jmp 0x404335
mov ebx, 0x16e
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, 0x178
jmp 0x404382
mov ebx, 0x16f
jmp 0x404382
mov ebx, 0x181
jmp 0x404382
mov ebx, 0x16d
jmp 0x404382
mov dword [esp + 8], str.yylex
mov dword [esp + 4], 0x87
mov dword [esp], str.ldlex.l
call fcn.004185a0
call fcn.00403eb0
mov eax, dword [0x50f228]
mov edx, dword [0x50f230]
mov dword [esp + 4], 0x4000
lea ebx, [eax + edx*4]
mov eax, dword [0x50f0ac]
mov dword [esp], eax
call fcn.00404100
mov dword [ebx], eax
jmp 0x404367
add dword [0x4be008], 1
jmp case.0x404305.135
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [0x50f0ac], eax
jmp 0x404343
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [0x50f0a8], eax
jmp 0x404351
mov dword [0x5146b8], 0x143
mov ebx, 0x143
jmp 0x404382
mov edx, dword [0x5146d4]
mov eax, str._in_script
call fcn.004bc36e
jmp case.0x404305.135
mov dword [0x5146b8], 0x156
mov ebx, 0x156
jmp 0x404382
mov dword [0x5146b8], 0x17e
mov ebx, 0x17e
jmp 0x404382
mov dword [0x5146b8], 0x155
mov ebx, 0x155
jmp 0x404382
sub dword [0x50f110], 1
jns 0x404499
mov dword [0x50f214], 0x11
mov eax, dword [0x5146d4]
movsx ebx, byte [eax]
jmp 0x404382
mov eax, dword [0x5146d4]
add dword [0x50f110], 1
movsx ebx, byte [eax]
jmp 0x404382
mov eax, dword [0x5146d4]
movsx ebx, byte [eax]
jmp 0x404382
mov eax, dword [0x5146d4]
mov dword [0x50f214], 0x13
mov dword [0x50f110], 0
movsx ebx, byte [eax]
jmp 0x404382
mov dword [0x5146b8], 0x2b
mov ebx, 0x2b
jmp 0x404382
mov dword [0x5146b8], 0x2d
mov ebx, 0x2d
jmp 0x404382
mov eax, dword [0x5146d4]
cmp byte [eax], 0x2f
jne 0x40528c
cmp byte [eax + 1], 0x2a
jne 0x40528c
movzx eax, byte [0x50f224]
mov byte [esi], al
mov eax, edi
add eax, 2
mov dword [0x50f21c], eax
sub eax, edi
mov dword [0x5146d4], edi
mov dword [0x5146cc], eax
movzx eax, byte [edi + 2]
mov byte [edi + 2], 0
mov byte [0x50f224], al
call fcn.004bc718
jmp case.0x404305.135
movzx eax, byte [0x50f224]
mov byte [esi], al
mov eax, dword [0x50f20c]
mov esi, dword [0x50f208]
movsx eax, word [eax + eax + 0x4cba80]
jmp 0x4042d4
mov dword [0x5146b8], 0x109
mov ebx, 0x109
jmp 0x404382
mov dword [0x5146b8], 0x5b
mov ebx, 0x5b
jmp 0x404382
mov dword [0x5146b8], 0x5d
mov ebx, 0x5d
jmp 0x404382
mov eax, dword [0x5146d4]
xor edx, edx
cmp byte [eax], 0x24
jne 0x4045cd
add eax, 1
mov dl, 0x10
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0044c280
mov edx, dword [0x5146d4]
mov ecx, dword [0x5146cc]
mov dword [0x5146bc], 0
mov dword [0x5146b8], eax
movzx ecx, byte [edx + ecx - 1]
and ecx, 0xffffffdf
cmp cl, 0x4d
jne 0x40466f
shl eax, 0x14
mov ebx, 0x102
mov dword [0x5146b8], eax
jmp 0x404382
mov edx, dword [0x5146cc]
mov eax, dword [0x5146d4]
movzx ecx, byte [eax + edx - 1]
mov edx, 0xa
sub ecx, 0x42
cmp cl, 0x36
ja 0x404642
movzx ecx, cl
movsx edx, byte [ecx + 0x4c6aa0]
mov dword [esp + 8], edx
mov ebx, 0x102
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0044c280
mov dword [0x5146bc], 0
mov dword [0x5146b8], eax
jmp 0x404382
cmp cl, 0x4b
jne 0x4047f7
shl eax, 0xa
mov ebx, 0x102
mov dword [0x5146b8], eax
jmp 0x404382
mov eax, dword [0x5146d4]
mov ebx, 0x102
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
add eax, 1
mov dword [esp], eax
call fcn.0044c280
mov dword [0x5146bc], 0
mov dword [0x5146b8], eax
jmp 0x404382
mov dword [0x5146b8], 0x107
mov ebx, 0x107
jmp 0x404382
mov dword [0x5146b8], 0x106
mov ebx, 0x106
jmp 0x404382
mov dword [0x5146b8], 0x105
mov ebx, 0x105
jmp 0x404382
mov dword [0x5146b8], 0x114
mov ebx, 0x114
jmp 0x404382
mov dword [0x5146b8], 0x113
mov ebx, 0x113
jmp 0x404382
mov dword [0x5146b8], 0x111
mov ebx, 0x111
jmp 0x404382
mov dword [0x5146b8], 0x112
mov ebx, 0x112
jmp 0x404382
mov dword [0x5146b8], 0x110
mov ebx, 0x110
jmp 0x404382
mov dword [0x5146b8], 0x10e
mov ebx, 0x10e
jmp 0x404382
mov dword [0x5146b8], 0x10c
mov ebx, 0x10c
jmp 0x404382
mov dword [0x5146b8], 0x10b
mov ebx, 0x10b
jmp 0x404382
mov dword [0x5146b8], 0x108
mov ebx, 0x108
jmp 0x404382
mov eax, dword [0x5146d4]
mov ebx, 0x103
mov dword [esp], eax
call fcn.004a06c0
mov dword [0x5146b8], eax
jmp 0x404382
mov dword [0x5146b8], 0x3e
mov ebx, 0x3e
jmp 0x404382
mov dword [0x5146b8], 0x3d
mov ebx, 0x3d
jmp 0x404382
cmp byte [edx], 0x30
mov ebx, 0x102
jne 0x404382
movzx eax, byte [edx + 1]
and eax, 0xffffffdf
cmp al, 0x58
jne 0x404382
add edx, 2
mov dword [esp], edx
call fcn.004a06c0
mov dword [0x5146bc], eax
jmp 0x404382
mov dword [0x5146b8], 0x10f
mov ebx, 0x10f
jmp 0x404382
mov dword [0x5146b8], 0x10d
mov ebx, 0x10d
jmp 0x404382
mov dword [0x5146b8], 0x10a
mov ebx, 0x10a
jmp 0x404382
mov dword [0x5146b8], 0x142
mov ebx, 0x142
jmp 0x404382
mov dword [0x5146b8], 0x126
mov ebx, 0x126
jmp 0x404382
mov dword [0x5146b8], 0x125
mov ebx, 0x125
jmp 0x404382
mov dword [0x5146b8], 0x124
mov ebx, 0x124
jmp 0x404382
mov dword [0x5146b8], 0x117
mov ebx, 0x117
jmp 0x404382
mov dword [0x5146b8], 0x14e
mov ebx, 0x14e
jmp 0x404382
mov dword [0x5146b8], 0x119
mov ebx, 0x119
jmp 0x404382
mov dword [0x5146b8], 0x118
mov ebx, 0x118
jmp 0x404382
mov dword [0x5146b8], 0x177
mov ebx, 0x177
jmp 0x404382
mov dword [0x5146b8], 0x14c
mov ebx, 0x14c
jmp 0x404382
mov dword [0x5146b8], 0x134
mov ebx, 0x134
jmp 0x404382
mov dword [0x5146b8], 0x133
mov ebx, 0x133
jmp 0x404382
mov dword [0x5146b8], 0x132
mov ebx, 0x132
jmp 0x404382
mov dword [0x5146b8], 0x3b
mov ebx, 0x3b
jmp 0x404382
mov dword [0x5146b8], 0x3a
mov ebx, 0x3a
jmp 0x404382
mov dword [0x5146b8], 0x28
mov ebx, 0x28
jmp 0x404382
mov dword [0x5146b8], 0x29
mov ebx, 0x29
jmp 0x404382
mov dword [0x5146b8], 0x7b
mov ebx, 0x7b
jmp 0x404382
mov dword [0x5146b8], 0x7d
mov ebx, 0x7d
jmp 0x404382
mov dword [0x5146b8], 0x3d
mov ebx, 0x3d
jmp 0x404382
mov dword [0x5146b8], 0x3c
mov ebx, 0x3c
jmp 0x404382
mov dword [0x5146b8], 0x25
mov ebx, 0x25
jmp 0x404382
mov dword [0x5146b8], 0x2f
mov ebx, 0x2f
jmp 0x404382
mov dword [0x5146b8], 0x2d
mov ebx, 0x2d
jmp 0x404382
mov dword [0x5146b8], 0x2b
mov ebx, 0x2b
jmp 0x404382
mov dword [0x5146b8], 0x162
mov ebx, 0x162
jmp 0x404382
mov dword [0x5146b8], 0x167
mov ebx, 0x167
jmp 0x404382
mov dword [0x5146b8], 0x15f
mov ebx, 0x15f
jmp 0x404382
mov dword [0x5146b8], 0x16b
mov ebx, 0x16b
jmp 0x404382
mov dword [0x5146b8], 0x179
mov ebx, 0x179
jmp 0x404382
mov dword [0x5146b8], 0x159
mov ebx, 0x159
jmp 0x404382
mov dword [0x5146b8], 0x158
mov ebx, 0x158
jmp 0x404382
mov dword [0x5146b8], 0x157
mov ebx, 0x157
jmp 0x404382
mov dword [0x5146b8], 0x12b
mov ebx, 0x12b
jmp 0x404382
mov dword [0x5146b8], 0x12b
mov ebx, 0x12b
jmp 0x404382
mov dword [0x5146b8], 0x13f
mov ebx, 0x13f
jmp 0x404382
mov dword [0x5146b8], 0x171
mov ebx, 0x171
jmp 0x404382
mov dword [0x5146b8], 0x151
mov ebx, 0x151
jmp 0x404382
mov dword [0x5146b8], 0x150
mov ebx, 0x150
jmp 0x404382
mov dword [0x5146b8], 0x152
mov ebx, 0x152
jmp 0x404382
mov dword [0x5146b8], 0x13c
mov ebx, 0x13c
jmp 0x404382
mov dword [0x5146b8], 0x13b
mov ebx, 0x13b
jmp 0x404382
mov dword [0x5146b8], 0x140
mov ebx, 0x140
jmp 0x404382
mov dword [0x5146b8], 0x13d
mov ebx, 0x13d
jmp 0x404382
mov dword [0x5146b8], 0x130
mov ebx, 0x130
jmp 0x404382
mov dword [0x5146b8], 0x148
mov ebx, 0x148
jmp 0x404382
mov dword [0x5146b8], 0x147
mov ebx, 0x147
jmp 0x404382
mov dword [0x5146b8], 0x12e
mov ebx, 0x12e
jmp 0x404382
mov dword [0x5146b8], 0x12c
mov ebx, 0x12c
jmp 0x404382
mov dword [0x5146b8], 0x146
mov ebx, 0x146
jmp 0x404382
mov dword [0x5146b8], 0x14d
mov ebx, 0x14d
jmp 0x404382
mov dword [0x5146b8], 0x123
mov ebx, 0x123
jmp 0x404382
mov dword [0x5146b8], 0x122
mov ebx, 0x122
jmp 0x404382
mov dword [0x5146b8], 0x121
mov ebx, 0x121
jmp 0x404382
mov dword [0x5146b8], 0x11f
mov ebx, 0x11f
jmp 0x404382
mov dword [0x5146b8], 0x12f
mov ebx, 0x12f
jmp 0x404382
mov dword [0x5146b8], 0x12d
mov ebx, 0x12d
jmp 0x404382
mov dword [0x5146b8], 0x153
mov ebx, 0x153
jmp 0x404382
mov dword [0x5146b8], 0x14f
mov ebx, 0x14f
jmp 0x404382
mov dword [0x5146b8], 0x13a
mov ebx, 0x13a
jmp 0x404382
mov dword [0x5146b8], 0x15a
mov ebx, 0x15a
jmp 0x404382
mov dword [0x5146b8], 0x7c
mov ebx, 0x7c
jmp 0x404382
mov dword [0x5146b8], 0x26
mov ebx, 0x26
jmp 0x404382
mov dword [0x5146b8], 0x2c
mov ebx, 0x2c
jmp 0x404382
mov dword [0x5146b8], 0x120
mov ebx, 0x120
jmp 0x404382
mov dword [0x5146b8], 0x131
mov ebx, 0x131
jmp 0x404382
mov dword [0x5146b8], 0x17d
mov ebx, 0x17d
jmp 0x404382
mov dword [0x5146b8], 0x14e
mov ebx, 0x14e
jmp 0x404382
mov dword [0x5146b8], 0x14e
mov ebx, 0x14e
jmp 0x404382
mov dword [0x5146b8], 0x14c
mov ebx, 0x14c
jmp 0x404382
mov dword [0x5146b8], 0x14c
mov ebx, 0x14c
jmp 0x404382
mov dword [0x5146b8], 0x17c
mov ebx, 0x17c
jmp 0x404382
mov dword [0x5146b8], 0x17b
mov ebx, 0x17b
jmp 0x404382
mov dword [0x5146b8], 0x17a
mov ebx, 0x17a
jmp 0x404382
mov dword [0x5146b8], 0x139
mov ebx, 0x139
jmp 0x404382
mov dword [0x5146b8], 0x138
mov ebx, 0x138
jmp 0x404382
mov dword [0x5146b8], 0x137
mov ebx, 0x137
jmp 0x404382
mov dword [0x5146b8], 0x136
mov ebx, 0x136
jmp 0x404382
mov dword [0x5146b8], 0x135
mov ebx, 0x135
jmp 0x404382
mov dword [0x5146b8], 0x129
mov ebx, 0x129
jmp 0x404382
mov dword [0x5146b8], 0x12a
mov ebx, 0x12a
jmp 0x404382
mov dword [0x5146b8], 0x127
mov ebx, 0x127
jmp 0x404382
mov dword [0x5146b8], 0x128
mov ebx, 0x128
jmp 0x404382
mov dword [0x5146b8], 0x127
mov ebx, 0x127
jmp 0x404382
mov dword [0x5146b8], 0x139
mov ebx, 0x139
jmp 0x404382
mov dword [0x5146b8], 0x14b
mov ebx, 0x14b
jmp 0x404382
mov dword [0x5146b8], 0x14a
mov ebx, 0x14a
jmp 0x404382
mov dword [0x5146b8], 0x11e
mov ebx, 0x11e
jmp 0x404382
mov dword [0x5146b8], 0x11d
mov ebx, 0x11d
jmp 0x404382
mov dword [0x5146b8], 0x11c
mov ebx, 0x11c
jmp 0x404382
mov dword [0x5146b8], 0x11b
mov ebx, 0x11b
jmp 0x404382
mov dword [0x5146b8], 0x11a
mov ebx, 0x11a
jmp 0x404382
mov dword [0x5146b8], 0x149
mov ebx, 0x149
jmp 0x404382
mov dword [0x5146b8], 0x16a
mov ebx, 0x16a
jmp 0x404382
mov dword [0x5146b8], 0x169
mov ebx, 0x169
jmp 0x404382
mov dword [0x5146b8], 0x15b
mov ebx, 0x15b
jmp 0x404382
mov dword [0x5146b8], 0x117
mov ebx, 0x117
jmp 0x404382
mov dword [0x5146b8], 0x154
mov ebx, 0x154
jmp 0x404382
mov dword [0x5146b8], 0x161
mov ebx, 0x161
jmp 0x404382
mov dword [0x5146b8], 0x15e
mov ebx, 0x15e
jmp 0x404382
mov dword [0x5146b8], 0x15d
mov ebx, 0x15d
jmp 0x404382
mov dword [0x5146b8], 0x15c
mov ebx, 0x15c
jmp 0x404382
mov dword [0x5146b8], 0x172
mov ebx, 0x172
jmp 0x404382
mov dword [0x5146b8], 0x170
mov ebx, 0x170
jmp 0x404382
mov dword [0x5146b8], 0x166
mov ebx, 0x166
jmp 0x404382
mov dword [0x5146b8], 0x163
mov ebx, 0x163
jmp 0x404382
mov dword [0x5146b8], 0x162
mov ebx, 0x162
jmp 0x404382
mov dword [0x5146b8], 0x167
mov ebx, 0x167
jmp 0x404382
mov dword [0x5146b8], 0x15f
mov ebx, 0x15f
jmp 0x404382
mov dword [0x5146b8], 0x16b
mov ebx, 0x16b
jmp 0x404382
mov dword [0x5146b8], 0x16a
mov ebx, 0x16a
jmp 0x404382
mov dword [0x5146b8], 0x169
mov ebx, 0x169
jmp 0x404382
mov dword [0x5146b8], 0x15b
mov ebx, 0x15b
jmp 0x404382
mov dword [0x5146b8], 0x117
mov ebx, 0x117
jmp 0x404382
mov dword [0x5146b8], 0x154
mov ebx, 0x154
jmp 0x404382
mov dword [0x5146b8], 0x161
mov ebx, 0x161
jmp 0x404382
mov eax, dword [0x50f114]
xor ebx, ebx
lea esi, [eax - 1]
test esi, esi
mov dword [0x50f114], esi
je 0x404382
mov eax, dword [esi*4 + 0x50f1e0]
mov bx, 0x116
mov dword [esp], eax
call fcn.00403f60
mov eax, dword [esi*4 + 0x50f160]
mov edx, dword [esi*4 + 0x50f120]
mov dword [0x4be008], eax
movzx eax, byte [0x5146ec]
and edx, 1
shl edx, 3
and eax, 0xfffffff7
or eax, edx
mov byte [0x5146ec], al
jmp 0x404382
add dword [0x4be008], 1
mov ebx, 0x160
mov dword [0x5146b8], 0x160
jmp 0x404382
mov edx, dword [0x5146d4]
mov eax, str._in_expression
call fcn.004bc36e
jmp case.0x404305.135
mov dword [0x5146b8], 0x180
mov ebx, 0x180
jmp 0x404382
mov dword [0x5146b8], 0x17f
mov ebx, 0x17f
jmp 0x404382
mov eax, dword [0x5146d4]
mov ebx, 0x103
add eax, 1
mov dword [esp], eax
call fcn.004a06c0
mov edx, dword [0x5146cc]
mov dword [0x5146b8], eax
mov byte [eax + edx - 2], 0
jmp 0x404382
mov eax, dword [0x5146d4]
mov ebx, 0x104
add eax, 2
mov dword [esp], eax
call fcn.004a06c0
mov dword [0x5146b8], eax
jmp 0x404382
mov eax, dword [0x5146d4]
mov ebx, 0x103
mov dword [esp], eax
call fcn.004a06c0
mov dword [0x5146b8], eax
jmp 0x404382
mov dword [esp], eax
mov ebx, 0x103
call fcn.004a06c0
mov dword [0x5146b8], eax
jmp 0x404382
mov eax, dword [0x5146d4]
mov ebx, 0x104
add eax, 2
mov dword [esp], eax
call fcn.004a06c0
mov dword [0x5146b8], eax
jmp 0x404382
mov eax, dword [0x5146d4]
mov ebx, 0x103
mov dword [esp], eax
call fcn.004a06c0
mov dword [0x5146b8], eax
jmp 0x404382
mov eax, dword [0x5146d4]
mov ebx, 0x103
mov dword [esp], eax
call fcn.004a06c0
mov dword [0x5146b8], eax
jmp 0x404382
mov eax, dword [0x5146d4]
mov ebx, 0x103
mov dword [esp], eax
call fcn.004a06c0
mov dword [0x5146b8], eax
jmp 0x404382
mov dword [0x5146b8], 0x15e
mov ebx, 0x15e
jmp 0x404382
mov dword [0x5146b8], 0x15d
mov ebx, 0x15d
jmp 0x404382
mov dword [0x5146b8], 0x15c
mov ebx, 0x15c
jmp 0x404382
mov dword [0x5146b8], 0x172
mov ebx, 0x172
jmp 0x404382
mov dword [0x5146b8], 0x171
mov ebx, 0x171
jmp 0x404382
mov dword [0x5146b8], 0x170
mov ebx, 0x170
jmp 0x404382
mov dword [0x5146b8], 0x166
mov ebx, 0x166
jmp 0x404382
mov dword [0x5146b8], 0x163
mov ebx, 0x163
jmp 0x404382
mov eax, dword [0x5146d4]
mov ebx, 0x173
mov dword [esp], eax
call fcn.004a06c0
mov dword [0x5146b8], eax
jmp 0x404382
mov eax, dword [0x5146d4]
mov ebx, 0x174
mov dword [esp], eax
call fcn.004a06c0
mov dword [0x5146b8], eax
jmp 0x404382
mov dword [0x5146b8], 0x171
mov ebx, 0x171
jmp 0x404382
mov dword [0x5146b8], 0x176
mov ebx, 0x176
jmp 0x404382
mov dword [0x5146b8], 0x175
mov ebx, 0x175
jmp 0x404382
mov eax, dword [0x5146d4]
movsx ebx, byte [eax]
jmp 0x404382
movzx eax, byte [0x50f224]
mov ebx, esi
mov edx, dword [0x50f230]
sub ebx, dword [0x5146d4]
mov byte [esi], al
mov eax, dword [0x50f228]
sub ebx, 1
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x4055df
mov edx, dword [0x50f220]
add edx, dword [eax + 4]
cmp dword [0x50f21c], edx
jbe 0x40554b
call fcn.004bc42b
cmp eax, 1
je 0x40551c
cmp eax, 2
je 0x4054e7
test eax, eax
jne case.0x404305.135
mov esi, dword [0x5146d4]
add esi, ebx
mov dword [0x50f21c], esi
call fcn.004bc2c0
mov edi, dword [0x5146d4]
mov dword [esp + 0x1c], edi
movzx ecx, byte [esi]
jmp 0x404241
mov eax, dword [0x50f0a8]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov eax, dword [0x5146cc]
mov dword [esp + 4], eax
mov eax, dword [0x5146d4]
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
jmp case.0x404305.135
mov eax, dword [0x50f228]
mov edx, dword [0x50f230]
mov eax, dword [eax + edx*4]
mov esi, dword [eax + 4]
add esi, dword [0x50f220]
mov dword [0x50f21c], esi
call fcn.004bc2c0
mov edi, dword [0x5146d4]
movsx eax, word [eax + eax + 0x4cba80]
jmp 0x4042d4
mov eax, dword [0x5146d4]
mov dword [0x50f210], 0
mov dword [0x50f21c], eax
mov eax, dword [0x50f214]
sub eax, 1
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
add eax, 0xc8
jmp 0x4042fa
mov esi, dword [0x5146d4]
add esi, ebx
mov dword [0x50f21c], esi
call fcn.004bc2c0
mov edx, eax
movsx eax, word [eax + eax + 0x4cba80]
test ax, ax
je 0x405579
mov dword [0x50f20c], edx
mov dword [0x50f208], esi
movsx ecx, word [edx + edx + 0x4ca700]
movsx ebx, word [ecx + ecx + 0x4c6ae2]
cmp ebx, edx
je 0x4055a9
movsx edx, word [edx + edx + 0x4c98e0]
movsx ecx, word [edx + edx + 0x4ca700]
movsx ebx, word [ecx + ecx + 0x4c6ae2]
cmp edx, ebx
jne 0x40558d
movsx edx, word [ecx + ecx + 0x4c81e2]
mov edi, dword [0x5146d4]
cmp edx, 0x6e5
je 0x4042d4
test edx, edx
je 0x4042d4
add esi, 1
mov eax, edx
mov dword [esp + 0x1c], edi
mov dword [0x50f21c], esi
jmp 0x4054b3
mov ebp, dword [0x50f0ac]
mov edx, dword [eax + 0x10]
mov dword [eax], ebp
mov eax, dword [ecx]
mov dword [0x50f220], edx
mov dword [eax + 0x2c], 1
jmp 0x40546c
mov eax, str.fatal_flex_scanner_internal_error__no_action_found
call fcn.004bc400
mov eax, dword [0x5146d4]
mov dword [0x50f214], 0x11
movsx ebx, byte [eax]
jmp 0x404382
mov dword [0x5146b8], 0x144
mov ebx, 0x144
jmp 0x404382
mov dword [0x5146b8], 0x141
mov ebx, 0x141
jmp 0x404382
mov dword [0x5146b8], 0x13e
mov ebx, 0x13e
jmp 0x404382
mov dword [0x5146b8], 0x164
mov ebx, 0x164
jmp 0x404382
mov dword [0x5146b8], 0x165
mov ebx, 0x165
jmp 0x404382
mov dword [0x5146b8], 0x145
mov ebx, 0x145
jmp 0x404382
mov dword [0x5146b8], 0x2a
mov ebx, 0x2a
jmp 0x404382
mov dword [0x5146b8], 0x3f
mov ebx, 0x3f
jmp 0x404382
mov dword [0x5146b8], 0x21
mov ebx, 0x21
jmp 0x404382
mov dword [0x5146b8], 0x7e
mov ebx, 0x7e
jmp 0x404382