Function at 0x45c722
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 0x45c786
push ecx
push dword [ebp + 0x1c]
call fcn.0045ec4a
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 0x45c818
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 0x45c7e9
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 0x45ca5e
mov eax, dword [ebp + 8]
test byte [eax + 0x18], 0x10
je 0x45e9f4
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
je 0x45e9f4
cmp dword [ebp - 0x40], 0
jne 0x45e9c5
cmp esi, dword [ebp - 0xc]
je 0x45e9f4
push 1
pop edi
cmp dword [esi - 4], edi
jne 0x45c8ac
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 0x45c8a3
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 0x45c88d
and dword [ebp - 0x1c], 0
cmp esi, dword [ebp - 0xc]
jne 0x45c865
cmp esi, dword [ebp - 0xc]
je 0x45e9f4
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 0x45c8f1
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 0x45c8de
mov eax, dword [sym.ruby187g.exc_re_mbctab]
cmp esi, dword [ebp - 0xc]
je 0x45e9bb
xor edi, edi
cmp dword [esi - 0x10], edi
je 0x45e914
cmp dword [ebp - 0x40], edi
je 0x45c919
cmp dword [esi - 4], 1
je 0x45e914
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 0x45c985
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 0x45c969
mov eax, dword [sym.ruby187g.exc_re_mbctab]
test bx, bx
jle 0x45c9c7
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 0x45c9a2
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 0x45c9f2
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 0x45c9d7
mov eax, dword [sym.ruby187g.exc_re_mbctab]
cmp edi, dword [ebp - 0x3c]
jae 0x45c833
mov cl, byte [edi]
xor ebx, ebx
cmp cl, 8
je 0x45ca28
cmp cl, 0xa
jbe case.0x45ca6b.0
cmp cl, 0xc
jbe 0x45ca28
cmp cl, 0x10
je 0x45ca25
cmp cl, 0x12
je 0x45ca28
cmp cl, 0x13
jne case.0x45ca6b.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.0x45ca6b.0
test ebx, ebx
lea ecx, [edi + ecx + 3]
je 0x45e90c
cmp byte [ecx], 0xf
jne case.0x45ca6b.0
jmp 0x45c8f6
movzx ecx, byte [edi]
inc edi
cmp ecx, 0x2a
ja case.0x45ca6b.27
jmp dword [ecx*4 + 0x45ea91]
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 0x45df1c
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 0x45df1c
movzx ecx, byte [edi]
inc edi
cmp ecx, dword [ebp - 0x14]
jae 0x45c8f6
mov edx, dword [ebp - 0x24]
shl ecx, 2
test byte [ecx + edx], 1
jne 0x45c8f6
mov edx, dword [ebp - 0x20]
mov edx, dword [ecx + edx]
cmp edx, 0xffffffff
mov dword [ebp - 0x38], edx
je 0x45c8f6
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ecx + ebx]
cmp ecx, 0xffffffff
mov dword [ebp - 0x34], ecx
je 0x45c8f6
cmp edx, ecx
je case.0x45ca6b.27
jmp 0x45cb24
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
je 0x45c8f6
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
sub ebx, ecx
sub eax, edx
cmp ebx, eax
jle 0x45cb40
mov ebx, eax
test byte [ebp - 0x30], 1
push ebx
push edx
push dword [ebp - 8]
je 0x45cb52
call fcn.0045ecc3
jmp 0x45cb57
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x45c8f1
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 0x45cb21
jmp case.0x45ca6b.27
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 1]
test ecx, ecx
mov dword [ebp - 0x28], ecx
jle 0x45cb9d
mov eax, dword [ebp - 0x20]
lea eax, [eax + ecx*4]
cmp dword [eax], 0xffffffff
jne 0x45cb9d
dec ecx
sub eax, 4
test ecx, ecx
mov dword [ebp - 0x28], ecx
jg 0x45cb8d
mov eax, dword [ebp - 0x18]
lea ebx, [ecx + ecx*2 + 5]
mov edx, eax
sub edx, esi
sar edx, 2
cmp edx, ebx
jg 0x45cc22
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45cbea
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 0x45e9ad
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45cc06
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 0x45e9b5
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 0x45cc25
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 0x45cc72
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 0x45cc51
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 0x45e99e
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 0x45c82b
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 0x45d373
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 0x45cd15
jmp 0x45d36e
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 0x45d373
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 0x45cd6e
jmp 0x45d36e
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 0x45cddd
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 0x45cdc2
mov eax, dword [sym.ruby187g.exc_re_mbctab]
and dword [ebp - 0x1c], 0
jmp 0x45c8f6
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45c8f6
mov ebx, dword [ebp - 8]
movzx ecx, byte [ebx]
mov dl, byte [ecx + eax]
test dl, dl
je 0x45ce48
movzx ecx, dl
lea ecx, [ecx + ebx + 1]
cmp ecx, dword [ebp - 0x10]
ja 0x45c8f6
mov edx, dword [ebp - 0x14]
test edx, edx
jbe 0x45ce32
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
test al, 1
je 0x45ce23
or al, 2
jmp 0x45ce25
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45ce19
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.0x45ca6b.27
test byte [ebp - 0x30], 4
jne 0x45ce6b
test byte [ebp - 0x30], 1
je 0x45ce62
mov edx, dword [0x498e40]
test edx, edx
je 0x45ce62
movzx ecx, byte [ecx + edx]
cmp ecx, 0xa
je 0x45c8f6
mov edx, dword [ebp - 0x14]
test edx, edx
jbe 0x45ce8e
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
test al, 1
je 0x45ce7f
or al, 2
jmp 0x45ce81
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45ce75
mov eax, dword [sym.ruby187g.exc_re_mbctab]
inc dword [ebp - 8]
jmp case.0x45ca6b.27
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
dec ecx
test ecx, ecx
mov dword [ebp - 0x28], ecx
jle 0x45ceba
mov edx, dword [ebp - 0x20]
lea edx, [edx + ecx*4]
cmp dword [edx], 0xffffffff
jne 0x45ceba
dec ecx
sub edx, 4
test ecx, ecx
mov dword [ebp - 0x28], ecx
jg 0x45ceaa
mov edx, eax
lea ebx, [ecx + ecx*2 + 5]
sub edx, esi
sar edx, 2
cmp edx, ebx
jg 0x45cf37
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45cf04
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 0x45e9ad
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45cf20
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 0x45e9b5
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 0x45cf82
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 0x45cf60
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 0x45c8f1
movzx ecx, byte [eax]
mov eax, dword [sym.ruby187g.exc_re_mbctab]
mov bl, byte [ecx + eax]
test bl, bl
je 0x45d004
mov edx, dword [ebp - 8]
movzx ecx, bl
lea ecx, [ecx + edx + 1]
cmp ecx, dword [ebp - 0x10]
ja 0x45c8f6
cmp dword [ebp - 0x14], 0
jbe 0x45cff1
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ecx]
test al, 1
je 0x45cfe2
or al, 2
jmp 0x45cfe4
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec ebx
jne 0x45cfd8
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.0x45ca6b.22
test dl, 4
jne 0x45d025
test dl, 1
je 0x45d01c
mov edx, dword [0x498e40]
test edx, edx
je 0x45d01c
movzx ecx, byte [ecx + edx]
cmp ecx, 0xa
je 0x45c8f6
mov edx, dword [ebp - 0x14]
test edx, edx
jbe 0x45d043
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
test al, 1
je 0x45d039
or al, 2
jmp 0x45d03b
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45d02f
inc dword [ebp - 8]
jmp case.0x45ca6b.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 0x45c8f6
movzx edx, byte [ecx]
movzx ecx, dl
mov dword [ebp - 8], ebx
mov al, byte [ecx + eax]
test al, al
je 0x45d0dc
movzx eax, al
lea ecx, [eax + ebx]
cmp ecx, dword [ebp - 0x10]
ja 0x45d0ef
cmp dword [0x498e44], 3
mov dword [ebp - 0x34], edx
jne 0x45d0b3
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 0x45d0bf
inc eax
mov cl, byte [ebx]
and ecx, 0x3f
shl edx, 6
or edx, ecx
inc ebx
dec eax
jne 0x45d0a3
jmp 0x45d0bc
movzx eax, byte [ebx]
shl edx, 8
or edx, eax
inc ebx
mov dword [ebp - 8], ebx
push edi
push edx
call fcn.0045eb72
pop ecx
test eax, eax
pop ecx
jne 0x45d0f8
push edi
push dword [ebp - 0x34]
call fcn.0045eb3d
pop ecx
mov dword [ebp - 0x38], eax
pop ecx
jmp 0x45d0f8
test byte [ebp - 0x30], 1
je 0x45d0ef
mov eax, dword [0x498e40]
test eax, eax
je 0x45d0ef
movzx edx, byte [edx + eax]
push edi
push edx
call fcn.0045ec13
pop ecx
pop ecx
cmp byte [edi - 1], 0x18
jne 0x45d107
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
test eax, eax
je 0x45c8f1
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 0x45d141
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
test al, 1
je 0x45d137
or al, 2
jmp 0x45d139
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45d12d
cmp dword [ebp - 0x38], 0
je 0x45e975
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
jmp 0x45e975
cmp dword [ebp + 0x10], 0
je case.0x45ca6b.27
mov ecx, dword [ebp + 0xc]
cmp dword [ebp - 8], ecx
je case.0x45ca6b.27
mov ecx, dword [ebp - 8]
cmp byte [ecx - 1], 0xa
jne 0x45c8f6
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
jmp 0x45e218
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je case.0x45ca6b.27
mov ecx, dword [ebp - 8]
cmp byte [ecx], 0xa
jmp 0x45d1cc
mov ecx, dword [ebp + 0xc]
cmp dword [ebp - 8], ecx
jmp 0x45d1cc
mov ecx, dword [ebp - 0x10]
jmp 0x45d19b
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je case.0x45ca6b.27
mov ecx, dword [ebp - 8]
cmp byte [ecx], 0xa
jne 0x45c8f6
inc ecx
cmp ecx, dword [ebp - 0x10]
jmp 0x45d1cc
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 0x18]
je case.0x45ca6b.27
jmp 0x45c8f6
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 0x45d22d
mov dword [ebp - 0x38], ecx
mov cl, byte [edx]
cmp cl, 0x1a
je 0x45d21b
cmp cl, 0x19
je 0x45d21b
cmp cl, 0x1c
jne 0x45d22d
inc edx
inc dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
jmp 0x45d225
add edx, 3
add dword [ebp - 0x38], 3
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x3c]
jb 0x45d201
cmp edx, dword [ebp - 0x3c]
je 0x45d309
mov cl, byte [edx]
cmp cl, 1
je 0x45d246
cmp cl, 3
jne 0x45d312
cmp cl, 3
jne 0x45d254
mov dword [ebp - 0x38], 0xa
jmp 0x45d25b
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 0x45d279
movzx ecx, byte [ecx + 5]
cmp ecx, dword [ebp - 0x38]
jne 0x45d309
mov ecx, dword [ebp - 0x28]
mov cl, byte [ecx + 3]
cmp cl, 0x17
je 0x45d28a
cmp cl, 0x18
jne 0x45d312
mov ecx, dword [ebp - 0x38]
movzx edx, cl
mov al, byte [edx + eax]
test al, al
je 0x45d2e4
mov edx, dword [ebp - 0x34]
add edx, 3
cmp dword [0x498e44], 3
mov dword [ebp - 0x50], edx
jne 0x45d2dc
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 0x45d2e4
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 0x45d2ca
jmp 0x45d2e4
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 0x28]
add eax, 4
push eax
push ecx
call fcn.0045ec13
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
cmp byte [ecx + 3], 0x18
jne 0x45d305
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
test eax, eax
jne 0x45d30d
mov byte [edi - 3], 0xb
mov eax, dword [sym.ruby187g.exc_re_mbctab]
dec edi
dec edi
cmp byte [edi - 1], 0xb
je 0x45d328
mov byte [edi - 1], 8
jmp 0x45dda4
mov ebx, 0x80
cmp esi, dword [ebp - 0xc]
jbe 0x45d37c
mov ecx, dword [esi - 0xc]
cmp ecx, dword [ebp - 8]
jne 0x45d37c
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 0x45d373
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 0x45d358
mov eax, dword [sym.ruby187g.exc_re_mbctab]
and dword [ebp - 0x1c], 0
jmp case.0x45ca6b.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 0x45d3b7
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 0x45d39c
mov eax, dword [sym.ruby187g.exc_re_mbctab]
and dword [ebp - 0x1c], 0
jmp 0x45d4db
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 1]
test ecx, ecx
mov dword [ebp - 0x28], ecx
jle 0x45d3e3
mov eax, dword [ebp - 0x20]
lea eax, [eax + ecx*4]
cmp dword [eax], 0xffffffff
jne 0x45d3e3
dec ecx
sub eax, 4
test ecx, ecx
mov dword [ebp - 0x28], ecx
jg 0x45d3d3
mov eax, dword [ebp - 0x18]
lea ebx, [ecx + ecx*2 + 5]
mov edx, eax
sub edx, esi
sar edx, 2
cmp edx, ebx
jg 0x45d468
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45d430
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 0x45e9ad
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45d44c
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 0x45e9b5
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 0x45d46b
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 0x45d4b8
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 0x45d497
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 0x45d502
cmp esi, dword [ebp - 0xc]
jbe 0x45d502
mov edx, dword [esi - 0xc]
cmp edx, dword [ebp - 8]
je 0x45c8f6
add edi, ecx
jmp case.0x45ca6b.0
mov eax, edi
lea ecx, [edi + 2]
cmp ecx, dword [ebp - 0x3c]
jae 0x45d530
mov dl, byte [eax]
cmp dl, 0x1a
je 0x45d528
cmp dl, 0x19
je 0x45d528
cmp dl, 0x1c
jne 0x45d530
inc eax
inc ecx
jmp 0x45d50e
add eax, 3
add ecx, 3
jmp 0x45d50e
cmp eax, dword [ebp - 0x3c]
jae 0x45d543
cmp byte [eax], 8
jne 0x45d543
and byte [edi - 1], 0
jmp 0x45e975
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 1]
test ecx, ecx
mov dword [ebp - 0x28], ecx
jle 0x45d566
mov eax, dword [ebp - 0x20]
lea eax, [eax + ecx*4]
cmp dword [eax], 0xffffffff
jne 0x45d566
dec ecx
sub eax, 4
test ecx, ecx
mov dword [ebp - 0x28], ecx
jg 0x45d556
mov eax, dword [ebp - 0x18]
lea ebx, [ecx + ecx*2 + 5]
mov edx, eax
sub edx, esi
sar edx, 2
cmp edx, ebx
jg 0x45d5eb
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45d5b3
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 0x45e9ad
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x45d5cf
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 0x45e9b5
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 0x45d5ee
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 0x45d63b
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 0x45d61a
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 0x45e975
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.0x45ca6b.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 0x45d71a
sub edx, dword [ebp - 0xc]
sar edx, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], edx
mov eax, edx
jne 0x45d6e1
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 0x45e9ad
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 0x45d6fe
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 0x45e9b5
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 0x45d74e
mov eax, dword [ebp - 0x20]
lea eax, [eax + ebx*4]
cmp dword [eax], 0xffffffff
jne 0x45d74e
dec ebx
sub eax, ecx
test ebx, ebx
jg 0x45d742
sub edx, esi
lea eax, [ebx + ebx*2 + 5]
sar edx, 2
cmp edx, eax
jg 0x45d7d3
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45d79c
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 0x45e9ad
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 0x45d7b9
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 0x45e9b5
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 0x45d820
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 0x45d7ff
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 0x45d96e
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 0x45d873
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx + ebx*4]
cmp dword [ecx], 0xffffffff
jne 0x45d873
dec ebx
sub ecx, 4
test ebx, ebx
jg 0x45d866
mov ecx, dword [ebp - 0x18]
lea edx, [ebx + ebx*2 + 5]
sub ecx, esi
sar ecx, 2
cmp ecx, edx
jg 0x45d900
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45d8c4
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 0x45e9ad
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 0x45d8e1
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 0x45e9b5
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 0x45d903
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 0x45d953
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 0x45d92f
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 0x45c82b
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 0x45df23
mov eax, dword [ebp - 0x18]
dec ecx
sub eax, esi
mov dword [ebp - 0x28], ecx
and al, 0xfc
cmp eax, 8
jg 0x45da23
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45d9e9
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 0x45e9ad
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 0x45da06
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 0x45e9b5
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 0x45dda4
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 0x45c82b
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 0x45dbba
mov eax, dword [ebp - 0x14]
lea ebx, [eax - 1]
test ebx, ebx
jle 0x45dabb
mov eax, dword [ebp - 0x20]
lea eax, [eax + ebx*4]
cmp dword [eax], 0xffffffff
jne 0x45dabb
dec ebx
sub eax, 4
test ebx, ebx
jg 0x45daae
mov eax, dword [ebp - 0x18]
lea edx, [ebx + ebx*2 + 5]
mov ecx, eax
sub ecx, esi
sar ecx, 2
cmp ecx, edx
jg 0x45db3f
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45db0b
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 0x45e9ad
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 0x45db28
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 0x45e9b5
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 0x45db8f
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 0x45db6e
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.0x45ca6b.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 0x45dbfc
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 0x45dbe1
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 0x45dc2f
cmp esi, dword [ebp - 0xc]
jbe 0x45dc2f
mov edx, dword [ebp - 8]
cmp dword [esi - 0xc], edx
je 0x45c8f6
mov eax, dword [ebp - 0x14]
lea ebx, [eax - 1]
test ebx, ebx
jle 0x45dc4c
mov eax, dword [ebp - 0x20]
lea eax, [eax + ebx*4]
cmp dword [eax], 0xffffffff
jne 0x45dc4c
dec ebx
sub eax, 4
test ebx, ebx
jg 0x45dc3f
mov eax, dword [ebp - 0x18]
lea edx, [ebx + ebx*2 + 5]
sub eax, esi
sar eax, 2
cmp eax, edx
jg 0x45dcd4
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45dc9d
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 0x45e9ad
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 0x45dcba
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 0x45e9b5
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 0x45dd25
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 0x45dd01
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 0x45c82b
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 0x45df23
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 0x45ddae
mov eax, dword [sym.ruby187g.exc_re_mbctab]
jmp 0x45d4db
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 0x45dde7
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 0x45ddcf
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 0x45de19
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx + ebx*4]
cmp dword [ecx], 0xffffffff
jne 0x45de19
dec ebx
sub ecx, 4
test ebx, ebx
jg 0x45de0c
mov ecx, dword [ebp - 0x18]
lea edx, [ebx + ebx*2 + 5]
sub ecx, esi
sar ecx, 2
cmp ecx, edx
jg 0x45dea6
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
sar eax, 2
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x38], eax
jne 0x45de6a
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 0x45e9ad
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 0x45de87
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 0x45e9b5
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 0x45dea9
push 4
pop ecx
and dword [esi], 0
and dword [ebp - 0x1c], 0
add esi, ecx
cmp ebx, 1
jl 0x45def7
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 0x45ded3
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 0x45c82b
add edi, 4
jmp case.0x45ca6b.0
or dword [ebp - 0x30], 1
jmp case.0x45ca6b.0
and dword [ebp - 0x30], 0xfffffffe
jmp case.0x45ca6b.0
movzx ecx, byte [edi]
mov dword [ebp - 0x30], ecx
inc edi
jmp case.0x45ca6b.0
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jne 0x45dfa0
cmp ecx, dword [ebp - 0x10]
je 0x45c8f6
movzx ecx, byte [ecx]
mov dl, byte [ecx + 0x498c74]
cmp dl, 1
je case.0x45ca6b.27
cmp dword [0x498e44], 0
je 0x45df98
mov cl, byte [ecx + eax]
test cl, cl
je 0x45c8f6
mov edx, dword [ebp - 8]
movzx ecx, cl
lea ecx, [ecx + edx + 1]
cmp ecx, dword [ebp - 0x10]
jbe case.0x45ca6b.27
jmp 0x45c8f6
cmp dl, 2
jmp 0x45e6cd
cmp ecx, dword [ebp - 0x10]
mov edx, dword [0x498e44]
jne 0x45e0a6
cmp edx, 2
jne 0x45e05b
lea ebx, [ecx - 1]
cmp ebx, dword [ebp + 0xc]
je 0x45dfce
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45dfce
push 2
jmp 0x45dfd0
push 1
pop edx
sub ecx, edx
movzx ecx, byte [ecx]
cmp byte [ecx + 0x498c74], 1
je case.0x45ca6b.27
cmp ebx, dword [ebp + 0xc]
je 0x45dff9
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx - 2]
cmp byte [ecx + eax], 0
je 0x45dff9
push 2
jmp 0x45dffb
push 1
mov edx, dword [ebp - 8]
pop ecx
sub edx, ecx
movzx ecx, byte [edx]
cmp byte [ecx + eax], 0
je 0x45c8f6
cmp ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
je 0x45e027
movzx edx, byte [ecx - 2]
mov dword [ebp - 0x50], 2
cmp byte [edx + eax], 0
jne 0x45e02e
mov dword [ebp - 0x50], 1
cmp ebx, dword [ebp + 0xc]
je 0x45e041
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e041
push 2
jmp 0x45e043
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 0x45df8a
test edx, edx
je 0x45e06c
cmp byte [ecx - 1], 0x80
jae case.0x45ca6b.27
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx - 1]
mov dl, byte [ecx + 0x498c74]
cmp dl, 1
je case.0x45ca6b.27
cmp dword [0x498e44], 0
je 0x45e09e
mov cl, byte [ecx + eax]
test cl, cl
je 0x45c8f6
movzx ecx, cl
add ecx, dword [ebp - 8]
jmp 0x45df8a
cmp dl, 2
jmp 0x45d1cc
cmp edx, 2
jne 0x45e150
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
je 0x45e0c5
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e0c5
push 2
jmp 0x45e0c7
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
cmp byte [edx + 0x498c74], 1
je 0x45e194
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
je 0x45e0f2
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e0f2
push 2
jmp 0x45e0f4
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
cmp byte [edx + eax], 0
je 0x45e18e
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
je 0x45e11f
movzx ebx, byte [ecx - 2]
mov dword [ebp - 0x50], 2
cmp byte [ebx + eax], 0
jne 0x45e126
mov dword [ebp - 0x50], 1
cmp edx, dword [ebp + 0xc]
je 0x45e139
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e139
push 2
jmp 0x45e13b
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 0x45e181
test edx, edx
je 0x45e15a
cmp byte [ecx - 1], 0x80
jae 0x45e194
movzx edx, byte [ecx - 1]
mov bl, byte [edx + 0x498c74]
cmp bl, 1
mov byte [ebp - 1], bl
je 0x45e194
cmp dword [0x498e44], 0
je 0x45e188
mov dl, byte [edx + eax]
test dl, dl
je 0x45e18e
movzx edx, dl
add edx, ecx
cmp edx, dword [ebp - 0x10]
jbe 0x45e194
jmp 0x45e18e
cmp byte [ebp - 1], 2
je 0x45e194
and dword [ebp - 0x38], 0
jmp 0x45e19b
mov dword [ebp - 0x38], 1
movzx edx, byte [ecx]
mov bl, byte [edx + 0x498c74]
cmp bl, 1
je 0x45e1d0
cmp dword [0x498e44], 0
je 0x45e1c7
mov dl, byte [edx + eax]
test dl, dl
je 0x45e1cc
movzx edx, dl
lea ecx, [edx + ecx + 1]
cmp ecx, dword [ebp - 0x10]
jbe 0x45e1d0
jmp 0x45e1cc
cmp bl, 2
je 0x45e1d0
xor ecx, ecx
jmp 0x45e1d3
push 1
pop ecx
cmp dword [ebp - 0x38], ecx
jmp 0x45e218
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jne 0x45e223
movzx ecx, byte [ecx]
mov dl, byte [ecx + 0x498c74]
cmp dl, 1
je 0x45c8f6
cmp dword [0x498e44], 0
je 0x45e215
mov cl, byte [ecx + eax]
test cl, cl
je case.0x45ca6b.27
mov edx, dword [ebp - 8]
movzx ecx, cl
lea ecx, [ecx + edx + 1]
jmp 0x45e51b
cmp dl, 2
jne case.0x45ca6b.27
jmp 0x45c8f6
cmp ecx, dword [ebp - 0x10]
mov edx, dword [0x498e44]
jne 0x45e2e7
cmp edx, 2
jne 0x45e2da
lea ebx, [ecx - 1]
cmp ebx, dword [ebp + 0xc]
je 0x45e251
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e251
push 2
jmp 0x45e253
push 1
pop edx
sub ecx, edx
movzx ecx, byte [ecx]
cmp byte [ecx + 0x498c74], 1
je 0x45c8f6
cmp ebx, dword [ebp + 0xc]
je 0x45e27c
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx - 2]
cmp byte [ecx + eax], 0
je 0x45e27c
push 2
jmp 0x45e27e
push 1
mov edx, dword [ebp - 8]
pop ecx
sub edx, ecx
movzx ecx, byte [edx]
cmp byte [ecx + eax], 0
je case.0x45ca6b.27
cmp ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
je 0x45e2aa
movzx edx, byte [ecx - 2]
mov dword [ebp - 0x50], 2
cmp byte [edx + eax], 0
jne 0x45e2b1
mov dword [ebp - 0x50], 1
cmp ebx, dword [ebp + 0xc]
je 0x45e2c4
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e2c4
push 2
jmp 0x45e2c6
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 0x45e517
test edx, edx
je 0x45e53d
jmp 0x45e530
cmp edx, 2
jne 0x45e391
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
je 0x45e306
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e306
push 2
jmp 0x45e308
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
cmp byte [edx + 0x498c74], 1
je 0x45e3d5
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
je 0x45e333
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e333
push 2
jmp 0x45e335
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
cmp byte [edx + eax], 0
je 0x45e3cf
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
je 0x45e360
movzx ebx, byte [ecx - 2]
mov dword [ebp - 0x50], 2
cmp byte [ebx + eax], 0
jne 0x45e367
mov dword [ebp - 0x50], 1
cmp edx, dword [ebp + 0xc]
je 0x45e37a
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e37a
push 2
jmp 0x45e37c
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 0x45e3c2
test edx, edx
je 0x45e39b
cmp byte [ecx - 1], 0x80
jae 0x45e3d5
movzx edx, byte [ecx - 1]
mov bl, byte [edx + 0x498c74]
cmp bl, 1
mov byte [ebp - 1], bl
je 0x45e3d5
cmp dword [0x498e44], 0
je 0x45e3c9
mov dl, byte [edx + eax]
test dl, dl
je 0x45e3cf
movzx edx, dl
add edx, ecx
cmp edx, dword [ebp - 0x10]
jbe 0x45e3d5
jmp 0x45e3cf
cmp byte [ebp - 1], 2
je 0x45e3d5
and dword [ebp - 0x38], 0
jmp 0x45e3dc
mov dword [ebp - 0x38], 1
movzx edx, byte [ecx]
mov bl, byte [edx + 0x498c74]
cmp bl, 1
je 0x45e411
cmp dword [0x498e44], 0
je 0x45e408
mov dl, byte [edx + eax]
test dl, dl
je 0x45e40d
movzx edx, dl
lea ecx, [edx + ecx + 1]
cmp ecx, dword [ebp - 0x10]
jbe 0x45e411
jmp 0x45e40d
cmp bl, 2
je 0x45e411
xor ecx, ecx
jmp 0x45e414
push 1
pop ecx
cmp dword [ebp - 0x38], ecx
jmp 0x45e6cd
mov edx, dword [ebp - 8]
movzx ecx, byte [edx]
mov bl, byte [ecx + 0x498c74]
cmp bl, 1
je 0x45e45e
cmp dword [0x498e44], 0
je 0x45e452
mov cl, byte [ecx + eax]
test cl, cl
je 0x45c8f6
movzx ecx, cl
lea ecx, [ecx + edx + 1]
cmp ecx, dword [ebp - 0x10]
jbe 0x45e45e
jmp 0x45c8f6
cmp bl, 2
jne 0x45c8f6
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
je case.0x45ca6b.27
mov ecx, dword [0x498e44]
push 2
pop edx
cmp ecx, edx
jne 0x45e529
mov ecx, dword [ebp - 8]
lea ebx, [ecx - 1]
cmp ebx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ebx
je 0x45e493
movzx ebx, byte [ecx - 2]
cmp byte [ebx + eax], 0
mov ebx, dword [ebp - 0x38]
jne 0x45e496
push 1
pop edx
sub ecx, edx
movzx ecx, byte [ecx]
cmp byte [ecx + 0x498c74], 1
je 0x45c8f6
cmp ebx, dword [ebp + 0xc]
je 0x45e4be
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx - 2]
cmp byte [ecx + eax], 0
je 0x45e4be
push 2
jmp 0x45e4c0
push 1
mov edx, dword [ebp - 8]
pop ecx
sub edx, ecx
movzx ecx, byte [edx]
cmp byte [ecx + eax], 0
je case.0x45ca6b.27
cmp ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
je 0x45e4ec
movzx edx, byte [ecx - 2]
mov dword [ebp - 0x50], 2
cmp byte [edx + eax], 0
jne 0x45e4f3
mov dword [ebp - 0x50], 1
cmp ebx, dword [ebp + 0xc]
je 0x45e506
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e506
push 2
jmp 0x45e508
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 0x45c8f6
jmp case.0x45ca6b.27
test ecx, ecx
je 0x45e53a
mov ecx, dword [ebp - 8]
cmp byte [ecx - 1], 0x80
jae 0x45c8f6
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx - 1]
mov dl, byte [ecx + 0x498c74]
cmp dl, 1
je 0x45c8f6
cmp dword [0x498e44], 0
je 0x45e56c
mov cl, byte [ecx + eax]
test cl, cl
je case.0x45ca6b.27
movzx ecx, cl
add ecx, dword [ebp - 8]
jmp 0x45e51b
cmp dl, 2
je 0x45c8f6
jmp case.0x45ca6b.27
mov ecx, dword [ebp + 0xc]
cmp dword [ebp - 8], ecx
je 0x45c8f6
mov ecx, dword [0x498e44]
cmp ecx, 2
jne 0x45e63a
mov ecx, dword [ebp - 8]
lea edx, [ecx - 1]
cmp edx, dword [ebp + 0xc]
mov dword [ebp - 0x38], edx
je 0x45e5b1
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e5b1
push 2
jmp 0x45e5b3
push 1
pop edx
mov ebx, ecx
sub ebx, edx
movzx edx, byte [ebx]
cmp byte [edx + 0x498c74], 1
je 0x45e688
mov ebx, dword [ebp - 0x38]
cmp ebx, dword [ebp + 0xc]
je 0x45e5de
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e5de
push 2
jmp 0x45e5e0
push 1
pop edx
sub ecx, edx
movzx ecx, byte [ecx]
cmp byte [ecx + eax], 0
je 0x45c8f6
cmp ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
je 0x45e609
movzx edx, byte [ecx - 2]
mov dword [ebp - 0x50], 2
cmp byte [edx + eax], 0
jne 0x45e610
mov dword [ebp - 0x50], 1
cmp ebx, dword [ebp + 0xc]
je 0x45e623
movzx edx, byte [ecx - 2]
cmp byte [edx + eax], 0
je 0x45e623
push 2
jmp 0x45e625
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 0x45e672
test ecx, ecx
mov ecx, dword [ebp - 8]
je 0x45e647
cmp byte [ecx - 1], 0x80
jae 0x45e688
movzx edx, byte [ecx - 1]
mov bl, byte [edx + 0x498c74]
cmp bl, 1
je 0x45e688
cmp dword [0x498e44], 0
je 0x45e67c
mov dl, byte [edx + eax]
test dl, dl
je 0x45c8f6
mov ecx, dword [ebp - 8]
movzx edx, dl
add edx, ecx
cmp edx, dword [ebp - 0x10]
jbe 0x45e688
jmp 0x45c8f6
cmp bl, 2
jne 0x45c8f6
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov bl, byte [edx + 0x498c74]
cmp bl, 1
je 0x45e6ca
cmp dword [0x498e44], 0
je 0x45e6be
mov dl, byte [edx + eax]
test dl, dl
je case.0x45ca6b.27
mov ecx, dword [ebp - 8]
movzx edx, dl
lea edx, [edx + ecx + 1]
cmp edx, dword [ebp - 0x10]
jbe 0x45e6ca
jmp case.0x45ca6b.27
cmp bl, 2
jne case.0x45ca6b.27
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
jne 0x45c8f6
jmp case.0x45ca6b.27
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45c8f6
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx]
mov dl, byte [ecx + 0x498c74]
cmp dl, 1
je 0x45e726
cmp dword [0x498e44], 0
je 0x45e71d
mov dl, byte [ecx + eax]
test dl, dl
je 0x45c8f6
mov ebx, dword [ebp - 8]
movzx edx, dl
lea edx, [edx + ebx + 1]
cmp edx, dword [ebp - 0x10]
jbe 0x45e726
jmp 0x45c8f6
cmp dl, 2
jne 0x45c8f6
mov cl, byte [ecx + eax]
test cl, cl
je 0x45e73d
mov edx, dword [ebp - 8]
movzx ecx, cl
add ecx, edx
cmp ecx, dword [ebp - 0x10]
jae 0x45e73d
mov dword [ebp - 8], ecx
inc dword [ebp - 8]
cmp dword [ebp - 0x14], 0
jbe case.0x45ca6b.27
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx]
test al, 1
je 0x45e75a
or al, 2
jmp 0x45e75c
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45e750
jmp 0x45e975
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45c8f6
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx]
mov dl, byte [ecx + 0x498c74]
cmp dl, 1
je 0x45c8f6
cmp dword [0x498e44], 0
je 0x45e7af
mov dl, byte [ecx + eax]
test dl, dl
je 0x45e7b8
mov ebx, dword [ebp - 8]
movzx edx, dl
lea edx, [edx + ebx + 1]
cmp edx, dword [ebp - 0x10]
jbe 0x45c8f6
jmp 0x45e7b8
cmp dl, 2
je 0x45c8f6
mov cl, byte [ecx + eax]
test cl, cl
je 0x45e7cf
mov edx, dword [ebp - 8]
movzx ecx, cl
add ecx, edx
cmp ecx, dword [ebp - 0x10]
jae 0x45e7cf
mov dword [ebp - 8], ecx
inc dword [ebp - 8]
cmp dword [ebp - 0x14], 0
jbe case.0x45ca6b.27
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx]
test al, 1
je 0x45e7ec
or al, 2
jmp 0x45e7ee
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45e7e2
jmp 0x45e975
movzx ecx, byte [edi]
inc edi
mov dword [ebp - 0x28], ecx
test byte [ebp - 0x30], 1
je 0x45e8d2
cmp dword [0x498e40], 0
je 0x45e8d2
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45c8f6
mov cl, byte [edi]
cmp cl, 0xff
mov byte [ebp - 1], cl
jne 0x45e854
inc edi
dec dword [ebp - 0x28]
je 0x45c8f6
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45c8f6
mov ecx, dword [ebp - 8]
mov dl, byte [edi]
inc edi
inc dword [ebp - 8]
mov cl, byte [ecx]
cmp cl, dl
jmp 0x45e8be
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 0x45e8ad
inc edi
cmp cl, byte [ebp - 1]
jne 0x45c8f6
movzx ecx, bl
test ecx, ecx
mov dword [ebp - 0x38], ecx
jle 0x45e8c4
dec dword [ebp - 0x28]
je 0x45c8f6
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45c8f6
mov ecx, dword [ebp - 8]
mov dl, byte [edi]
inc edi
inc dword [ebp - 8]
mov cl, byte [ecx]
cmp cl, dl
jne 0x45c8f6
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0
jg 0x45e87a
jmp 0x45e8c4
movzx ebx, byte [ebp - 1]
mov ecx, dword [0x498e40]
inc edi
mov bl, byte [ebx + ecx]
cmp byte [edx + ecx], bl
jne 0x45c8f6
dec dword [ebp - 0x28]
je 0x45e957
jmp 0x45e819
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
je 0x45c8f6
cmp byte [edi], 0xff
jne 0x45e8e7
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 0x45c8f6
dec dword [ebp - 0x28]
je 0x45e957
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
jne 0x45e8de
jmp 0x45c8f6
cmp byte [ecx], 0xa
jmp 0x45ca53
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 0x45e94f
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 0x45e934
mov eax, dword [sym.ruby187g.exc_re_mbctab]
mov dword [ebp - 0x1c], edi
jmp 0x45c8f6
mov edx, dword [ebp - 0x14]
test edx, edx
jbe case.0x45ca6b.27
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
test al, 1
je 0x45e96b
or al, 2
jmp 0x45e96d
and al, 0xfd
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x45e961
mov eax, dword [sym.ruby187g.exc_re_mbctab]
cmp dword [sym.ruby187g.exc_rb_prohibit_interrupt], 0
jne case.0x45ca6b.0
cmp dword [sym.ruby187g.exc_rb_trap_pending], 0
je case.0x45ca6b.0
call sym.ruby187g.exc_rb_trap_exec
jmp 0x45c82b
cmp dword [ebp - 0xc], eax
je 0x45e9ad
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 0xfffffffffffffffe
pop eax
jmp 0x45ea8c
cmp dword [ebp - 0xc], 0
jmp 0x45e9a1
cmp dword [ebp - 0x40], 0
je 0x45ea79
mov edx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
mov eax, dword [edx]
mov dword [ebp - 8], eax
jbe 0x45e9f4
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 0x45e9e3
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x45ea5e
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 0x45ea5e
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 0x45ea3e
mov edx, dword [eax + 8]
or dword [edx + ecx], 0xffffffff
mov edx, dword [eax + 0xc]
or dword [edx + ecx], 0xffffffff
jmp 0x45ea58
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 0x45ea1f
cmp dword [ebp - 0xc], 0
je 0x45ea6e
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 0x45ea8c
cmp dword [ebp - 0xc], 0
je 0x45ea89
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret