Function at 0x45c854
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edx, dword [eax + 0x18]
mov edi, dword [eax]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x28]
mov ebx, dword [eax + 0x38]
mov dword [ebp - 0x2c], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x4c], edx
mov edx, dword [eax + 0x34]
add ecx, edi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x3c]
xor edx, edx
cmp dword [ebp + 0x1c], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], edx
je 0x45c8b8
push ecx
push dword [ebp + 0x1c]
call fcn.0045ed7c
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x780
mov dword [ebp - 0x50], eax
add eax, 0xa00
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
cmp dword [ebp - 0x14], 0
pop ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov esi, eax
lea eax, [ecx + eax + 0xa00]
mov dword [ebp - 0x18], eax
jbe 0x45c94a
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
sub edx, ebx
sub ecx, ebx
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x48]
sub edx, ebx
mov eax, ebx
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x2c]
sub edx, ebx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x20]
sub edx, ebx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x24]
sub edx, ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x50]
or dword [ecx + eax], 0xffffffff
or dword [eax], 0xffffffff
or dword [ebx + eax], 0xffffffff
mov ebx, dword [ebp - 0x34]
or dword [ebx + eax], 0xffffffff
mov ebx, dword [ebp - 0x28]
or dword [ebx + eax], 0xffffffff
mov ebx, dword [ebp - 0x10]
or dword [ebx + eax], 0xffffffff
and dword [edx + eax], 0xfffffffc
add eax, 4
dec dword [ebp - 0x38]
jne 0x45c91b
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
add ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x10]
add eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [sym.ruby187g.exc_re_mbctab]
cmp edi, dword [ebp - 0x3c]
jne 0x45cb90
mov eax, dword [ebp + 8]
test byte [eax + 0x18], 0x10
je 0x45eb26
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
je 0x45eb26
cmp dword [ebp - 0x40], 0
jne 0x45eaf7
cmp esi, dword [ebp - 0xc]
je 0x45eb26
push 1
pop edi
cmp dword [esi - 4], edi
jne 0x45c9de
mov eax, dword [esi - 0x14]
sub esi, 0x14
push 0xfffffffffffffffc
lea eax, [eax + eax*2]
pop ecx
shl eax, 2
sub ecx, eax
mov eax, dword [esi + ecx]
add esi, ecx
mov ecx, eax
dec eax
test ecx, ecx
je 0x45c9d5
lea edx, [eax + 1]
mov ecx, dword [esi - 4]
sub esi, 4
sub esi, 4
mov eax, dword [esi]
mov byte [ecx], al
sar eax, 8
dec edx
mov byte [ecx + 1], al
jne 0x45c9bf
and dword [ebp - 0x1c], 0
cmp esi, dword [ebp - 0xc]
jne 0x45c997
cmp esi, dword [ebp - 0xc]
je 0x45eb26
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x40], edi
mov dword [ebx], eax
jbe 0x45ca23
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x2c]
sub edx, ecx
lea eax, [ecx + 4]
sub edi, ecx
sub ebx, ecx
mov ecx, dword [ebp - 0x14]
dec ecx
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + edx]
mov dword [eax], ecx
mov ecx, dword [eax + edi]
mov dword [eax + ebx], ecx
add eax, 4
dec dword [ebp - 0x38]
jne 0x45ca10
mov eax, dword [sym.ruby187g.exc_re_mbctab]
cmp esi, dword [ebp - 0xc]
je 0x45eaed
xor edi, edi
cmp dword [esi - 0x10], edi
je 0x45ea46
cmp dword [ebp - 0x40], edi
je 0x45ca4b
cmp dword [esi - 4], 1
je 0x45ea46
mov ecx, dword [esi - 8]
sub esi, 8
sub esi, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ecx
mov ecx, dword [esi]
mov edi, dword [esi - 4]
sub esi, 4
mov dword [ebp - 8], ecx
sub esi, 4
lea ebx, [edx - 1]
mov dword [ebp - 0x58], ebx
mov cx, word [esi]
cmp bx, cx
jle 0x45cab7
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
movsx ecx, bx
mov ebx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x20]
sub ebx, dword [ebp - 0x24]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x38], ebx
movsx ebx, word [esi]
sub ecx, ebx
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x50], ecx
sub ebx, ecx
mov ecx, dword [ebp - 0x38]
add ecx, eax
or dword [ecx + edx], 0xffffffff
or dword [ecx], 0xffffffff
and dword [eax], 0xfffffffc
sub eax, 4
dec dword [ebp - 0x50]
jne 0x45ca9b
mov eax, dword [sym.ruby187g.exc_re_mbctab]
test bx, bx
jle 0x45caf9
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
movsx ecx, bx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x50], ecx
sub ebx, dword [ebp - 0x2c]
lea eax, [eax + ecx*4]
mov ecx, dword [esi - 4]
sub esi, 4
sub esi, 4
mov dword [eax + edx], ecx
mov ecx, dword [esi]
sub esi, 4
mov dword [eax], ecx
mov ecx, dword [esi]
mov dword [eax + ebx], ecx
sub eax, 4
dec dword [ebp - 0x50]
jne 0x45cad4
mov eax, dword [sym.ruby187g.exc_re_mbctab]
mov ecx, dword [esi - 4]
sub esi, 4
mov edx, ecx
dec ecx
test edx, edx
je 0x45cb24
lea edx, [ecx + 1]
mov ecx, dword [esi - 4]
sub esi, 4
sub esi, 4
mov eax, dword [esi]
mov byte [ecx], al
sar eax, 8
dec edx
mov byte [ecx + 1], al
jne 0x45cb09
mov eax, dword [sym.ruby187g.exc_re_mbctab]
cmp edi, dword [ebp - 0x3c]
jae 0x45c965
mov cl, byte [edi]
xor ebx, ebx
cmp cl, 8
je 0x45cb5a
cmp cl, 0xa
jbe case.0x45cb9d.0
cmp cl, 0xc
jbe 0x45cb5a
cmp cl, 0x10
je 0x45cb57
cmp cl, 0x12
je 0x45cb5a
cmp cl, 0x13
jne case.0x45cb9d.0
push 1
pop ebx
movzx ecx, byte [edi + 2]
mov edx, 0x80
xor ecx, edx
sub ecx, edx
movzx edx, byte [edi + 1]
shl ecx, 8
add ecx, edx
jns case.0x45cb9d.0
test ebx, ebx
lea ecx, [edi + ecx + 3]
je 0x45ea3e
cmp byte [ecx], 0xf
jne case.0x45cb9d.0
jmp 0x45ca28
movzx ecx, byte [edi]
inc edi
cmp ecx, 0x2a
ja case.0x45cb9d.27
jmp dword [ecx*4 + 0x45ebc3]
movzx eax, byte [edi]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x48]
shl eax, 2
mov edx, dword [eax + ecx]
mov dword [eax + ebx], edx
mov edx, dword [ebp - 8]
movzx eax, byte [edi]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp - 0x24]
movzx eax, byte [edi]
or dword [ecx + eax*4], 1
lea eax, [ecx + eax*4]
movzx eax, byte [edi]
and dword [ecx + eax*4], 0xfffffffd
lea eax, [ecx + eax*4]
jmp 0x45e04e
movzx eax, byte [edi]
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x4c]
shl eax, 2
mov edx, dword [eax + ecx]
mov dword [eax + ebx], edx
mov edx, dword [ebp - 8]
movzx eax, byte [edi]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp - 0x24]
movzx eax, byte [edi]
and dword [ecx + eax*4], 0xfffffffe
lea eax, [ecx + eax*4]
jmp 0x45e04e
movzx ecx, byte [edi]
inc edi
cmp ecx, dword [ebp - 0x14]
jae 0x45ca28
mov edx, dword [ebp - 0x24]
shl ecx, 2
test byte [ecx + edx], 1
jne 0x45ca28
mov edx, dword [ebp - 0x20]
mov edx, dword [ecx + edx]
cmp edx, 0xffffffff
mov dword [ebp - 0x38], edx
je 0x45ca28
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ecx + ebx]
cmp ecx, 0xffffffff
mov dword [ebp - 0x34], ecx
je 0x45ca28
cmp edx, ecx
je case.0x45cb9d.27
jmp 0x45cc56
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
je 0x45ca28
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
sub ebx, ecx
sub eax, edx
cmp ebx, eax
jle 0x45cc72
mov ebx, eax
test byte [ebp - 0x30], 1
push ebx
push edx
push dword [ebp - 8]
je 0x45cc84
call fcn.0045edf5
jmp 0x45cc89
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x45ca23
add dword [ebp - 0x38], ebx
add dword [ebp - 8], ebx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x34]
mov eax, dword [sym.ruby187g.exc_re_mbctab]
jne 0x45cc53
jmp case.0x45cb9d.27
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 1]
test ecx, ecx
mov dword [ebp - 0x28], ecx
jle 0x45cccf
mov eax, dword [ebp - 0x20]
lea eax, [eax + ecx*4]
cmp dword [eax], 0xffffffff
jne 0x45cccf
dec ecx
sub eax, 4
test ecx, ecx
mov dword [ebp - 0x28], ecx
jg 0x45ccbf
mov eax, dword [ebp - 0x18]
lea ebx, [ecx + ecx*2 + 5]
mov edx, eax
sub edx, esi
sar edx, 2
cmp edx, ebx
jg 0x45cd54
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45cd1c
shl eax, 3
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x45eadf
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45cd38
shl eax, 3
push eax
mov dword [ebp - 0x34], eax
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_realloc]
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
je 0x45eae7
sub esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
push 4
sar esi, 2
add eax, ebx
mov dword [ebp - 0xc], ebx
lea esi, [ebx + esi*4]
mov dword [ebp - 0x18], eax
pop edx
jmp 0x45cd57
push 4
pop edx
mov eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
mov dword [esi], eax
add esi, edx
cmp ecx, 1
jl 0x45cda4
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x20]
sub ebx, edx
push 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x24]
sub ebx, edx
lea eax, [edx + 4]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ecx
pop edx
mov ebx, dword [ebp - 0x38]
mov ebx, dword [ebx + eax]
mov dword [esi], ebx
mov ebx, dword [eax]
add esi, edx
mov dword [esi], ebx
mov ebx, dword [ebp - 0x34]
add esi, edx
mov ebx, dword [ebx + eax]
add eax, edx
mov dword [esi], ebx
add esi, edx
dec dword [ebp - 0x28]
jne 0x45cd83
mov dword [esi], ecx
mov ecx, dword [ebp - 8]
add esi, edx
xor eax, eax
mov dword [esi], eax
add esi, edx
mov dword [esi], ecx
mov ecx, dword [ebp - 0x30]
add esi, edx
mov dword [esi], ecx
add esi, edx
mov dword [esi], eax
add esi, edx
mov edx, esi
sub edx, dword [ebp - 0xc]
mov ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1fffc
jg 0x45ead0
movzx eax, byte [edi + 1]
mov ecx, 0x80
xor eax, ecx
sub eax, ecx
movzx ecx, byte [edi]
shl eax, 8
add eax, ecx
inc edi
inc edi
mov ecx, edx
add eax, edi
sar ecx, 2
sar edx, 0xa
mov byte [eax], cl
mov byte [eax + 1], dl
jmp 0x45c95d
movzx ecx, byte [edi + 1]
mov edx, 0x80
push 0xfffffffffffffffc
xor ecx, edx
sub ecx, edx
movzx edx, byte [edi]
shl ecx, 8
add ecx, edx
mov edx, dword [ebp - 0xc]
inc edi
lea esi, [edx + ecx*4]
pop edx
inc edi
mov ecx, dword [esi - 0xc]
sub esi, 0x14
mov dword [ebp - 8], ecx
mov ecx, dword [esi]
lea ecx, [ecx + ecx*2]
shl ecx, 2
sub edx, ecx
mov ecx, dword [esi + edx]
add esi, edx
mov edx, ecx
dec ecx
test edx, edx
je 0x45d4a5
lea edx, [ecx + 1]
mov ecx, dword [esi - 4]
sub esi, 4
sub esi, 4
mov eax, dword [esi]
mov byte [ecx], al
sar eax, 8
dec edx
mov byte [ecx + 1], al
jne 0x45ce47
jmp 0x45d4a0
movzx ecx, byte [edi + 1]
mov edx, 0x80
push 0xfffffffffffffffc
xor ecx, edx
sub ecx, edx
movzx edx, byte [edi]
shl ecx, 8
add ecx, edx
mov edx, dword [ebp - 0xc]
inc edi
lea esi, [edx + ecx*4 - 0x14]
pop edx
inc edi
mov ecx, dword [esi]
lea ecx, [ecx + ecx*2]
shl ecx, 2
sub edx, ecx
mov ecx, dword [esi + edx]
add esi, edx
mov edx, ecx
dec ecx
test edx, edx
je 0x45d4a5
lea edx, [ecx + 1]
mov ecx, dword [esi - 4]
sub esi, 4
sub esi, 4
mov eax, dword [esi]
mov byte [ecx], al
sar eax, 8
dec edx
mov byte [ecx + 1], al
jne 0x45cea0
jmp 0x45d4a0
movzx ecx, byte [edi + 2]
movzx edx, byte [edi + 1]
xor ecx, 0x80
push 0xfffffffffffffffc
shl ecx, 8
add ecx, edx
mov edx, dword [ebp - 0xc]
lea esi, [edx + ecx*4 - 0x20014]
pop edx
mov ecx, dword [esi]
lea ecx, [ecx + ecx*2]
shl ecx, 2
sub edx, ecx
mov ecx, dword [esi + edx]
add esi, edx
mov edx, ecx
dec ecx
test edx, edx
je 0x45cf0f
lea edx, [ecx + 1]
mov ecx, dword [esi - 4]
sub esi, 4
sub esi, 4
mov eax, dword [esi]
mov byte [ecx], al
sar eax, 8
dec edx
mov byte [ecx + 1], al
jne 0x45cef4
mov eax, dword [sym.ruby187g.exc_re_mbctab]
and dword [ebp - 0x1c], 0
jmp 0x45ca28
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45ca28
mov ebx, dword [ebp - 8]
movzx ecx, byte [ebx]
mov dl, byte [ecx + eax]
test dl, dl
je 0x45cf7a
movzx ecx, dl
lea ecx, [ecx + ebx + 1]
cmp ecx, dword [ebp - 0x10]
ja 0x45ca28
mov edx, dword [ebp - 0x14]
test edx, edx
jbe 0x45cf64
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
test al, 1
je 0x45cf55
or al, 2
jmp 0x45cf57
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45cf4b
mov eax, dword [sym.ruby187g.exc_re_mbctab]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
movzx edx, byte [edx + eax]
lea ecx, [ecx + edx + 1]
mov dword [ebp - 8], ecx
jmp case.0x45cb9d.27
test byte [ebp - 0x30], 4
jne 0x45cf9d
test byte [ebp - 0x30], 1
je 0x45cf94
mov edx, dword [0x499e54]
test edx, edx
je 0x45cf94
movzx ecx, byte [ecx + edx]
cmp ecx, 0xa
je 0x45ca28
mov edx, dword [ebp - 0x14]
test edx, edx
jbe 0x45cfc0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
test al, 1
je 0x45cfb1
or al, 2
jmp 0x45cfb3
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45cfa7
mov eax, dword [sym.ruby187g.exc_re_mbctab]
inc dword [ebp - 8]
jmp case.0x45cb9d.27
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
dec ecx
test ecx, ecx
mov dword [ebp - 0x28], ecx
jle 0x45cfec
mov edx, dword [ebp - 0x20]
lea edx, [edx + ecx*4]
cmp dword [edx], 0xffffffff
jne 0x45cfec
dec ecx
sub edx, 4
test ecx, ecx
mov dword [ebp - 0x28], ecx
jg 0x45cfdc
mov edx, eax
lea ebx, [ecx + ecx*2 + 5]
sub edx, esi
sar edx, 2
cmp edx, ebx
jg 0x45d069
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45d036
shl eax, 3
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x45eadf
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45d052
shl eax, 3
push eax
mov dword [ebp - 0x34], eax
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_realloc]
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
je 0x45eae7
sub esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], ebx
sar esi, 2
add eax, ebx
lea esi, [ebx + esi*4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
mov dword [esi], eax
add esi, 4
cmp ecx, 1
jl 0x45d0b4
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
add eax, 4
sub ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ebx
mov ebx, dword [eax + edx]
mov dword [esi], ebx
mov ebx, dword [eax]
add esi, 4
mov dword [esi], ebx
mov ebx, dword [ebp - 0x34]
add esi, 4
mov ebx, dword [eax + ebx]
add eax, 4
mov dword [esi], ebx
add esi, 4
dec dword [ebp - 0x38]
jne 0x45d092
push 4
mov dword [esi], ecx
mov eax, dword [ebp - 8]
pop ecx
add esi, ecx
mov edx, dword [ebp - 0x30]
mov dword [esi], edi
add esi, ecx
mov dword [esi], eax
add esi, ecx
mov dword [esi], edx
and dword [esi + ecx], 0
add esi, ecx
add esi, ecx
cmp eax, dword [ebp - 0x10]
je 0x45ca23
movzx ecx, byte [eax]
mov eax, dword [sym.ruby187g.exc_re_mbctab]
mov bl, byte [ecx + eax]
test bl, bl
je 0x45d136
mov edx, dword [ebp - 8]
movzx ecx, bl
lea ecx, [ecx + edx + 1]
cmp ecx, dword [ebp - 0x10]
ja 0x45ca28
cmp dword [ebp - 0x14], 0
jbe 0x45d123
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ecx]
test al, 1
je 0x45d114
or al, 2
jmp 0x45d116
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec ebx
jne 0x45d10a
mov eax, dword [sym.ruby187g.exc_re_mbctab]
movzx ecx, byte [edx]
movzx eax, byte [ecx + eax]
lea eax, [edx + eax + 1]
mov dword [ebp - 8], eax
jmp case.0x45cb9d.22
test dl, 4
jne 0x45d157
test dl, 1
je 0x45d14e
mov edx, dword [0x499e54]
test edx, edx
je 0x45d14e
movzx ecx, byte [ecx + edx]
cmp ecx, 0xa
je 0x45ca28
mov edx, dword [ebp - 0x14]
test edx, edx
jbe 0x45d175
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
test al, 1
je 0x45d16b
or al, 2
jmp 0x45d16d
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45d161
inc dword [ebp - 8]
jmp case.0x45cb9d.22
mov ecx, dword [ebp - 8]
and dword [ebp - 0x38], 0
cmp ecx, dword [ebp - 0x10]
lea ebx, [ecx + 1]
mov dword [ebp - 0x28], ebx
je 0x45ca28
movzx edx, byte [ecx]
movzx ecx, dl
mov dword [ebp - 8], ebx
mov al, byte [ecx + eax]
test al, al
je 0x45d20e
movzx eax, al
lea ecx, [eax + ebx]
cmp ecx, dword [ebp - 0x10]
ja 0x45d221
cmp dword [0x499e58], 3
mov dword [ebp - 0x34], edx
jne 0x45d1e5
push 6
mov dword [ebp - 0x50], eax
pop ecx
push 1
sub ecx, eax
pop eax
shl eax, cl
dec eax
and edx, eax
mov eax, dword [ebp - 0x50]
mov ecx, eax
dec eax
test ecx, ecx
je 0x45d1f1
inc eax
mov cl, byte [ebx]
and ecx, 0x3f
shl edx, 6
or edx, ecx
inc ebx
dec eax
jne 0x45d1d5
jmp 0x45d1ee
movzx eax, byte [ebx]
shl edx, 8
or edx, eax
inc ebx
mov dword [ebp - 8], ebx
push edi
push edx
call fcn.0045eca4
pop ecx
test eax, eax
pop ecx
jne 0x45d22a
push edi
push dword [ebp - 0x34]
call fcn.0045ec6f
pop ecx
mov dword [ebp - 0x38], eax
pop ecx
jmp 0x45d22a
test byte [ebp - 0x30], 1
je 0x45d221
mov eax, dword [0x499e54]
test eax, eax
je 0x45d221
movzx edx, byte [edx + eax]
push edi
push edx
call fcn.0045ed45
pop ecx
pop ecx
cmp byte [edi - 1], 0x18
jne 0x45d239
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
test eax, eax
je 0x45ca23
movzx eax, byte [edi]
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov ch, byte [eax + edi + 2]
mov cl, byte [eax + edi + 1]
test edx, edx
lea eax, [eax + ecx*8]
lea edi, [edi + eax + 3]
jbe 0x45d273
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
test al, 1
je 0x45d269
or al, 2
jmp 0x45d26b
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45d25f
cmp dword [ebp - 0x38], 0
je 0x45eaa7
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
jmp 0x45eaa7
cmp dword [ebp + 0x10], 0
je case.0x45cb9d.27
mov ecx, dword [ebp + 0xc]
cmp dword [ebp - 8], ecx
je case.0x45cb9d.27
mov ecx, dword [ebp - 8]
cmp byte [ecx - 1], 0xa
jne 0x45ca28
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
jmp 0x45e34a
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je case.0x45cb9d.27
mov ecx, dword [ebp - 8]
cmp byte [ecx], 0xa
jmp 0x45d2fe
mov ecx, dword [ebp + 0xc]
cmp dword [ebp - 8], ecx
jmp 0x45d2fe
mov ecx, dword [ebp - 0x10]
jmp 0x45d2cd
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je case.0x45cb9d.27
mov ecx, dword [ebp - 8]
cmp byte [ecx], 0xa
jne 0x45ca28
inc ecx
cmp ecx, dword [ebp - 0x10]
jmp 0x45d2fe
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 0x18]
je case.0x45cb9d.27
jmp 0x45ca28
movzx ecx, byte [edi + 1]
movzx edx, byte [edi]
mov ebx, 0x80
xor ecx, ebx
sub ecx, ebx
shl ecx, 8
add ecx, edx
inc edi
inc edi
mov dword [ebp - 0x28], ecx
mov edx, edi
lea ecx, [edi + 2]
mov dword [ebp - 0x34], edx
cmp ecx, dword [ebp - 0x3c]
jae 0x45d35f
mov dword [ebp - 0x38], ecx
mov cl, byte [edx]
cmp cl, 0x1a
je 0x45d34d
cmp cl, 0x19
je 0x45d34d
cmp cl, 0x1c
jne 0x45d35f
inc edx
inc dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
jmp 0x45d357
add edx, 3
add dword [ebp - 0x38], 3
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x3c]
jb 0x45d333
cmp edx, dword [ebp - 0x3c]
je 0x45d43b
mov cl, byte [edx]
cmp cl, 1
je 0x45d378
cmp cl, 3
jne 0x45d444
cmp cl, 3
jne 0x45d386
mov dword [ebp - 0x38], 0xa
jmp 0x45d38d
movzx ecx, byte [edx + 2]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x28]
add ecx, edi
mov dword [ebp - 0x28], ecx
cmp byte [ecx + 3], 1
jne 0x45d3ab
movzx ecx, byte [ecx + 5]
cmp ecx, dword [ebp - 0x38]
jne 0x45d43b
mov ecx, dword [ebp - 0x28]
mov cl, byte [ecx + 3]
cmp cl, 0x17
je 0x45d3bc
cmp cl, 0x18
jne 0x45d444
mov ecx, dword [ebp - 0x38]
movzx edx, cl
mov al, byte [edx + eax]
test al, al
je 0x45d416
mov edx, dword [ebp - 0x34]
add edx, 3
cmp dword [0x499e58], 3
mov dword [ebp - 0x50], edx
jne 0x45d40e
push 6
movzx eax, al
pop ecx
push 1
sub ecx, eax
pop edx
shl edx, cl
mov ecx, dword [ebp - 0x38]
dec edx
and ecx, edx
mov edx, eax
dec eax
test edx, edx
je 0x45d416
mov edx, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x38], eax
mov al, byte [edx]
and eax, 0x3f
shl ecx, 6
or ecx, eax
inc edx
dec dword [ebp - 0x38]
jne 0x45d3fc
jmp 0x45d416
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 0x28]
add eax, 4
push eax
push ecx
call fcn.0045ed45
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
cmp byte [ecx + 3], 0x18
jne 0x45d437
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
test eax, eax
jne 0x45d43f
mov byte [edi - 3], 0xb
mov eax, dword [sym.ruby187g.exc_re_mbctab]
dec edi
dec edi
cmp byte [edi - 1], 0xb
je 0x45d45a
mov byte [edi - 1], 8
jmp 0x45ded6
mov ebx, 0x80
cmp esi, dword [ebp - 0xc]
jbe 0x45d4ae
mov ecx, dword [esi - 0xc]
cmp ecx, dword [ebp - 8]
jne 0x45d4ae
mov edi, dword [esi - 0x10]
mov ecx, dword [esi - 0x14]
sub esi, 0x14
push 0xfffffffffffffffc
lea ecx, [ecx + ecx*2]
pop edx
shl ecx, 2
sub edx, ecx
mov ecx, dword [esi + edx]
add esi, edx
mov edx, ecx
dec ecx
test edx, edx
je 0x45d4a5
lea edx, [ecx + 1]
mov ecx, dword [esi - 4]
sub esi, 4
sub esi, 4
mov eax, dword [esi]
mov byte [ecx], al
sar eax, 8
dec edx
mov byte [ecx + 1], al
jne 0x45d48a
mov eax, dword [sym.ruby187g.exc_re_mbctab]
and dword [ebp - 0x1c], 0
jmp case.0x45cb9d.0
mov ecx, dword [esi - 0x14]
sub esi, 0x14
push 0xfffffffffffffffc
lea ecx, [ecx + ecx*2]
pop edx
shl ecx, 2
sub edx, ecx
mov ecx, dword [esi + edx]
add esi, edx
mov edx, ecx
dec ecx
test edx, edx
je 0x45d4e9
lea edx, [ecx + 1]
mov ecx, dword [esi - 4]
sub esi, 4
sub esi, 4
mov eax, dword [esi]
mov byte [ecx], al
sar eax, 8
dec edx
mov byte [ecx + 1], al
jne 0x45d4ce
mov eax, dword [sym.ruby187g.exc_re_mbctab]
and dword [ebp - 0x1c], 0
jmp 0x45d60d
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 1]
test ecx, ecx
mov dword [ebp - 0x28], ecx
jle 0x45d515
mov eax, dword [ebp - 0x20]
lea eax, [eax + ecx*4]
cmp dword [eax], 0xffffffff
jne 0x45d515
dec ecx
sub eax, 4
test ecx, ecx
mov dword [ebp - 0x28], ecx
jg 0x45d505
mov eax, dword [ebp - 0x18]
lea ebx, [ecx + ecx*2 + 5]
mov edx, eax
sub edx, esi
sar edx, 2
cmp edx, ebx
jg 0x45d59a
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45d562
shl eax, 3
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x45eadf
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45d57e
shl eax, 3
push eax
mov dword [ebp - 0x34], eax
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_realloc]
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
je 0x45eae7
sub esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
push 4
sar esi, 2
add eax, ebx
mov dword [ebp - 0xc], ebx
lea esi, [ebx + esi*4]
mov dword [ebp - 0x18], eax
pop edx
jmp 0x45d59d
push 4
pop edx
mov eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
mov dword [esi], eax
add esi, edx
cmp ecx, 1
jl 0x45d5ea
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x20]
sub ebx, edx
push 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x24]
sub ebx, edx
lea eax, [edx + 4]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ecx
pop edx
mov ebx, dword [ebp - 0x38]
mov ebx, dword [eax + ebx]
mov dword [esi], ebx
mov ebx, dword [eax]
add esi, edx
mov dword [esi], ebx
mov ebx, dword [ebp - 0x34]
add esi, edx
mov ebx, dword [eax + ebx]
add eax, edx
mov dword [esi], ebx
add esi, edx
dec dword [ebp - 0x28]
jne 0x45d5c9
mov dword [esi], ecx
add esi, edx
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov dword [esi], eax
add esi, edx
mov dword [esi], eax
add esi, edx
mov dword [esi], ecx
add esi, edx
mov dword [esi], eax
mov eax, dword [sym.ruby187g.exc_re_mbctab]
add esi, edx
mov ebx, 0x80
movzx ecx, byte [edi + 1]
movzx edx, byte [edi]
xor ecx, ebx
sub ecx, ebx
shl ecx, 8
add ecx, edx
inc edi
inc edi
test ecx, ecx
jge 0x45d634
cmp esi, dword [ebp - 0xc]
jbe 0x45d634
mov edx, dword [esi - 0xc]
cmp edx, dword [ebp - 8]
je 0x45ca28
add edi, ecx
jmp case.0x45cb9d.0
mov eax, edi
lea ecx, [edi + 2]
cmp ecx, dword [ebp - 0x3c]
jae 0x45d662
mov dl, byte [eax]
cmp dl, 0x1a
je 0x45d65a
cmp dl, 0x19
je 0x45d65a
cmp dl, 0x1c
jne 0x45d662
inc eax
inc ecx
jmp 0x45d640
add eax, 3
add ecx, 3
jmp 0x45d640
cmp eax, dword [ebp - 0x3c]
jae 0x45d675
cmp byte [eax], 8
jne 0x45d675
and byte [edi - 1], 0
jmp 0x45eaa7
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 1]
test ecx, ecx
mov dword [ebp - 0x28], ecx
jle 0x45d698
mov eax, dword [ebp - 0x20]
lea eax, [eax + ecx*4]
cmp dword [eax], 0xffffffff
jne 0x45d698
dec ecx
sub eax, 4
test ecx, ecx
mov dword [ebp - 0x28], ecx
jg 0x45d688
mov eax, dword [ebp - 0x18]
lea ebx, [ecx + ecx*2 + 5]
mov edx, eax
sub edx, esi
sar edx, 2
cmp edx, ebx
jg 0x45d71d
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45d6e5
shl eax, 3
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x45eadf
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45d701
shl eax, 3
push eax
mov dword [ebp - 0x34], eax
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_realloc]
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
je 0x45eae7
sub esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
push 4
sar esi, 2
add eax, ebx
mov dword [ebp - 0xc], ebx
lea esi, [ebx + esi*4]
mov dword [ebp - 0x18], eax
pop edx
jmp 0x45d720
push 4
pop edx
mov eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
mov dword [esi], eax
add esi, edx
cmp ecx, 1
jl 0x45d76d
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x20]
sub ebx, edx
push 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x24]
sub ebx, edx
lea eax, [edx + 4]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ecx
pop edx
mov ebx, dword [ebp - 0x38]
mov ebx, dword [eax + ebx]
mov dword [esi], ebx
mov ebx, dword [eax]
add esi, edx
mov dword [esi], ebx
mov ebx, dword [ebp - 0x34]
add esi, edx
mov ebx, dword [eax + ebx]
add eax, edx
mov dword [esi], ebx
add esi, edx
dec dword [ebp - 0x28]
jne 0x45d74c
mov dword [esi], ecx
add esi, edx
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov dword [esi], eax
add esi, edx
mov dword [esi], eax
add esi, edx
mov dword [esi], ecx
add esi, edx
mov dword [esi], eax
add esi, edx
jmp 0x45eaa7
movzx ebx, byte [edi + 3]
mov ecx, 0x80
lea eax, [edi + 2]
xor ebx, ecx
sub ebx, ecx
movzx ecx, byte [eax]
shl ebx, 8
add ebx, ecx
je case.0x45cb9d.10
mov edi, eax
mov ecx, 0x80
mov edx, dword [ebp - 0x18]
dec ebx
movzx eax, byte [edi + 1]
xor eax, ecx
sub eax, ecx
movzx ecx, byte [edi]
shl eax, 8
add eax, ecx
mov ecx, edx
sub ecx, esi
mov dword [ebp - 0x50], eax
and ecx, 0xfffffffc
cmp ecx, 8
jg 0x45d84c
sub edx, dword [ebp - 0xc]
sar edx, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], edx
mov eax, edx
jne 0x45d813
shl eax, 3
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 0x34], eax
je 0x45eadf
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push dword [ebp - 0x34]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45d830
shl eax, 3
push eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
mov dword [ebp - 0x34], eax
test eax, eax
pop ecx
je 0x45eae7
sub esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
sar esi, 2
add ecx, eax
lea esi, [eax + esi*4]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], ecx
mov edx, ecx
push 4
mov dword [esi], eax
pop ecx
mov eax, dword [ebp - 0x14]
add esi, ecx
mov dword [esi], edi
mov byte [edi], bl
sar ebx, 8
add esi, ecx
inc dword [ebp - 0x1c]
mov byte [edi + 1], bl
inc edi
lea ebx, [eax - 1]
inc edi
test ebx, ebx
jle 0x45d880
mov eax, dword [ebp - 0x20]
lea eax, [eax + ebx*4]
cmp dword [eax], 0xffffffff
jne 0x45d880
dec ebx
sub eax, ecx
test ebx, ebx
jg 0x45d874
sub edx, esi
lea eax, [ebx + ebx*2 + 5]
sar edx, 2
cmp edx, eax
jg 0x45d905
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45d8ce
shl eax, 3
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 0x34], eax
je 0x45eadf
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push dword [ebp - 0x34]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45d8eb
shl eax, 3
push eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
mov dword [ebp - 0x34], eax
test eax, eax
pop ecx
je 0x45eae7
sub esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
push 4
sar esi, 2
add ecx, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], ecx
lea esi, [eax + esi*4]
pop ecx
mov eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
mov dword [esi], eax
add esi, ecx
cmp ebx, 1
jl 0x45d952
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
sub edx, ecx
push 4
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x24]
sub edx, ecx
lea eax, [ecx + 4]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x28], ebx
pop ecx
mov edx, dword [ebp - 0x38]
mov edx, dword [eax + edx]
mov dword [esi], edx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
mov edx, dword [ebp - 0x34]
add esi, ecx
mov edx, dword [eax + edx]
add eax, ecx
mov dword [esi], edx
add esi, ecx
dec dword [ebp - 0x28]
jne 0x45d931
mov dword [esi], ebx
add esi, ecx
xor eax, eax
mov edx, dword [ebp - 0x30]
mov dword [esi], eax
add esi, ecx
mov dword [esi], eax
add esi, ecx
mov dword [esi], edx
add esi, ecx
mov dword [esi], eax
jmp 0x45daa0
movzx eax, byte [edi + 1]
mov ecx, 0x80
xor eax, ecx
sub eax, ecx
movzx ecx, byte [edi]
shl eax, 8
add eax, ecx
mov ecx, dword [ebp - 0x14]
inc edi
mov dword [ebp - 0x28], eax
lea ebx, [ecx - 1]
inc edi
test ebx, ebx
jle 0x45d9a5
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx + ebx*4]
cmp dword [ecx], 0xffffffff
jne 0x45d9a5
dec ebx
sub ecx, 4
test ebx, ebx
jg 0x45d998
mov ecx, dword [ebp - 0x18]
lea edx, [ebx + ebx*2 + 5]
sub ecx, esi
sar ecx, 2
cmp ecx, edx
jg 0x45da32
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45d9f6
shl eax, 3
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 0x34], eax
je 0x45eadf
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push dword [ebp - 0x34]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45da13
shl eax, 3
push eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
mov dword [ebp - 0x34], eax
test eax, eax
pop ecx
je 0x45eae7
sub esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
push 4
sar esi, 2
add ecx, eax
mov dword [ebp - 0xc], eax
lea esi, [eax + esi*4]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
pop ecx
jmp 0x45da35
push 4
pop ecx
mov edx, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
mov dword [esi], edx
add esi, ecx
cmp ebx, 1
jl 0x45da85
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
sub edx, ecx
push 4
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x24]
sub edx, ecx
lea eax, [ecx + 4]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x50], ebx
pop ecx
mov edx, dword [ebp - 0x38]
mov edx, dword [eax + edx]
mov dword [esi], edx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
mov edx, dword [ebp - 0x34]
add esi, ecx
mov edx, dword [eax + edx]
add eax, ecx
mov dword [esi], edx
add esi, ecx
dec dword [ebp - 0x50]
jne 0x45da61
mov eax, dword [ebp - 0x28]
mov dword [esi], ebx
add esi, ecx
add eax, edi
mov dword [esi], eax
mov eax, dword [ebp - 8]
add esi, ecx
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
add esi, ecx
mov dword [esi], eax
add esi, ecx
and dword [esi], 0
add esi, ecx
jmp 0x45c95d
movzx ecx, byte [edi + 3]
movzx edx, byte [edi + 2]
mov ebx, 0x80
xor ecx, ebx
sub ecx, ebx
shl ecx, 8
add edx, ecx
mov ecx, edx
mov dword [ebp - 0x58], edx
test ecx, ecx
je 0x45e055
mov eax, dword [ebp - 0x18]
dec ecx
sub eax, esi
mov dword [ebp - 0x28], ecx
and al, 0xfc
cmp eax, 8
jg 0x45db55
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45db1b
shl eax, 3
push eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 0x34], eax
je 0x45eadf
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push dword [ebp - 0x34]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45db38
shl eax, 3
push eax
mov dword [ebp - 0x50], eax
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
mov dword [ebp - 0x34], eax
test eax, eax
pop ecx
je 0x45eae7
sub esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x58]
sar esi, 2
add ecx, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x28]
lea esi, [eax + esi*4]
mov dword [esi], edx
add esi, 4
lea eax, [edi + 2]
mov dword [esi], eax
add esi, 4
inc dword [ebp - 0x1c]
mov byte [eax], cl
sar ecx, 8
mov byte [edi + 3], cl
jmp 0x45ded6
movzx eax, byte [edi + 1]
movzx edx, byte [edi]
mov ecx, 0x80
xor eax, ecx
sub eax, ecx
shl eax, 8
add eax, edx
inc edi
inc edi
lea edx, [eax + edi]
movzx eax, byte [edi + 1]
xor eax, ecx
sub eax, ecx
movzx ecx, byte [edi]
shl eax, 8
add eax, ecx
inc edi
inc edi
mov byte [edx], al
sar eax, 8
mov byte [edx + 1], al
jmp 0x45c95d
movzx ecx, byte [edi + 1]
mov edx, 0x80
xor ecx, edx
sub ecx, edx
movzx edx, byte [edi]
shl ecx, 8
add ecx, edx
inc edi
inc edi
add ecx, edi
cmp ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], ecx
jae 0x45dcec
mov eax, dword [ebp - 0x14]
lea ebx, [eax - 1]
test ebx, ebx
jle 0x45dbed
mov eax, dword [ebp - 0x20]
lea eax, [eax + ebx*4]
cmp dword [eax], 0xffffffff
jne 0x45dbed
dec ebx
sub eax, 4
test ebx, ebx
jg 0x45dbe0
mov eax, dword [ebp - 0x18]
lea edx, [ebx + ebx*2 + 5]
mov ecx, eax
sub ecx, esi
sar ecx, 2
cmp ecx, edx
jg 0x45dc71
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45dc3d
shl eax, 3
push eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 0x34], eax
je 0x45eadf
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push dword [ebp - 0x34]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45dc5a
shl eax, 3
push eax
mov dword [ebp - 0x50], eax
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
mov dword [ebp - 0x34], eax
test eax, eax
pop ecx
je 0x45eae7
sub esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
sar esi, 2
add ecx, eax
lea esi, [eax + esi*4]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
push 4
mov dword [esi], eax
pop ecx
add esi, ecx
cmp ebx, 1
jl 0x45dcc1
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
sub edx, ecx
push 4
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x24]
sub edx, ecx
lea eax, [ecx + 4]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x50], ebx
pop ecx
mov edx, dword [ebp - 0x38]
mov edx, dword [eax + edx]
mov dword [esi], edx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
mov edx, dword [ebp - 0x34]
add esi, ecx
mov edx, dword [eax + edx]
add eax, ecx
mov dword [esi], edx
add esi, ecx
dec dword [ebp - 0x50]
jne 0x45dca0
mov eax, dword [ebp - 8]
mov dword [esi], ebx
add esi, ecx
mov dword [esi], edi
add esi, ecx
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
add esi, ecx
mov dword [esi], eax
and dword [esi + ecx], 0
add esi, ecx
add esi, ecx
mov ecx, dword [ebp - 0x58]
mov dword [esi - 4], 1
mov eax, dword [sym.ruby187g.exc_re_mbctab]
mov edi, ecx
jmp case.0x45cb9d.0
mov ecx, dword [esi - 0x14]
sub esi, 0x14
push 0xfffffffffffffffc
lea ecx, [ecx + ecx*2]
pop edx
shl ecx, 2
sub edx, ecx
mov ecx, dword [esi + edx]
add esi, edx
mov edx, ecx
dec ecx
test edx, edx
je 0x45dd2e
lea edx, [ecx + 1]
mov ecx, dword [esi - 4]
sub esi, 4
sub esi, 4
mov eax, dword [esi]
mov byte [ecx], al
sar eax, 8
dec edx
mov byte [ecx + 1], al
jne 0x45dd13
mov eax, dword [sym.ruby187g.exc_re_mbctab]
movzx ecx, byte [edi + 1]
mov edx, 0x80
and dword [ebp - 0x1c], 0
xor ecx, edx
sub ecx, edx
movzx edx, byte [edi]
shl ecx, 8
add ecx, edx
inc edi
inc edi
mov dword [ebp - 0x28], ecx
test ecx, ecx
jge 0x45dd61
cmp esi, dword [ebp - 0xc]
jbe 0x45dd61
mov edx, dword [ebp - 8]
cmp dword [esi - 0xc], edx
je 0x45ca28
mov eax, dword [ebp - 0x14]
lea ebx, [eax - 1]
test ebx, ebx
jle 0x45dd7e
mov eax, dword [ebp - 0x20]
lea eax, [eax + ebx*4]
cmp dword [eax], 0xffffffff
jne 0x45dd7e
dec ebx
sub eax, 4
test ebx, ebx
jg 0x45dd71
mov eax, dword [ebp - 0x18]
lea edx, [ebx + ebx*2 + 5]
sub eax, esi
sar eax, 2
cmp eax, edx
jg 0x45de06
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45ddcf
shl eax, 3
push eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 0x34], eax
je 0x45eadf
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push dword [ebp - 0x34]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45ddec
shl eax, 3
push eax
mov dword [ebp - 0x50], eax
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
mov dword [ebp - 0x34], eax
test eax, eax
pop ecx
je 0x45eae7
sub esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
sar esi, 2
add ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x28]
lea esi, [eax + esi*4]
and dword [esi], 0
and dword [ebp - 0x1c], 0
push 4
pop edx
add esi, edx
cmp ebx, 1
jl 0x45de57
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
sub edx, ecx
push 4
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x24]
sub edx, ecx
lea eax, [ecx + 4]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x50], ebx
pop edx
mov ecx, dword [ebp - 0x38]
mov ecx, dword [eax + ecx]
mov dword [esi], ecx
mov ecx, dword [eax]
add esi, edx
mov dword [esi], ecx
mov ecx, dword [ebp - 0x34]
add esi, edx
mov ecx, dword [eax + ecx]
add eax, edx
mov dword [esi], ecx
add esi, edx
dec dword [ebp - 0x50]
jne 0x45de33
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov dword [esi], ebx
add esi, edx
add ecx, edi
mov dword [esi], ecx
add esi, edx
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
add esi, edx
mov dword [esi], eax
and dword [esi + edx], 0
add esi, edx
add esi, edx
mov dword [esi - 4], 1
jmp 0x45c95d
movzx ecx, byte [edi + 3]
mov ebx, 0x80
lea edx, [edi + 2]
xor ecx, ebx
mov dword [ebp - 0x58], edx
movzx edx, byte [edx]
sub ecx, ebx
shl ecx, 8
add ecx, edx
je 0x45e055
mov edx, dword [ebp - 0x58]
dec ecx
movzx eax, byte [edi + 1]
mov byte [edx], cl
xor eax, ebx
sar ecx, 8
mov byte [edi + 3], cl
sub eax, ebx
movzx ecx, byte [edi]
shl eax, 8
add eax, ecx
movzx ecx, byte [eax + edi + 6]
add eax, edi
xor ecx, ebx
sub ecx, ebx
movzx eax, byte [eax + 5]
shl ecx, 8
add ecx, eax
test ecx, ecx
jle 0x45dee0
mov eax, dword [sym.ruby187g.exc_re_mbctab]
jmp 0x45d60d
mov eax, dword [esi - 0x14]
sub esi, 0x14
push 0xfffffffffffffffc
lea eax, [eax + eax*2]
pop ecx
shl eax, 2
sub ecx, eax
mov eax, dword [esi + ecx]
add esi, ecx
mov ecx, eax
dec eax
test ecx, ecx
je 0x45df19
inc eax
mov dword [ebp - 0x50], eax
mov ecx, dword [esi - 4]
sub esi, 4
sub esi, 4
mov eax, dword [esi]
mov byte [ecx], al
sar eax, 8
dec dword [ebp - 0x50]
mov byte [ecx + 1], al
jne 0x45df01
movzx eax, byte [edi + 1]
movzx ecx, byte [edi]
xor eax, ebx
mov edi, edx
sub eax, ebx
shl eax, 8
add eax, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
lea ebx, [ecx - 1]
test ebx, ebx
jle 0x45df4b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx + ebx*4]
cmp dword [ecx], 0xffffffff
jne 0x45df4b
dec ebx
sub ecx, 4
test ebx, ebx
jg 0x45df3e
mov ecx, dword [ebp - 0x18]
lea edx, [ebx + ebx*2 + 5]
sub ecx, esi
sar ecx, 2
cmp ecx, edx
jg 0x45dfd8
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45df9c
shl eax, 3
push eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 0x34], eax
je 0x45eadf
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push dword [ebp - 0x34]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45dfb9
shl eax, 3
push eax
mov dword [ebp - 0x50], eax
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
mov dword [ebp - 0x34], eax
test eax, eax
pop ecx
je 0x45eae7
sub esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x50]
push 4
sar esi, 2
add ecx, eax
mov dword [ebp - 0xc], eax
lea esi, [eax + esi*4]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
pop ecx
jmp 0x45dfdb
push 4
pop ecx
and dword [esi], 0
and dword [ebp - 0x1c], 0
add esi, ecx
cmp ebx, 1
jl 0x45e029
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
sub edx, ecx
push 4
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x24]
sub edx, ecx
lea eax, [ecx + 4]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x50], ebx
pop ecx
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + eax]
mov dword [esi], edx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
mov edx, dword [ebp - 0x34]
add esi, ecx
mov edx, dword [edx + eax]
add eax, ecx
mov dword [esi], edx
add esi, ecx
dec dword [ebp - 0x50]
jne 0x45e005
mov eax, dword [ebp - 0x28]
mov dword [esi], ebx
add esi, ecx
add eax, edi
mov dword [esi], eax
mov eax, dword [ebp - 8]
add esi, ecx
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
add esi, ecx
mov dword [esi], eax
and dword [esi + ecx], 0
add esi, ecx
add esi, ecx
mov dword [esi - 4], 1
inc edi
inc edi
jmp 0x45c95d
add edi, 4
jmp case.0x45cb9d.0
or dword [ebp - 0x30], 1
jmp case.0x45cb9d.0
and dword [ebp - 0x30], 0xfffffffe
jmp case.0x45cb9d.0
movzx ecx, byte [edi]
mov dword [ebp - 0x30], ecx
inc edi
jmp case.0x45cb9d.0
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jne 0x45e0d2
cmp ecx, dword [ebp - 0x10]
je 0x45ca28
movzx ecx, byte [ecx]
mov dl, byte [ecx + 0x499c88]
cmp dl, 1
je case.0x45cb9d.27
cmp dword [0x499e58], 0
je 0x45e0ca
mov cl, byte [ecx + eax]
test cl, cl
je 0x45ca28
mov edx, dword [ebp - 8]
movzx ecx, cl
lea ecx, [ecx + edx + 1]
cmp ecx, dword [ebp - 0x10]
jbe case.0x45cb9d.27
jmp 0x45ca28
cmp dl, 2
jmp 0x45e7ff
cmp ecx, dword [ebp - 0x10]
mov edx, dword [0x499e58]
jne 0x45e1d8
cmp edx, 2
jne 0x45e18d
lea ebx, [ecx - 1]
cmp ebx, dword [ebp + 0xc]
je 0x45e100
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e100
push 2
jmp 0x45e102
push 1
pop edx
sub ecx, edx
movzx ecx, byte [ecx]
cmp byte [ecx + 0x499c88], 1
je case.0x45cb9d.27
cmp ebx, dword [ebp + 0xc]
je 0x45e12b
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx - 2]
cmp byte [ecx + eax], 0
je 0x45e12b
push 2
jmp 0x45e12d
push 1
mov edx, dword [ebp - 8]
pop ecx
sub edx, ecx
movzx ecx, byte [edx]
cmp byte [ecx + eax], 0
je 0x45ca28
cmp ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
je 0x45e159
movzx edx, byte [ecx - 2]
mov dword [ebp - 0x50], 2
cmp byte [edx + eax], 0
jne 0x45e160
mov dword [ebp - 0x50], 1
cmp ebx, dword [ebp + 0xc]
je 0x45e173
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e173
push 2
jmp 0x45e175
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
movzx edx, byte [edx + eax]
sub edx, dword [ebp - 0x50]
lea ecx, [edx + ecx + 1]
jmp 0x45e0bc
test edx, edx
je 0x45e19e
cmp byte [ecx - 1], 0x80
jae case.0x45cb9d.27
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx - 1]
mov dl, byte [ecx + 0x499c88]
cmp dl, 1
je case.0x45cb9d.27
cmp dword [0x499e58], 0
je 0x45e1d0
mov cl, byte [ecx + eax]
test cl, cl
je 0x45ca28
movzx ecx, cl
add ecx, dword [ebp - 8]
jmp 0x45e0bc
cmp dl, 2
jmp 0x45d2fe
cmp edx, 2
jne 0x45e282
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
je 0x45e1f7
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e1f7
push 2
jmp 0x45e1f9
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
cmp byte [edx + 0x499c88], 1
je 0x45e2c6
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
je 0x45e224
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e224
push 2
jmp 0x45e226
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
cmp byte [edx + eax], 0
je 0x45e2c0
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
je 0x45e251
movzx ebx, byte [ecx - 2]
mov dword [ebp - 0x50], 2
cmp byte [ebx + eax], 0
jne 0x45e258
mov dword [ebp - 0x50], 1
cmp edx, dword [ebp + 0xc]
je 0x45e26b
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e26b
push 2
jmp 0x45e26d
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
movzx edx, byte [edx + eax]
sub edx, dword [ebp - 0x50]
lea edx, [edx + ecx + 1]
jmp 0x45e2b3
test edx, edx
je 0x45e28c
cmp byte [ecx - 1], 0x80
jae 0x45e2c6
movzx edx, byte [ecx - 1]
mov bl, byte [edx + 0x499c88]
cmp bl, 1
mov byte [ebp - 1], bl
je 0x45e2c6
cmp dword [0x499e58], 0
je 0x45e2ba
mov dl, byte [edx + eax]
test dl, dl
je 0x45e2c0
movzx edx, dl
add edx, ecx
cmp edx, dword [ebp - 0x10]
jbe 0x45e2c6
jmp 0x45e2c0
cmp byte [ebp - 1], 2
je 0x45e2c6
and dword [ebp - 0x38], 0
jmp 0x45e2cd
mov dword [ebp - 0x38], 1
movzx edx, byte [ecx]
mov bl, byte [edx + 0x499c88]
cmp bl, 1
je 0x45e302
cmp dword [0x499e58], 0
je 0x45e2f9
mov dl, byte [edx + eax]
test dl, dl
je 0x45e2fe
movzx edx, dl
lea ecx, [edx + ecx + 1]
cmp ecx, dword [ebp - 0x10]
jbe 0x45e302
jmp 0x45e2fe
cmp bl, 2
je 0x45e302
xor ecx, ecx
jmp 0x45e305
push 1
pop ecx
cmp dword [ebp - 0x38], ecx
jmp 0x45e34a
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jne 0x45e355
movzx ecx, byte [ecx]
mov dl, byte [ecx + 0x499c88]
cmp dl, 1
je 0x45ca28
cmp dword [0x499e58], 0
je 0x45e347
mov cl, byte [ecx + eax]
test cl, cl
je case.0x45cb9d.27
mov edx, dword [ebp - 8]
movzx ecx, cl
lea ecx, [ecx + edx + 1]
jmp 0x45e64d
cmp dl, 2
jne case.0x45cb9d.27
jmp 0x45ca28
cmp ecx, dword [ebp - 0x10]
mov edx, dword [0x499e58]
jne 0x45e419
cmp edx, 2
jne 0x45e40c
lea ebx, [ecx - 1]
cmp ebx, dword [ebp + 0xc]
je 0x45e383
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e383
push 2
jmp 0x45e385
push 1
pop edx
sub ecx, edx
movzx ecx, byte [ecx]
cmp byte [ecx + 0x499c88], 1
je 0x45ca28
cmp ebx, dword [ebp + 0xc]
je 0x45e3ae
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx - 2]
cmp byte [ecx + eax], 0
je 0x45e3ae
push 2
jmp 0x45e3b0
push 1
mov edx, dword [ebp - 8]
pop ecx
sub edx, ecx
movzx ecx, byte [edx]
cmp byte [ecx + eax], 0
je case.0x45cb9d.27
cmp ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
je 0x45e3dc
movzx edx, byte [ecx - 2]
mov dword [ebp - 0x50], 2
cmp byte [edx + eax], 0
jne 0x45e3e3
mov dword [ebp - 0x50], 1
cmp ebx, dword [ebp + 0xc]
je 0x45e3f6
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e3f6
push 2
jmp 0x45e3f8
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
movzx edx, byte [edx + eax]
sub edx, dword [ebp - 0x50]
jmp 0x45e649
test edx, edx
je 0x45e66f
jmp 0x45e662
cmp edx, 2
jne 0x45e4c3
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
je 0x45e438
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e438
push 2
jmp 0x45e43a
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
cmp byte [edx + 0x499c88], 1
je 0x45e507
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
je 0x45e465
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e465
push 2
jmp 0x45e467
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
cmp byte [edx + eax], 0
je 0x45e501
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
je 0x45e492
movzx ebx, byte [ecx - 2]
mov dword [ebp - 0x50], 2
cmp byte [ebx + eax], 0
jne 0x45e499
mov dword [ebp - 0x50], 1
cmp edx, dword [ebp + 0xc]
je 0x45e4ac
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e4ac
push 2
jmp 0x45e4ae
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
movzx edx, byte [edx + eax]
sub edx, dword [ebp - 0x50]
lea edx, [edx + ecx + 1]
jmp 0x45e4f4
test edx, edx
je 0x45e4cd
cmp byte [ecx - 1], 0x80
jae 0x45e507
movzx edx, byte [ecx - 1]
mov bl, byte [edx + 0x499c88]
cmp bl, 1
mov byte [ebp - 1], bl
je 0x45e507
cmp dword [0x499e58], 0
je 0x45e4fb
mov dl, byte [edx + eax]
test dl, dl
je 0x45e501
movzx edx, dl
add edx, ecx
cmp edx, dword [ebp - 0x10]
jbe 0x45e507
jmp 0x45e501
cmp byte [ebp - 1], 2
je 0x45e507
and dword [ebp - 0x38], 0
jmp 0x45e50e
mov dword [ebp - 0x38], 1
movzx edx, byte [ecx]
mov bl, byte [edx + 0x499c88]
cmp bl, 1
je 0x45e543
cmp dword [0x499e58], 0
je 0x45e53a
mov dl, byte [edx + eax]
test dl, dl
je 0x45e53f
movzx edx, dl
lea ecx, [edx + ecx + 1]
cmp ecx, dword [ebp - 0x10]
jbe 0x45e543
jmp 0x45e53f
cmp bl, 2
je 0x45e543
xor ecx, ecx
jmp 0x45e546
push 1
pop ecx
cmp dword [ebp - 0x38], ecx
jmp 0x45e7ff
mov edx, dword [ebp - 8]
movzx ecx, byte [edx]
mov bl, byte [ecx + 0x499c88]
cmp bl, 1
je 0x45e590
cmp dword [0x499e58], 0
je 0x45e584
mov cl, byte [ecx + eax]
test cl, cl
je 0x45ca28
movzx ecx, cl
lea ecx, [ecx + edx + 1]
cmp ecx, dword [ebp - 0x10]
jbe 0x45e590
jmp 0x45ca28
cmp bl, 2
jne 0x45ca28
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
je case.0x45cb9d.27
mov ecx, dword [0x499e58]
push 2
pop edx
cmp ecx, edx
jne 0x45e65b
mov ecx, dword [ebp - 8]
lea ebx, [ecx - 1]
cmp ebx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ebx
je 0x45e5c5
movzx ebx, byte [ecx - 2]
cmp byte [ebx + eax], 0
mov ebx, dword [ebp - 0x38]
jne 0x45e5c8
push 1
pop edx
sub ecx, edx
movzx ecx, byte [ecx]
cmp byte [ecx + 0x499c88], 1
je 0x45ca28
cmp ebx, dword [ebp + 0xc]
je 0x45e5f0
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx - 2]
cmp byte [ecx + eax], 0
je 0x45e5f0
push 2
jmp 0x45e5f2
push 1
mov edx, dword [ebp - 8]
pop ecx
sub edx, ecx
movzx ecx, byte [edx]
cmp byte [ecx + eax], 0
je case.0x45cb9d.27
cmp ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
je 0x45e61e
movzx edx, byte [ecx - 2]
mov dword [ebp - 0x50], 2
cmp byte [edx + eax], 0
jne 0x45e625
mov dword [ebp - 0x50], 1
cmp ebx, dword [ebp + 0xc]
je 0x45e638
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e638
push 2
jmp 0x45e63a
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
movzx edx, byte [edx + eax]
sub edx, dword [ebp - 0x50]
lea ecx, [edx + ecx + 1]
cmp ecx, dword [ebp - 0x10]
jbe 0x45ca28
jmp case.0x45cb9d.27
test ecx, ecx
je 0x45e66c
mov ecx, dword [ebp - 8]
cmp byte [ecx - 1], 0x80
jae 0x45ca28
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx - 1]
mov dl, byte [ecx + 0x499c88]
cmp dl, 1
je 0x45ca28
cmp dword [0x499e58], 0
je 0x45e69e
mov cl, byte [ecx + eax]
test cl, cl
je case.0x45cb9d.27
movzx ecx, cl
add ecx, dword [ebp - 8]
jmp 0x45e64d
cmp dl, 2
je 0x45ca28
jmp case.0x45cb9d.27
mov ecx, dword [ebp + 0xc]
cmp dword [ebp - 8], ecx
je 0x45ca28
mov ecx, dword [0x499e58]
cmp ecx, 2
jne 0x45e76c
mov ecx, dword [ebp - 8]
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
je 0x45e6e3
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e6e3
push 2
jmp 0x45e6e5
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
cmp byte [edx + 0x499c88], 1
je 0x45e7ba
mov ebx, dword [ebp - 0x38]
cmp ebx, dword [ebp + 0xc]
je 0x45e710
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e710
push 2
jmp 0x45e712
push 1
pop edx
sub ecx, edx
movzx ecx, byte [ecx]
cmp byte [ecx + eax], 0
je 0x45ca28
cmp ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
je 0x45e73b
movzx edx, byte [ecx - 2]
mov dword [ebp - 0x50], 2
cmp byte [edx + eax], 0
jne 0x45e742
mov dword [ebp - 0x50], 1
cmp ebx, dword [ebp + 0xc]
je 0x45e755
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e755
push 2
jmp 0x45e757
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
movzx edx, byte [edx + eax]
sub edx, dword [ebp - 0x50]
lea edx, [edx + ecx + 1]
jmp 0x45e7a4
test ecx, ecx
mov ecx, dword [ebp - 8]
je 0x45e779
cmp byte [ecx - 1], 0x80
jae 0x45e7ba
movzx edx, byte [ecx - 1]
mov bl, byte [edx + 0x499c88]
cmp bl, 1
je 0x45e7ba
cmp dword [0x499e58], 0
je 0x45e7ae
mov dl, byte [edx + eax]
test dl, dl
je 0x45ca28
mov ecx, dword [ebp - 8]
movzx edx, dl
add edx, ecx
cmp edx, dword [ebp - 0x10]
jbe 0x45e7ba
jmp 0x45ca28
cmp bl, 2
jne 0x45ca28
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov bl, byte [edx + 0x499c88]
cmp bl, 1
je 0x45e7fc
cmp dword [0x499e58], 0
je 0x45e7f0
mov dl, byte [edx + eax]
test dl, dl
je case.0x45cb9d.27
mov ecx, dword [ebp - 8]
movzx edx, dl
lea edx, [edx + ecx + 1]
cmp edx, dword [ebp - 0x10]
jbe 0x45e7fc
jmp case.0x45cb9d.27
cmp bl, 2
jne case.0x45cb9d.27
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
jne 0x45ca28
jmp case.0x45cb9d.27
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45ca28
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx]
mov dl, byte [ecx + 0x499c88]
cmp dl, 1
je 0x45e858
cmp dword [0x499e58], 0
je 0x45e84f
mov dl, byte [ecx + eax]
test dl, dl
je 0x45ca28
mov ebx, dword [ebp - 8]
movzx edx, dl
lea edx, [edx + ebx + 1]
cmp edx, dword [ebp - 0x10]
jbe 0x45e858
jmp 0x45ca28
cmp dl, 2
jne 0x45ca28
mov cl, byte [ecx + eax]
test cl, cl
je 0x45e86f
mov edx, dword [ebp - 8]
movzx ecx, cl
add ecx, edx
cmp ecx, dword [ebp - 0x10]
jae 0x45e86f
mov dword [ebp - 8], ecx
inc dword [ebp - 8]
cmp dword [ebp - 0x14], 0
jbe case.0x45cb9d.27
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx]
test al, 1
je 0x45e88c
or al, 2
jmp 0x45e88e
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45e882
jmp 0x45eaa7
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45ca28
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx]
mov dl, byte [ecx + 0x499c88]
cmp dl, 1
je 0x45ca28
cmp dword [0x499e58], 0
je 0x45e8e1
mov dl, byte [ecx + eax]
test dl, dl
je 0x45e8ea
mov ebx, dword [ebp - 8]
movzx edx, dl
lea edx, [edx + ebx + 1]
cmp edx, dword [ebp - 0x10]
jbe 0x45ca28
jmp 0x45e8ea
cmp dl, 2
je 0x45ca28
mov cl, byte [ecx + eax]
test cl, cl
je 0x45e901
mov edx, dword [ebp - 8]
movzx ecx, cl
add ecx, edx
cmp ecx, dword [ebp - 0x10]
jae 0x45e901
mov dword [ebp - 8], ecx
inc dword [ebp - 8]
cmp dword [ebp - 0x14], 0
jbe case.0x45cb9d.27
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx]
test al, 1
je 0x45e91e
or al, 2
jmp 0x45e920
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45e914
jmp 0x45eaa7
movzx ecx, byte [edi]
inc edi
mov dword [ebp - 0x28], ecx
test byte [ebp - 0x30], 1
je 0x45ea04
cmp dword [0x499e54], 0
je 0x45ea04
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45ca28
mov cl, byte [edi]
cmp cl, 0xff
mov byte [ebp - 1], cl
jne 0x45e986
inc edi
dec dword [ebp - 0x28]
je 0x45ca28
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45ca28
mov ecx, dword [ebp - 8]
mov dl, byte [edi]
inc edi
inc dword [ebp - 8]
mov cl, byte [ecx]
cmp cl, dl
jmp 0x45e9f0
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov cl, byte [ecx]
movzx edx, cl
mov bl, byte [edx + eax]
test bl, bl
je 0x45e9df
inc edi
cmp cl, byte [ebp - 1]
jne 0x45ca28
movzx ecx, bl
test ecx, ecx
mov dword [ebp - 0x38], ecx
jle 0x45e9f6
dec dword [ebp - 0x28]
je 0x45ca28
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45ca28
mov ecx, dword [ebp - 8]
mov dl, byte [edi]
inc edi
inc dword [ebp - 8]
mov cl, byte [ecx]
cmp cl, dl
jne 0x45ca28
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0
jg 0x45e9ac
jmp 0x45e9f6
movzx ebx, byte [ebp - 1]
mov ecx, dword [0x499e54]
inc edi
mov bl, byte [ebx + ecx]
cmp byte [edx + ecx], bl
jne 0x45ca28
dec dword [ebp - 0x28]
je 0x45ea89
jmp 0x45e94b
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45ca28
cmp byte [edi], 0xff
jne 0x45ea19
inc edi
dec dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov dl, byte [edi]
inc edi
inc dword [ebp - 8]
mov cl, byte [ecx]
cmp cl, dl
jne 0x45ca28
dec dword [ebp - 0x28]
je 0x45ea89
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
jne 0x45ea10
jmp 0x45ca28
cmp byte [ecx], 0xa
jmp 0x45cb85
mov ecx, dword [esi - 0x14]
sub esi, 0x14
push 0xfffffffffffffffc
lea ecx, [ecx + ecx*2]
pop edx
shl ecx, 2
sub edx, ecx
mov ecx, dword [esi + edx]
add esi, edx
mov edx, ecx
dec ecx
test edx, edx
je 0x45ea81
lea edx, [ecx + 1]
mov ecx, dword [esi - 4]
sub esi, 4
sub esi, 4
mov eax, dword [esi]
mov byte [ecx], al
sar eax, 8
dec edx
mov byte [ecx + 1], al
jne 0x45ea66
mov eax, dword [sym.ruby187g.exc_re_mbctab]
mov dword [ebp - 0x1c], edi
jmp 0x45ca28
mov edx, dword [ebp - 0x14]
test edx, edx
jbe case.0x45cb9d.27
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
test al, 1
je 0x45ea9d
or al, 2
jmp 0x45ea9f
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45ea93
mov eax, dword [sym.ruby187g.exc_re_mbctab]
cmp dword [sym.ruby187g.exc_rb_prohibit_interrupt], 0
jne case.0x45cb9d.0
cmp dword [sym.ruby187g.exc_rb_trap_pending], 0
je case.0x45cb9d.0
call sym.ruby187g.exc_rb_trap_exec
jmp 0x45c95d
cmp dword [ebp - 0xc], eax
je 0x45eadf
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 0xfffffffffffffffe
pop eax
jmp 0x45ebbe
cmp dword [ebp - 0xc], 0
jmp 0x45ead3
cmp dword [ebp - 0x40], 0
je 0x45ebab
mov edx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
mov eax, dword [edx]
mov dword [ebp - 8], eax
jbe 0x45eb26
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x2c]
sub ecx, eax
sub edx, eax
sub esi, eax
mov edi, dword [ecx + eax]
mov dword [eax], edi
mov edi, dword [edx + eax]
mov dword [eax + esi], edi
add eax, 4
dec ebx
jne 0x45eb15
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x45eb90
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x14]
push 1
mov dword [ecx], edx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
pop esi
cmp dword [ebp - 0x14], esi
mov dword [edx], ecx
jbe 0x45eb90
mov edi, dword [ebp - 0x20]
sub edi, dword [ebp - 0x2c]
mov dword [ebp - 0x38], edi
mov edx, dword [ebp - 0x2c]
mov ecx, esi
shl ecx, 2
add edx, ecx
cmp dword [edx], 0xffffffff
jne 0x45eb70
mov edx, dword [eax + 8]
or dword [edx + ecx], 0xffffffff
mov edx, dword [eax + 0xc]
or dword [edx + ecx], 0xffffffff
jmp 0x45eb8a
mov edi, dword [edi + edx]
mov ebx, dword [eax + 8]
sub edi, dword [ebp + 0xc]
mov dword [ebx + ecx], edi
mov edx, dword [edx]
sub edx, dword [ebp + 0xc]
mov edi, dword [eax + 0xc]
mov dword [edi + ecx], edx
mov edi, dword [ebp - 0x38]
inc esi
cmp esi, dword [ebp - 0x14]
jb 0x45eb51
cmp dword [ebp - 0xc], 0
je 0x45eba0
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
jmp 0x45ebbe
cmp dword [ebp - 0xc], 0
je 0x45ebbb
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret